Problem with Assembly.LoadFrom with web app, not unit test console type app.

Discussion in 'ASP .Net' started by pkellner, Apr 27, 2007.

  1. pkellner

    pkellner Guest

    I have code like:

    a = Assembly.LoadFrom("Mono.Security.dll");

    that is part of a class library I'm using from Novell. When I run
    this code in my unit test, a returns a reference. When I run it in my
    asp.net 2.0 web app, a returns null. The app is of course running
    full trust. I don't get why. Im using cassini so I'm thinking it
    should be running as me with no issues.

    Any ideas? thanks

    Peter Kellner
    http://peterkellner.net
    MVP, ASP.NET
     
    pkellner, Apr 27, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wolf
    Replies:
    4
    Views:
    7,901
    dcushnie
    Sep 11, 2006
  2. Timothy Parez

    Assembly.LoadFrom() & GAC

    Timothy Parez, Feb 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,663
    Timothy Parez
    Feb 22, 2004
  3. posthumecaver
    Replies:
    0
    Views:
    343
    posthumecaver
    Aug 22, 2003
  4. Oenone
    Replies:
    0
    Views:
    548
    Oenone
    Jul 11, 2005
  5. surya

    Problem using Assembly.LoadFrom within a web service

    surya, Jan 19, 2004, in forum: ASP .Net Web Services
    Replies:
    7
    Views:
    383
    surya
    Jan 19, 2004
Loading...

Share This Page