Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Security Exception, assembly does allow partially trusted callers

Posted on 2007-11-30
2
Medium Priority
?
491 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 1500 total points
ID: 20386555
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
ID: 20396181
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

636 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