System.Net.WebPermission failed

Error raised because the application was executed from a samba-mounted network-drive.

.) do not run an application from such devices

.) Additional configuration in the .NET Framework Configuration (Administrative Tools), but this does not solve this problem.

System.Security.SecurityException: Request for the permission of type System.Net.WebPermission, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken)

at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames, Int32 unrestrictedOverride)

at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)

at System.Security.CodeAccessPermission.Demand()

at System.Net.HttpRequestCreator.Create(Uri Uri)

at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)

at System.Net.WebRequest.Create(Uri requestUri)

at System.Web.Services.Protocols.WebClientProtocol.GetWebRequest(Uri uri)

at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebRequest(Uri uri)

at System.Web.Services.Protocols.SoapHttpClientProtocol.GetWebRequest(Uri uri)

at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

Advertisements

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s