Menu

StringNameIdentityPermission problem...

2005-12-29
2013-04-02
  • Leonardo Moura Medeiros

    Hi, I was looking for a way to send email with embebed images programatically when I found DotNetOpenMail, which seems to be just what I nedd.

    I am trying to execute the example but I always get the following error in the first statement (EmailMessage emailMessage = new EmailMessage();):

    An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll

    Additional information: Error loading XML file c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

    Do you know what is it about?? I tried versions 5.6 and 5.7 with no progress. I tried the example in VB.Net also, but no results. I am using .Net Framework 1.1 .

    Thanks in advance, and Happy New Year!

     
    • Mike Bridge

      Mike Bridge - 2005-12-29

      Hi-

      I think there's some sort of conflict in your .net setup.  It's referring to the machine.config in v1.0.3705 (i.e. .Net 1.0), so you might have to fool around with aspnet_regiis or else de-install 1.0 completely to get it working.

      Hope that helps---happy new year!

      -Mike

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.