[Mono-dev] Cannot load Mono.Security.dll

APS dev.malst at apsystems.it
Mon Jul 2 10:26:03 EDT 2007


Hi,
thanks for the answer.
I searched "man mono" but I was not able to find how to have a log 
with where assemblies are searched for.
Btw when I launch the gacutil command I receive

Mono.Security, Version=1.0.5000.0, Culture=neutral, 
PublicKeyToken=0738eb9f132ed756
Mono.Security, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=0738eb9f132ed756

so they're present in the gac and there shouldn't be problems on path.
I gathered infos about the system, hoping that may helps

# cat /proc/version

Linux version 2.6.9-5.ELsmp (bhcompile at thor.perf.redhat.com) (gcc 
version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4))

# mono --version

Mono JIT compiler version 1.1.17.2, (C) 2002-2006 Novell, Inc and 
Contributors. www.mono-project.com

         TLS:           __thread
         GC:            Included Boehm (with typed GC)
         SIGSEGV:       altstack
         Disabled:      none

# mcs --version

Mono C# compiler version 1.1.17.2

Some other hint? :-)


At 20.29 29/06/2007, Sebastien Pouliot wrote:
>On Fri, 2007-06-29 at 12:41 +0200, APS wrote:
> > I'm in doubt that my mails are blocked by antispam filters on ML
> > users client machines.
> > You can confirm that my mail was received...
>
>Yes it is. However it lacks many details that could help us help you.
>E.g. your environment, like the OS, Mono version number, Fx version
>being used...
>
> > and maybe give me some hint? :-)
>
>see below
>
> > At 10.53 27/06/2007, you wrote:
> > >Hi, I've a problem on sending mail with SSL auth.
> > >When sending mail I obtain
> > >
> > >Cannot load Mono.Security.dll ---> System.Web.Mail.SmtpException:
> > >Cannot load Mono.Security.dll
> > >   at System.Web.Mail.SmtpClient.ChangeToSSLSocket () [0x00000]
> > >   at System.Web.Mail.SmtpClient.StartSend
> > >(System.Web.Mail.MailMessageWrapper msg) [0x00000]
> > >   at System.Web.Mail.SmtpClient.Send
> > >(System.Web.Mail.MailMessageWrapper msg) [0x00000]
> > >   at System.Web.Mail.SmtpMail.Send (System.Web.Mail.MailMessage
> > >message) [0x00000] --- End of inner exception stack trace ---
> > >
> > >I checked that mono.security.dll is present on the machine both on
> > >1.0 and 2.0 directories.
>
>That's unclear as it could mean more than one location (e.g. build dir
>versus gac).
>
>Hint: Try the following to see if the assembly is installed
>
>         gacutil -l | grep Mono.Security
>
>Hint#2: Try "man mono" and you'll see the options to log where
>Mono.Security is being looked for.
>
> > >I'm missing something?
>
>Of course, otherwise it would work ;-)
>
>--
>Sebastien Pouliot  <sebastien at ximian.com>
>Blog: http://pages.infinit.net/ctech/




More information about the Mono-devel-list mailing list