Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Security Exception

  Asked By: Jordon    Date: Aug 01    Category: Sharepoint    Views: 1358

when i was trying to access the site using object model i got following error

Request for the permission of type
System.Security.Permissions.EnvironmentPermission, mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

I could not escalate the problem



1 Answer Found

Answer #1    Answered By: Upbrave C# expert     Answered On: Aug 01

This message means that your assembly needs a permission  you are not granting it
in the web.config. Take a look at the Code Access Security topic in the
SharePoint Administrator guide.

Didn't find what you were looking for? Find more on Security Exception Or get search suggestion and latest updates.