Ask a Question related to ASP.NET Security, Design and Development.
-
Rudy Meijer #1
Access denied when calling COM component.
Hello,
I try to convert a VB6 application to an ASP Web
application. This application uses a COM component to
access data on a remote server.
When I call a methode of this COM object I get the
message: "Access denied, The ASP.NET application is not
authorized to access the requested resource".
Below you see the code fragment and the line where the
error occurs.
AMOpenVault oVault = new AMOpenVaultClass();
AmVaultLink vl = oVault.SelectedVault;
vl.MachineName = "myServer";
vl.VaultName = "myTestDatabase";
-> vl.CreateVault(AsyncErrorSink);
When I paste above code in a Console application it works
perfect!
This is what i have done.
1) Create new ASP project .
2) Add project reference to the desired COM
(Interop.AMVaultLib)
3) Calling a methode (CreateVault)
Giving the ASPNET account administator privileges does not
solve the problem.
Aditional info: W2000 SP2, Framework 1.0, IIS 5.0
My question is: Which resource is ment?
Thanks in advance.
Rudy Meijer Guest
-
Access denied while calling COM+ component from web wervice
Hello, I am trying to provide a web service layer on top of legacy VB 6.0 COM+ component. I will be calling my web service from ASP.NET pages... -
Web Service + Anon Access, but getting 401 Access Denied Error
I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous... -
"Access is Denied" error when calling wshShell from ASP
I've got a script in an ASP page that is supposed to extract certain files from a zip file, move them, create a new zip with the moved files and... -
Access denied when creating Access application object
In an ASP file I am running the following in VBScript in order to extract data from an Access 2002 MDB file which is physically located in the... -
access denied on data access pages
I have created data access pages that worked well when I tried them on two separate computer simutaneously, but when we went into production we got...



Reply With Quote

