Access Denied on dynamically loaded assembly
From: Paul Lyons (paul@the-lyons.removethis.com)
Date: 01/30/03
- Next message: Andy Mortimer [MS]: "RE: Web.config"
- Previous message: Geir Ovsttun: ""Requested Registry Access Is Not Allowed" Error Message When ASP.NET Applicatio"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Paul Lyons" <paul@the-lyons.removethis.com> Date: Thu, 30 Jan 2003 05:10:33 -0800
Hi,
I've just deployed my site to our UAT area for the first
time & I've come across a problem...
I have three files in the MySite\bin directory:
MySite.dll --> contains my Index page
Loader.dll --> manages loading page objects
Objects.dll --> contains the page objects to load
The Loader.dll has classes within it that use
Assembly.LoadFrom();
to dynamically load classes from the assembly in
Objects.dll. The MySite & Loader components seem to
execute OK, but the error seems to occur when executing
the LoadFrom() method. The text being:
FileLoadException: Access is Denied 'Objects.dll'
This all works fine in the development environment where
I'm Administrator all over the place. But now I'm not
sure what permissions are required..
I've given read/execute permissions to 'IUSR_xxxx'
and 'ASPNET' users in the bin directory.
Does anyone know what is required to get this working?
Thanks in advance
Paul
- Next message: Andy Mortimer [MS]: "RE: Web.config"
- Previous message: Geir Ovsttun: ""Requested Registry Access Is Not Allowed" Error Message When ASP.NET Applicatio"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|