473,473 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Please help with SecurityException: That assembly does not allow partially trusted callers.

Hello All,

I've got a very simple ASP.NET 2.0 application which uses a DLL from a
third party. I don't have the source to this DLL.

Everything has been working fine on my XP development machine, but as
soon as I deploy to a Windows 2003 Server I'm getting the following
error:

[SecurityException: That assembly does not allow partially trusted
callers.]

I can't add any entries to the AssemblyInfo.cs of this library, since
I don't have the source. I've tried editing my web.config file to
work on a lower level of trust, but that doesn't seem to be working.

Any ideas here? Is there a Microsoft configuration file or
application I should be using?

Thanks,

Matt

Mar 29 '07 #1
1 6484
your webserver needs to be configured at allow partial trusted assemblies.

see

http://msdn2.microsoft.com/en-us/library/wyts434y.aspx

-- bruce (sqlwork.com)

Matt Culbreth wrote:
Hello All,

I've got a very simple ASP.NET 2.0 application which uses a DLL from a
third party. I don't have the source to this DLL.

Everything has been working fine on my XP development machine, but as
soon as I deploy to a Windows 2003 Server I'm getting the following
error:

[SecurityException: That assembly does not allow partially trusted
callers.]

I can't add any entries to the AssemblyInfo.cs of this library, since
I don't have the source. I've tried editing my web.config file to
work on a lower level of trust, but that doesn't seem to be working.

Any ideas here? Is there a Microsoft configuration file or
application I should be using?

Thanks,

Matt
Mar 29 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Thomas Christmann | last post by:
Hi! I have a rather special question here. I'd like to write a wrapper for a .NET assembly, and register that on my server so that the people on my server call my assembly instead of the...
6
by: Ken Cox [Microsoft MVP] | last post by:
Hi folks, I need some help with an ASP.NET 2.0 page that generates the following error when it calls a VSTO runtime DLL: System.Security.SecurityException: That assembly does not allow...
3
by: Mark Leistner | last post by:
I am having problems getting a gridview to bind to custom objects under any non-full trust level. I created a test project to verify what I am seeing isn't a side effect of other code in my...
1
by: Karch | last post by:
I want to use Enterprise Library for .NET 2.0 with ASP.NET 2.0. I've seen some postings on issues with using it with in ASP.NET, issues like partially trusted callers and other security issues. ...
0
by: Stu | last post by:
I x-posted this in the enhancements group as well, looking for some help: Need help with a CAS issue with WSE3. Enable an asp.net2 webapp to use WSE3. Create a new webservice in the app via...
0
by: Gibble | last post by:
Argh! Ok, now that that's out of my system. I'm getting this error "That assembly does not allow partially trusted callers". It only seems to happen when I try and call a function in an...
1
by: John G | last post by:
I have created an ActiveX control that does word automation. Once I creat an instance of work I get the following message System.Security.SecurityException: That assembly does not allow partially...
3
by: Joris van Lier | last post by:
I'm running an ASP.NET 2.0 web application in a Medium Trust environment, the application uses ODBC to connecto to MySQL and the hosting company has granted OdbcPermission, the solution includes a...
0
by: nikib | last post by:
Hi, I am new in the forum and new in .Net. I've tried to search for answers on web to no avail. Can anybody help me with this problem? Is it possible to install a console app, that also has...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.