Re: Dynamic load assembly problem in asp.net
From: David Levine (noSpamdlevineNNTP2_at_wi.rr.com)
Date: 08/25/04
- Next message: Thomas: "Assembly dependency in a three-tier webapplication"
- Previous message: Dan Amiga: "DPAPI and Web.Config"
- In reply to: Johnny Hu: "Dynamic load assembly problem in asp.net"
- Next in thread: Johnny Hu: "Re: Dynamic load assembly problem in asp.net"
- Reply: Johnny Hu: "Re: Dynamic load assembly problem in asp.net"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Aug 2004 04:35:54 -0500
Look at fuslogvw.exe and see why it did not load the assembly. My guess is
that the path to the dll is incorrect for the environment it is running in.
"Johnny Hu" <jhnhu@hotmail.com> wrote in message
news:uApMO%23diEHA.3876@TK2MSFTNGP12.phx.gbl...
> i have some code which will dynamic load another assembly
> it works fine in WinForm App but got an exception "cannot load the
assembly"
> when i put it in a WebService App
>
>
> Loader.AssemblyLoader al = null;
> object[] parms = { AssemblyName }; // string AssebmlyName
> al = (Loader.AssemblyLoader)domain.CreateInstanceFromAndUnwrap(
> "Loader.dll", "Loader.AssemblyLoader", true, bindings, null, parms,
> null, null, null); //exception here
>
> can anyone tell me the reason and the solution ?
>
>
- Next message: Thomas: "Assembly dependency in a three-tier webapplication"
- Previous message: Dan Amiga: "DPAPI and Web.Config"
- In reply to: Johnny Hu: "Dynamic load assembly problem in asp.net"
- Next in thread: Johnny Hu: "Re: Dynamic load assembly problem in asp.net"
- Reply: Johnny Hu: "Re: Dynamic load assembly problem in asp.net"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|