Access Denied on dynamically loaded assembly

From: Paul Lyons (paul@the-lyons.removethis.com)
Date: 01/30/03


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
  



Relevant Pages

  • Re: Cant Execute Scripts
    ... >> I can not run scripts without pathing them out even though the execute ... > You can add your bin directory to the path by adding the following to ... I renamed the test script from test and everything works now. ...
    (alt.os.linux.suse)
  • Re: PATH=$PATH please help I think it is not difficult
    ... > I want the user to create a BIN directory and execute the scrips they ... > make without typing Bash before the Scriptfile ...
    (alt.os.linux)
  • Re: Shell Script Confusion
    ... >> I must be confused about how shell scripts can execute. ... >> Now I go to the shell and go to my bin directory and ... >> will the user account execute the script but not the root ...
    (comp.os.linux.misc)