3rd Party ActiveX Object not working
From: Ted (ted.singh_at_embeddedautomation.com)
Date: 02/02/05
- Next message: Christoph Schittko [MVP]: "Re: WebClient Not posting to Client"
- Previous message: Ben Ong: "LOGON API and persistent cookies (Windows and Form authentication)"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Feb 2005 16:13:30 -0800
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
- Next message: Christoph Schittko [MVP]: "Re: WebClient Not posting to Client"
- Previous message: Ben Ong: "LOGON API and persistent cookies (Windows and Form authentication)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|