[Mono-dev] Cannot load Mono.Security.dll (you read it?)

Sebastien Pouliot sebastien.pouliot at gmail.com
Fri Jun 29 14:29:36 EDT 2007


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