Solved

Security Exception, assembly does allow partially trusted callers

Posted on 2007-11-30
2
483 Views
Last Modified: 2008-02-01
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?
0
Comment
Question by:kbreaux25
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
Comment Utility
Have a look to this explanation about how to get rid of it:
https://support.isqsolutions.com/article.aspx?id=10334
0
 

Author Comment

by:kbreaux25
Comment Utility
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.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now