| Sudhir Darbha 2006-03-25, 11:37 am |
| Don,
I ran into the same problem yesterday while invoking submitdirect from a
webservice. But i didn't the same error though, mine got hung up until the
request timed out. Did you look into the event log, coz that might give u
some clues?
In my case I couldn't figure out what the heck was the problem, so I just
gave up (temporarily) and did a temporary fix of invoking the
SubmitDirect.exe process from my webservice and reading back the response. I
think the ASPNET user needs to be a member of BizTalk Isolated Host Users
group, but that didn't work for me though. I tried impersonation too. Nothing
seems to be working for me here.
HTH
Sudhir.
PS: Don't laugh at my fix:-)
"Don Rixtown" wrote:
> I'm trying to use SubmitDirect from within a web service.
>
> I am able to call SubmitDirect successfully with a stand alone EXE, but when
> I execute the same code from within a web service I get this not so helpful
> error:
>
> System.Runtime.InteropServices.COMException: Exception from HRESULT:
> 0xC0C01666.
> at
> Microsoft.BizTalk.TransportProxy.Interop.IBTTransportProxy.RegisterIsolatedReceiver(String
> url, IBTTransportConfig callBack)
> at
> Microsoft.Samples.BizTalk.Adapters.TransportProxyUtils.BizTalkMessaging.InternalInitialize(IBTTransportProxy
> tp, String url, IBTTransportConfig callBack) in C:\Program Files\Microsoft
> BizTalk Server
> 2004\SDK\Samples\Adapters\SubmitDirect\T
ransportProxyUtils\MessagingAPIs.cs:line
> 213
> at
> Microsoft.Samples.BizTalk.Adapters.TransportProxyUtils.BizTalkMessaging.CreateMessageFromString(String
> url, String data) in C:\Program Files\Microsoft BizTalk Server
> 2004\SDK\Samples\Adapters\SubmitDirect\T
ransportProxyUtils\MessagingAPIs.cs:line
> 437
>
>
> Any ideas? I've searched google and found a couple references to making sure
> your assemblies are signed, but it works fine when I call the code in a
> stand alone application, so I don't think that's the problem.
>
> Also, the BizTalk databases are deployed to a different server than the
> server running BizTalk and IIS.
>
> Thanks,
> Don
>
>
>
|