Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.webservices
Re: COM instantiation hangs in web method
Teemu Keiski
5/30/2004 4:31:00 PM
Do you get any specific error message?
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice....
"Amyn" <anonymous@discussions.microsoft.com> wrote in message
news:ACDFDA54-4B70-42CA-8B9D-E34ADA310549@microsoft.com...
> I have a web service running on localhost. In this web method I am
instantiating a COM object as follows:
>
> dim obj as New MyCOMObject 'The dll for the COM object is registered on
localhost (using regsvr32) and is in C:\ root
>
> When I test this web service from a VB script client (which prepares a
SOAP request using MSXML XMLHTTP object), all works fine and I get a result
(SOAP request returns successfully with the expected result value, an order
number)
> But when I call this web service in a web form client, it hangs. So, I
debugged the web service, I step through it and see that the call hangs at
above line where it tries to create an instance of COM object.
> I thought its a security issue, I tried with impersonation in web.config
as follows:
>
> <identity impersonate="true" userName="domain\myUser" password="****"/>
> "myUser" is in admin group on localhost
>
> Still does not work.
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: COM instantiation hangs in web method
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password