Author |
|
Krishna Newbie
Joined: 30 July 2008
Online Status: Offline Posts: 2
|
Posted: 30 July 2008 at 1:24pm | IP Logged
|
|
|
Hi,
i wrote a console app and using MailBee.Pop3Mail.Pop3 to get all emails in POP server.
It worked fine in my local machine.
But after deployed to other server i am getting following exception from "POP3" class
The type initializer for 'MailBee.Global' threw an exception.
"Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
Can please some body help to resolve this issue.
Thanks in Advance.
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 31 July 2008 at 2:30am | IP Logged
|
|
|
The issue is caused by a lack of permissions to a file on the server, but it's hard to point to a certain file having this info.
We found some articles which would be useful to you:
http://www.vistax64.com/winfx-general/81676-request-permissi on-type-system-security-permissions-fi.html
http://support.jodohost.com/showthread.php?t=11131
http://support.microsoft.com/kb/842419
http://www.asprunner.com/forums/index.php?s=71b2d9a717d4fb78 c298a6829094085c&showtopic=8912&pid=30869&st=0entry30869
If none of these articles helps, could you please provide us with the following details?
- the source code of your application;
- full exception stack trace;
- exact version of MailBee.NET.dll you use;
- which role (permissions) is used on the server when running the application.
Best regards,
Andrew
|
Back to Top |
|
|