473,507 Members | 2,388 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Request for the permission of type System.Web.AspNetHostingPermission failed

I'm using dotNet 2.0 and VS2005.
I've got a class library where I've created a webcontrol (Inherits from
GridView).
The dll for the class library resides on a different server (development
server)
Now I have a website ASP.Net 2.0. When I add a reference to the dll I don't
get my control in the toolbox, and try to right click on the toolbox, select
"Choose Items", select "Browse" find the dll on the other server and try to
add it I get the error: "Request for the permission of type
System.Web.AspNetHostingPermission failed"

I've tried to go to my Web.config an add:
<configuration>
<system.web>
<trust level="Full" originUrl=""
processRequestInApplicationTrust="false" />
in the web.config.
It doesn't do any difference.

How do I set the permissions so I can use my webcontrol?

Kind Regards,
Allan Ebdrup

Oct 17 '06 #1
1 34551
found a solution here:
http://support.microsoft.com/?id=320268
Oct 17 '06 #2

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

Similar topics

1
4337
by: Chris | last post by:
I have seen the posts on various places on the internet about .NET framework mismatch issues and I don't think that is my problem. ; ) When I execute the following C++.NET code: String...
0
1000
by: Troy Donavan | last post by:
A VB Web application that worked in VS2002 was upgraded to VS2005 and on build generates the following error message on build: Request for the permission of type...
2
20811
by: AnalogKid17 | last post by:
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. ...
0
2131
by: Siberwulf | last post by:
I'm trying to fetch an XML document from a website through an assembly i built and attached to SQL 2005. Here is my code for the SPROC assembly: public static void fetch_FeedData(string...
1
7472
by: goc | last post by:
I have a Web Farm, that fetches its database-data from a separate database-server. Today I was forced to go over to .NET 2.0 (since 1.1 can't be installed on Windows Vista x64), and it brought...
3
12035
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
0
1220
by: clintonb | last post by:
I hope this is the appropriate group for posting this question. We have a Web Application Project that compiles using Visual Studio 2005 on Windows XP but it won't compile on Windows Vista. ...
2
3596
by: clintonb | last post by:
I hope this is the appropriate group for my question. We have a Web Application Project that compiles just fine using Visual Studio 2005 on Windows XP but it won't compile on Windows Vista. ...
5
8279
by: Henry Stock | last post by:
I am trying to understand the following error: Any thing you can tell me about this is appreciated. Security Exception Description: The application attempted to perform an operation not allowed...
0
7223
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
7319
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
7376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5623
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
5042
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
4702
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
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1542
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
412
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.