BizTalk Server General - Scripting Functoid

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > March 2004 > Scripting Functoid





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Scripting Functoid
Gavin

2004-03-25, 4:59 pm

I wrote a small scripting functoid that uses the following simple
object creation and call.

Set obj = CreateObject("COMTx.DocumentNumber")
GetDocNumber = obj.GetNextNumber("K", "EDI")

This works fine when tested in the mapper on the server but when its
run on the server as part of a file receive function the mapping fails
and the document isnt translated. The user id that the file receive
function uses is the same as I use to test the map and the object is
correctly registered on the server.

Any ideas??

Thanks
CMarsh

2004-03-25, 8:44 pm

Try a simple VBScript file on the server (outside of biztalk)
Popup the results to a message box.

If that works, then probably the credentials of the BizTalk Messaging
Service in SCM are not good.

I have found that it code in the COM Component that requires authentication
is the culprit.



"Gavin" <gavin.eyre@rsl.com> wrote in message
news:661be5d2.0403251306.4fe8ce8d@posting.google.com...
> I wrote a small scripting functoid that uses the following simple
> object creation and call.
>
> Set obj = CreateObject("COMTx.DocumentNumber")
> GetDocNumber = obj.GetNextNumber("K", "EDI")
>
> This works fine when tested in the mapper on the server but when its
> run on the server as part of a file receive function the mapping fails
> and the document isnt translated. The user id that the file receive
> function uses is the same as I use to test the map and the object is
> correctly registered on the server.
>
> Any ideas??
>
> Thanks



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com