Hi Sakke,
From you description, I understand that you have a COM DLL(have you
registered it into COM+?), you will use it in a ASP.NET application. It
works in both C++ and C# on Windows XP, but on Windows 2003, it works in
C++ but not in C# application.
If I misunderstood, please feel free to let me know.
Here I assume that the C++ program are an Windows(Console) Application.
Because Windows XP will run IIS 5.1 while Windows 2003 run IIS 6.0 which
will affect the ASP.NET application's behavior.
As Dave said, I think you may try to isolate the problem by calling the COM
from a C# windows application with the same code to see if that works.
If yes, to some extent we can make sure the different IIS behavior caused
the problem.
Please take a look at the link below to run the application under certain
account(we can test with a powerful account)
306158 How to implement impersonation in an ASP.NET application
http://support.microsoft.com/default...b;EN-US;306158
You may have a try and let me know the result.
If you still have any concern, please feel free to let me know.
I look forward to hearing from you.
Best regards,
Peter Huang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.