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

Home Posts Topics Members FAQ

How to AllowPartiallyTrustedCallersAttribute Class

Hi,

I have been informed by my Hosting company that I need to include the
AllowPartiallyTrustedCallersAttribute Class in my assembly in order
for my code to work. So just now none of my .net 2.0 web sites are
working because of this.

I do not know how to add this into my code, or how to add it into the
assembly in order for this to work and my hosting company are not able
to give out coding support (for some reason).

So how can I, in the easiest and fastest way, update my code in order
for it to work with this?

I have read the MS documentation about this but do not understand how
to make it all work.

Thanks

Feb 12 '07 #1
3 5042
[allowpartialtrustedyadyada]
private class some class

this is all over the web, have you tried www.google.com/codesearch?

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"TheDude5B" <ti*******@gmail.comwrote in message
news:11**********************@q2g2000cwa.googlegro ups.com...
Hi,

I have been informed by my Hosting company that I need to include the
AllowPartiallyTrustedCallersAttribute Class in my assembly in order
for my code to work. So just now none of my .net 2.0 web sites are
working because of this.

I do not know how to add this into my code, or how to add it into the
assembly in order for this to work and my hosting company are not able
to give out coding support (for some reason).

So how can I, in the easiest and fastest way, update my code in order
for it to work with this?

I have read the MS documentation about this but do not understand how
to make it all work.

Thanks

Feb 13 '07 #2
Don't be obnoxious, Alvin. I've looked everywhere too and have yet to find a
solution. Since you are an MVP, I would expect a better response.

Jason

"Alvin Bruney [MVP]" wrote:
[allowpartialtrustedyadyada]
private class some class

this is all over the web, have you tried www.google.com/codesearch?

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"TheDude5B" <ti*******@gmail.comwrote in message
news:11**********************@q2g2000cwa.googlegro ups.com...
Hi,

I have been informed by my Hosting company that I need to include the
AllowPartiallyTrustedCallersAttribute Class in my assembly in order
for my code to work. So just now none of my .net 2.0 web sites are
working because of this.

I do not know how to add this into my code, or how to add it into the
assembly in order for this to work and my hosting company are not able
to give out coding support (for some reason).

So how can I, in the easiest and fastest way, update my code in order
for it to work with this?

I have read the MS documentation about this but do not understand how
to make it all work.

Thanks


Feb 15 '07 #3
Although there could be security implications, you might try:

http://forums.asp.net/1580539/ShowThread.aspx#1580539
Feb 15 '07 #4

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

Similar topics

1
by: Murat Tasan | last post by:
hi, i am having a small problem with constructing an inner class. i am using an inner class (and not a static nested class) because the methods of the inner class need access to the enclosing...
2
by: Fernando Rodriguez | last post by:
Hi, I need to traverse the methods defined in a class and its superclasses. This is the code I'm using: # An instance of class B should be able to check all the methods defined in B #and A,...
2
by: Gabriel Genellina | last post by:
Hi In the following code sample, I have: - a Worker class, which could have a lot of methods and attributes. In particular, it has a 'bar' attribute. This class can be modified as needed. - a...
3
by: Robert | last post by:
Python doesn't know the class of a method when container not direct class attribute: >>> class X: .... def f():pass .... g=f .... l= .... >>> X.g <unbound method X.f>
1
by: Oplec | last post by:
Hi, I'm learning C++ as a hobby using The C++ Programming Language : Special Edition by Bjarne Stroustrup. I'm working on chpater 13 exercises that deal with templates. Exercise 13.9 asks for me...
9
by: Banaticus Bart | last post by:
I wrote an abstract base class from which I've derived a few other classes. I'd like to create a base class array where each element is an instance of a derived object. I can create a base class...
5
by: Andy | last post by:
Hi all, I have a site with the following architecture: Common.Web.dll - Contains a CommonPageBase class which inherits System.Web.UI.Page myadd.dll - Contains PageBase which inherits...
3
by: Hamilton Woods | last post by:
Diehards, I developed a template matrix class back around 1992 using Borland C++ 4.5 (ancestor of C++ Builder) and haven't touched it until a few days ago. I pulled it from the freezer and...
0
by: emin.shopper | last post by:
I had a need recently to check if my subclasses properly implemented the desired interface and wished that I could use something like an abstract base class in python. After reading up on metaclass...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.