Ask a Question related to ASP.NET Web Services, Design and Development.
-
Amyn #1
COM instantiation hangs in web method
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:\ roo
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 localhos
Still does not work
Amyn Guest
-
WebService class instantiation
I have a question regarding WebService class instantiation through ActionScript for Flex. Everywhere I have seen the WebService class... -
com instantiation
:confused; Using CFMX 6.1 and have been tasked with calling a 3rd party com object. So far only getting instantiation error when using cfobject. ... -
CF hangs when database server hangs or crashes
This may be as simple as a configuration change, but hoping someone understands this behavior and can offer suggestions (or at least additional... -
Class Instantiation in PHP5
I need to do something like the following with php5.0.1 and it's not working no matter what I try... Any suggestions? class foo extends blah{... -
Instantiation
Here's a general question. When should I instantiate, and when should I not? Is an instantiated object necessarily a controller? Should I even... -
Teemu Keiski #2
Re: COM instantiation hangs in web method
Do you get any specific error message?
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
[url]http://blogs.aspadvice.com/joteke[/url]
"Amyn" <anonymous@discussions.microsoft.com> wrote in message
news:ACDFDA54-4B70-42CA-8B9D-E34ADA310549@microsoft.com...instantiating a COM object as follows:> I have a web service running on localhost. In this web method I amlocalhost (using regsvr32) and is in C:\ root>
> dim obj as New MyCOMObject 'The dll for the COM object is registered onSOAP request using MSXML XMLHTTP object), all works fine and I get a result>
> When I test this web service from a VB script client (which prepares a
(SOAP request returns successfully with the expected result value, an order
number)debugged the web service, I step through it and see that the call hangs at> But when I call this web service in a web form client, it hangs. So, I
above line where it tries to create an instance of COM object.as follows:> I thought its a security issue, I tried with impersonation in web.config>
> <identity impersonate="true" userName="domain\myUser" password="****"/>
> "myUser" is in admin group on localhost
>
> Still does not work.
>
Teemu Keiski Guest
-
Amyn #3
Re: COM instantiation hangs in web method
No, I see that debugger hangs at the line where COM object is instantiated
Amyn Guest



Reply With Quote

