Home > Sharepoint > Error Request for the permission of type ‘System.Security.Permissions.FileIOPermission, mscorlib…

Error Request for the permission of type ‘System.Security.Permissions.FileIOPermission, mscorlib…

When deploying webpart that accessing external Database I caught with this error :

Error
Request for the permission of type ‘System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: d76d0838-ac59-419b-97f5-5ec7edb2ae70

Then after googling for sometimes I got with solution setting trust level as “Full” in web.config :

<trust level="Full" originUrl="" />

Categories: Sharepoint Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: