Click here to Skip to main content
15,921,174 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I am Trying to Read an Excel file in the Event Receiver, I was getting Permission Error. so browsed and did the same given in the following URL





instead of Visual Web part1 I have given Features\MyEventReceiver1 since it is event receiver
and now getting the below error



Error occurred in deployment step 'Add Solution': Property set method not foundhttp://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/11/20/deploying-a-web-part-with-code-access-security-in-visual-studio-2010-sp2010.aspx[^]
Posted

1 solution

Hi Solved myself...
Added the referenced assembly into GAC and now I'm not getting the permission error itself
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900