G
Guest
Hi All,
I have an ASP.Net 1.1 application which loads an Assembly using
Assembly.LoadFrom. This is an intranet application which uses impersonation.
When the app tries to load an assembly using LoadFrom my users are getting a
System.IO.FileLoadException: Access is denied, naming the dll which we are
trying to load.
If I run the application as a user who is a local adminisrator on the
Webserver the file loads and is reflected fine. Moreover once the file has
been loaded once any of the other users (who are not admins) can execute the
code fine.
I have checked and even amended the ACL on the folder which contains the
file to provide Full Control to Everybody, but this does not solve the
problem. The Assembly being loaded is located below the WebApp /Bin folder.
Although I have tested it located outside the app base folder which the same
results.
I am not getting any failiures in the Security Event Log on the web server,
nor do I get any failiures when watching the files with FileMon
(SysInternals), when the user gets the error.
Any ideas would be gratefully appreciated.
Thanks
Justin
I have an ASP.Net 1.1 application which loads an Assembly using
Assembly.LoadFrom. This is an intranet application which uses impersonation.
When the app tries to load an assembly using LoadFrom my users are getting a
System.IO.FileLoadException: Access is denied, naming the dll which we are
trying to load.
If I run the application as a user who is a local adminisrator on the
Webserver the file loads and is reflected fine. Moreover once the file has
been loaded once any of the other users (who are not admins) can execute the
code fine.
I have checked and even amended the ACL on the folder which contains the
file to provide Full Control to Everybody, but this does not solve the
problem. The Assembly being loaded is located below the WebApp /Bin folder.
Although I have tested it located outside the app base folder which the same
results.
I am not getting any failiures in the Security Event Log on the web server,
nor do I get any failiures when watching the files with FileMon
(SysInternals), when the user gets the error.
Any ideas would be gratefully appreciated.
Thanks
Justin