Solved

Security Exception, assembly does allow partially trusted callers

Posted on 2007-11-30
2
487 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 500 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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

738 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