[Mono-list] re: referencing a dll
Peter Foley
peter.foley@abs.gov.au
Fri, 28 May 2004 09:10:29 +1000
--0__=RkogYQr7RWmjkDa8Tzv88o6HebHjRIuYxrk124LUQ73H5KHGi57BfeqR
Content-type: text/plain; charset="us-ascii"
Content-Disposition: inline
thanks - getting closer
I put the dll in a bin subdirectory and it found it BUT
System.Exception: Error while loading
/home/peter/WebService1/bin/Membership.dll ---> System.NullReferenceException:
Object reference not set to an instance of an object
in (unmanaged) /usr/lib/libmono.so.0(mono_assembly_open+0x1b9) [0x717797]
in (unmanaged) /usr/lib/libmono.so.0 [0x7079ff]
in <0x000b0> System.Web.UI.SimpleWebHandlerParser:AddAssembliesInBin ()
--- End of inner exception stack trace ---
in <0x00118> System.Web.UI.SimpleWebHandlerParser:AddAssembliesInBin ()
in <0x00163> System.Web.UI.SimpleWebHandlerParser:.ctor
(System.Web.HttpContext,string,string)
in <0x00013> System.Web.UI.WebServiceParser:.ctor
(System.Web.HttpContext,string,string)
in <0x00032> System.Web.UI.WebServiceParser:GetCompiledType
(string,System.Web.HttpContext)
in <0x00034> System.Web.Services.Protocols.WebServiceHandlerFactory:GetHandler
(System.Web.HttpContext,string,string,string)
in <0x0038b> System.Web.HttpApplication:CreateHttpHandler
(System.Web.HttpContext,string,string,string)
in <0x0011f> CreateHandlerState:Execute ()
in <0x00084> StateMachine:ExecuteState
(System.Web.HttpApplication/IStateHandler,bool&)
|--------+------------------------>
| | Gonzalo |
| | Paniagua |
| | Javier |
| | <gonzalo@ximia|
| | n.com> |
| | |
| | 27/05/2004 |
| | 03:31 PM |
| | Please respond|
| | to |
| | gonzalo.lists |
| | |
|--------+------------------------>
>----------------------------------------------------------------------------|
| |
| To: mono-list@lists.ximian.com |
| cc: (bcc: Peter Foley/Staff/ABS) |
| Subject: Re: [Mono-list] re: referencing a dll |
>----------------------------------------------------------------------------|
El jue, 27-05-2004 a las 06:56, Peter Foley escribi
-----------------------------------------------
ABS Web Site: www.abs.gov.au
--0__=RkogYQr7RWmjkDa8Tzv88o6HebHjRIuYxrk124LUQ73H5KHGi57BfeqR
Content-type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-transfer-encoding: quoted-printable
=F3:
> tried that - no good
>
> does the dll have to be in a particular directory?
> permissions?
> do i need to specify it's namespace?
You only need
<%@ Assembly Name=3D"ABSSecurity" %>
ABSSecurity.dll should be either in bin, MONO_PATH or the GAC.
And for the namespaces from ABSSecurity you use, also:
<%@ Import namespace=3D"blah" %>
-Gonzalo
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
=
--0__=RkogYQr7RWmjkDa8Tzv88o6HebHjRIuYxrk124LUQ73H5KHGi57BfeqR--