|
 |
aspx thread: ASP.Net with COM Interop
Message #1 by "Li Wu" <liwu@w...> on Fri, 14 Mar 2003 10:07:41 -0500
|
|
Hi,
I have a problem with COM Interop in my asp.net app. When the asp.net code
try to access the COM server, the call fails with "Cannot create ActiveX
component" or"Access is Denied" error. The same call from the WindowForm
in .net and the asp file works just fine on the same machine. I have given
the ASPNET and everyone user account the full controls to that COM server
machine. Any ideas?
I really appreciate your help. Thanks in advance!
Li
Message #2 by "Dipak Jha" <dipak.jha@p...> on Fri, 14 Mar 2003 20:44:56 +0530
|
|
Hi,
Add the following to your web.config file:
<authentication mode="None" />
<identity impersonate="true" />
Dipak Jha
----- Original Message -----
From: "Li Wu" <liwu@w...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, March 14, 2003 8:37 PM
Subject: [aspx] ASP.Net with COM Interop
> Hi,
>
> I have a problem with COM Interop in my asp.net app. When the asp.net code
try to access the COM server, the call fails with "Cannot create ActiveX
component" or"Access is Denied" error. The same call from the WindowForm in
.net and the asp file works just fine on the same machine. I have given the
ASPNET and everyone user account the full controls to that COM server
machine. Any ideas?
>
> I really appreciate your help. Thanks in advance!
> Li
>
>
>
Message #3 by "Li Wu" <liwu@w...> on Mon, 17 Mar 2003 09:11:45 -0500
|
|
Thanks Dipak,
It works after I added <identity impersonate=3D"true" /> into the
web.config file.
Regards,
Li
Subject: Re: ASP.Net with COM Interop
From: "Dipak Jha" <dipak.jha@p...>
Date: Fri, 14 Mar 2003 20:44:56 +0530
X-Message-Number: 15
Hi,
Add the following to your web.config file:
<authentication mode=3D"None" />
<identity impersonate=3D"true" />
Dipak Jha
----- Original Message -----
From: "Li Wu" <liwu@w...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, March 14, 2003 8:37 PM
Subject: [aspx] ASP.Net with COM Interop
> Hi,
>
> I have a problem with COM Interop in my asp.net app. When the asp.net
code
try to access the COM server, the call fails with "Cannot create ActiveX
component" or"Access is Denied" error. The same call from the WindowForm
in
.net and the asp file works just fine on the same machine. I have given
the
ASPNET and everyone user account the full controls to that COM server
machine. Any ideas?
>
> I really appreciate your help. Thanks in advance!
> Li
|
|
 |