Link to home
Start Free TrialLog in
Avatar of kbreaux25
kbreaux25

asked on

Security Exception, assembly does allow partially trusted callers

I'm fairly new to C# and .NET. I'm developing a windows application that opens up a open file dialog and chooses an excel file to grab data from for the application. When I try to run the program i get a SecurityException, "That assembly does not allow partially trusted callers."  How do I get around this problem and what could be causing it?
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kbreaux25
kbreaux25

ASKER

I thought adding the allow partially trusted callers to the assembler would work but I still get a security exception assembly does not allow partially trusted callers.