Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Security Exception coming in a running asp.net website
M B
Feb 10 2017 9:33 AM
245
Reply
I am getting this error when I am trying to call above function.
var controller = new createCustomerProfileController(request); // instantiate the contoller that will call the service
ontroller.Execute();
Error :- Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I have tried my app.config file.
<system.web>
<securityPolicy>
<trustLevel name="Full" policyFile="internal"/>
</securityPolicy>
</system.web>
Please help me to solve this issue.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Asp.Net GridView Edit Mode.
Reusing View in Another View or Not?