Re: problem with thrust policy on web server
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 11/28/05
- Next message: Aahz: "Re: problem with thrust policy on web server"
- Previous message: Dominick Baier [DevelopMentor]: "Re: how to Change Membership Settings at runtime and Read From Resourc"
- In reply to: Aahz: "problem with thrust policy on web server"
- Next in thread: Aahz: "Re: problem with thrust policy on web server"
- Reply: Aahz: "Re: problem with thrust policy on web server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 28 Nov 2005 08:07:02 -0800
Hello Aahz,
you don't have to do anything special as the provider already forces you
into medium trust.
What error do you get when using the control.
I suppose a SecurityException - either a request for SecurityPermission faild
(native code) - or the assembly does not allow partially trusted callers...
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> I have asp.net 1.1 web site with two controls downloaded from
> internet
> (obout slide menu and webcharts), which runs fine on the old server.
> Few days ago my hosting provider sent me on new server with restricted
> trust policy (medium trust). Since that I cannot configure my
> web.config to run !!!
> I have noticed that two controls mentioned above create problem (when
> I
> remove them it works fine , without editing web.config at all ).
> Can you please help me with my web.config setup (I tried with
> <system.web>
> <trust level="Medium" originUrl="" />, but doesn't work )
> How can I set up my trust level to work with hosting trust policy and
> still use those two controls ???
>
> Thank you ;
>
- Next message: Aahz: "Re: problem with thrust policy on web server"
- Previous message: Dominick Baier [DevelopMentor]: "Re: how to Change Membership Settings at runtime and Read From Resourc"
- In reply to: Aahz: "problem with thrust policy on web server"
- Next in thread: Aahz: "Re: problem with thrust policy on web server"
- Reply: Aahz: "Re: problem with thrust policy on web server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|