Re: big problem with asp.net application trust level on new server



Can you reproduce this exception on your local machine and get more
information about the exception? You could configure your development
machine with medium trust, run the debugger, and hopefully get more
information about the exception, like "permission of type "xyz"
failed".

Then you'll have to approach your ISP and ask if you can have "xyz"
permission.

Do you know what these controls do? If they use COM interop or native
code, I doubt your ISP will let you have those unmanaged code
permissions - that is essentially running with full trust.

--
Scott
http://www.OdeToCode.com/blogs/scott/


On 28 Nov 2005 10:31:50 -0800, "Aahz" <juno10000@xxxxxxxxxxx> wrote:

>I got this:
>
>Source Error:
>
>An unhandled exception was generated during the execution of the
>current web request. Information regarding the origin and location of
>the exception can be identified using the exception stack trace below.
>
>
>Stack Trace:
>
>
>[SecurityException: Request failed.]
> oaknew._default.Page_Load(Object sender, EventArgs e) +0
> System.Web.UI.Control.OnLoad(EventArgs e) +67
> System.Web.UI.Control.LoadRecursive() +35
> System.Web.UI.Page.ProcessRequestMain() +2112
> System.Web.UI.Page.ProcessRequest() +218
> System.Web.UI.Page.ProcessRequest(HttpContext context) +18
>
>System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
>+179
> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
>completedSynchronously) +87
>
>What I have to do??

.



Relevant Pages

  • Re: database error on host with medium trust level
    ... What exception do you get if you remove the strong name signature ... > with medium trust level - that cannot be changed. ... > All my low-level database accessing code is compiled into a DLL which I ... To grant this application the required permission ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: REGDB_E_CLASSNOTREG(0x80040154)
    ... > provider is not registered on the local machine.] ... > Exception Details: System.Data.OleDb.OleDbException: No error ... > [InvalidOperationException: The 'Micosoft.Jet.OLEDB.4.0' provider is ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Strong Names and Referenced assemblies
    ... This exception has nothing to do with the strong name. ... assemblies from outside your local machine, ... > It turns out that autoxlimport.dll is dll written in .NET by coworker. ... > installed this VB.NET exe on my local machine and it runs perfectly on my ...
    (microsoft.public.dotnet.security)
  • Re: Strong Names and Referenced assemblies
    ... the .NET Configuration tool to allow intranet to trust my app after I use the ... > This exception has nothing to do with the strong name. ... >> I built another VB.NET app that has no references whatsoever to any COM ... >> installed this VB.NET exe on my local machine and it runs perfectly on my ...
    (microsoft.public.dotnet.security)
  • Security Exception when Deploying to IIS
    ... When trying to deploy a test web site to a IIS on my local machine, ... The Server service is not started. ... For the exception below, I'm using Forms Authentication and Anonymous Access ... I'm also using XCopy to deploy the web site. ...
    (microsoft.public.dotnet.framework.aspnet.security)