Re: Access is Denied Error
The problem is that you have to configure the folder security on the IIS box to allow ASPNET user account access to that folder/DLL. Otherwise, it will get that access denied error.
IIS doesn't run under the logged in user account, so that would be why it works if you build and run it thru Visual Studio (if you tried that). VS.NET runs stuff under your user account.
Re: Access is Denied Error
What sort of a DLL is it? Is it a COM DLL or a .NET DLL? If it's a COM DLL, go into regsvr32, look in HKEY_CLASSES_ROOT for your DLL and give the ASP.NET worker process permissions on that key.
Re: Access is Denied Error
I tried everything and it is still not working.
Anyone have any ideas? I am really at a loss I have been spending so much time trying to figure this out without any luck.
Thanks.
Re: Access is Denied Error
So did you try what I said? Are you saying it's a COM DLL?
Re: Access is Denied Error
It is a COM+ component. I checked the registry and it did have proper permissions.
Re: Access is Denied Error
Very well, try giving permissions to IUSR_<machinename> and IWAM_<machinename> as well, using the same method.