WebSite DLL?

Discussion in 'ASP .Net' started by PP, Jan 8, 2007.

  1. PP

    PP Guest

    Hi

    I have a .NET Website (v2, FileMode) that calls a .NET DLL to load an
    Assembly (all .NET), which works most of the time.

    The problem is that when I call this method to load the WebSite
    Assembly, it throws an error saying:
    "Could not load file or assembly 'WebApp' or one of its dependencies.
    The system cannot find the file specified."

    I am using the "Assembly.Load" to load the assembly but cannot find it.

    Does anyone have any ideas how to resolve this?

    I looked in the BIN direct to locate the DLL but cannot find it.

    Thanks

    Paul.
    PP, Jan 8, 2007
    #1
    1. Advertising

  2. Hi,

    PP wrote:
    > Hi
    >
    > I have a .NET Website (v2, FileMode) that calls a .NET DLL to load an
    > Assembly (all .NET), which works most of the time.
    >
    > The problem is that when I call this method to load the WebSite
    > Assembly, it throws an error saying:
    > "Could not load file or assembly 'WebApp' or one of its dependencies.
    > The system cannot find the file specified."
    >
    > I am using the "Assembly.Load" to load the assembly but cannot find it.
    >
    > Does anyone have any ideas how to resolve this?
    >
    > I looked in the BIN direct to locate the DLL but cannot find it.
    >
    > Thanks
    >
    > Paul.


    It sounds like you're using the new "website" model. You should try the
    Web Application Project add-on. Caution: It's included in VS2005 SP1, so
    you must uninstall the add-on if you install SP1.

    http://webproject.scottgu.com/

    Greetings,
    Laurent
    --
    Laurent Bugnion [MVP ASP.NET]
    Software engineering: http://www.galasoft-LB.ch
    PhotoAlbum: http://www.galasoft-LB.ch/pictures
    Support children in Calcutta: http://www.calcutta-espoir.ch
    Laurent Bugnion [MVP], Jan 8, 2007
    #2
    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. Anushi
    Replies:
    5
    Views:
    8,640
  2. Flip
    Replies:
    1
    Views:
    429
    Karl Seguin
    Nov 22, 2005
  3. Shawn

    Website on a website.

    Shawn, Jan 15, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    480
    Shawn
    Jan 15, 2006
  4. sck10
    Replies:
    1
    Views:
    411
    Michael Kolias
    Apr 13, 2006
  5. H. Simpson
    Replies:
    4
    Views:
    250
    H. Simpson
    Aug 3, 2004
Loading...

Share This Page