RE: Deploy ASP.net Application On Windows 2003 server.

Discussion in 'ASP .Net' started by Jim Cheshire [MSFT], Mar 2, 2004.

  1. Hi,

    Is this application running in the default app pool? What is the identity
    for the app pool?

    Jim Cheshire, MCSE, MCSD [MSFT]
    ASP.NET
    Developer Support


    This post is provided as-is with no warranties and confers no rights.


    --------------------
    >Thread-Topic: Deploy ASP.net Application On Windows 2003 server.
    >thread-index: AcQAk+ZvDggn8bsERfaTilWvu7xncw==
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >From: "=?Utf-8?B?Um95SGU=?=" <>
    >Subject: Deploy ASP.net Application On Windows 2003 server.
    >Date: Tue, 2 Mar 2004 12:21:09 -0800
    >Lines: 42
    >Message-ID: <>
    >MIME-Version: 1.0
    >Content-Type: text/plain;
    > charset="Utf-8"
    >Content-Transfer-Encoding: 7bit
    >X-Newsreader: Microsoft CDO for Windows 2000
    >Content-Class: urn:content-classes:message
    >Importance: normal
    >Priority: normal
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    >Newsgroups: microsoft.public.dotnet.framework.aspnet
    >Path: cpmsftngxa06.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:215288
    >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >
    >I developed an Asp.net Application on Windows XP, and try to deploy it to

    windwos 2003 server. After the deployment, I try to run the application, I
    get the following Error:


    Server Error in '/GISOnlineReservation' Application.
    ----------------------------------------------------------------------------
    ----

    Access is denied.
    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.

    Exception Details: System.UnauthorizedAccessException: Access is denied.

    ASP.NET is not authorized to access the requested resource. Consider
    granting access rights to the resource to the ASP.NET request identity.
    ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or
    Network Service on IIS 6) that is used if the application is not
    impersonating. If the application is impersonating via <identity
    impersonate="true"/>, the identity will be the anonymous user (typically
    IUSR_MACHINENAME) or the authenticated request user.

    To grant ASP.NET write access to a file, right-click the file in Explorer,
    choose "Properties" and select the Security tab. Click "Add" to add the
    appropriate user or group. Highlight the ASP.NET account, and check the
    boxes for the desired access.

    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:


    [UnauthorizedAccessException: Access is denied.]
    OnlineReservation.Reservation.ResBasicInfo.Page_Load(Object sender,
    EventArgs e) +602
    System.Web.UI.Control.OnLoad(EventArgs e) +67
    System.Web.UI.Control.LoadRecursive() +35
    System.Web.UI.Control.LoadRecursive() +98
    System.Web.UI.Control.LoadRecursive() +98
    System.Web.UI.Control.LoadRecursive() +98
    System.Web.UI.Page.ProcessRequestMain() +731




    ----------------------------------------------------------------------------
    ----
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
    Version:1.1.4322.573



    I try all Serarios, grant all permsions to ASP.net or Network SErverice or
    IUSR_MACHINENAME, still it does't work. Can anyone told me why?

    Thanks
    >
     
    Jim Cheshire [MSFT], Mar 2, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kieran Kelly
    Replies:
    3
    Views:
    863
    Shaji
    Sep 29, 2003
  2. Vaap
    Replies:
    2
    Views:
    1,195
  3. Juan T. Llibre [MVP]
    Replies:
    4
    Views:
    3,036
    Patrick Olurotimi Ige
    Dec 9, 2004
  4. Loane Sharp
    Replies:
    5
    Views:
    1,529
    Loane Sharp
    Sep 25, 2005
  5. GaryDean

    Deploy won't deploy Masterpage.master

    GaryDean, Apr 14, 2009, in forum: ASP .Net
    Replies:
    1
    Views:
    428
Loading...

Share This Page