We have a "legacy" COM DLL (written in VC++) that is invoked from a Web service written in C#.
When run on a Windows 2003 Server machine under w3wp.exe, invoking a specific method results in an exception. I get a Stack Overflow error when I attach to w3wp.exe and debug the call. The strange this is, if I take the exact same C# code and place it in a console app, the invocation works fine. Similarly, if I execute the same web service+COM DLL on a windows XP box with aspnet_wp.exe, it works fine also. What would cause this difference in behavior under w3wp.exe? FYI, I tried to debug the COM DLL by running "wpw3.exe -debug", but the process terminates right after strart-up.
Thanks,
Leor
When run on a Windows 2003 Server machine under w3wp.exe, invoking a specific method results in an exception. I get a Stack Overflow error when I attach to w3wp.exe and debug the call. The strange this is, if I take the exact same C# code and place it in a console app, the invocation works fine. Similarly, if I execute the same web service+COM DLL on a windows XP box with aspnet_wp.exe, it works fine also. What would cause this difference in behavior under w3wp.exe? FYI, I tried to debug the COM DLL by running "wpw3.exe -debug", but the process terminates right after strart-up.
Thanks,
Leor