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        |
|        |          <[EMAIL PROTECTED]|
|        |          n.com>        |
|        |                        |
|        |          27/05/2004    |
|        |          03:31 PM      |
|        |          Please respond|
|        |          to            |
|        |          gonzalo.lists |
|        |                        |
|--------+------------------------>
  >----------------------------------------------------------------------------|
  |                                                                            |
  |      To:     [EMAIL PROTECTED]                                    |
  |      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

ó:
> 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="ABSSecurity" %>

ABSSecurity.dll should be either in bin, MONO_PATH or the GAC.

And for the namespaces from ABSSecurity you use, also:
<%@ Import namespace="blah" %>

-Gonzalo


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Reply via email to