T
Ted
I have been able to use a 3rd Party ActiveX object in a ASP.NET (using
ASPCOMPAT=TRUE and impersonation), .NET C# Windows (form) application and
..NET console application, but the virtually same code doesn't work as a Web
Service.
But we would desperately like to use a Web Service because:
- this ties to a DHTML client and we can avoid to avoid unnecessary post
back and return with ASP.NET on_click
- we don't want to write a .NET Remoting server
So far, we have done this to see if we could solve the problem:
1. At first I thought this was due to privileges, so I set my web.config to
include: <identity impersonate="true" userName="administrator"
password="password" />. This didn't work.
2. So then, I tried making the calling thread be STA - as per MSDN Support's
"PRB: "Access Denied" Error Message Occurs When You Impersonate an Account
in ASP.NET and Then Call STA COM Components", Article ID:325791. Still no
luck.
Any suggestions from the experts? I can provide code snippets if necessary.
We need to solve this before our product release -- due in February. Thanks
in advance for any help.
Ted
ASPCOMPAT=TRUE and impersonation), .NET C# Windows (form) application and
..NET console application, but the virtually same code doesn't work as a Web
Service.
But we would desperately like to use a Web Service because:
- this ties to a DHTML client and we can avoid to avoid unnecessary post
back and return with ASP.NET on_click
- we don't want to write a .NET Remoting server
So far, we have done this to see if we could solve the problem:
1. At first I thought this was due to privileges, so I set my web.config to
include: <identity impersonate="true" userName="administrator"
password="password" />. This didn't work.
2. So then, I tried making the calling thread be STA - as per MSDN Support's
"PRB: "Access Denied" Error Message Occurs When You Impersonate an Account
in ASP.NET and Then Call STA COM Components", Article ID:325791. Still no
luck.
Any suggestions from the experts? I can provide code snippets if necessary.
We need to solve this before our product release -- due in February. Thanks
in advance for any help.
Ted