PC Review

Thread Tools Rating: Thread Rating: 10 votes, 3.40 average.

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

Jim Cheshire [MSFT]
Posts: n/a
      3rd Mar 2004

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

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
(E-Mail Removed)

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=?=" <(E-Mail Removed)>
>Subject: Deploy ASP.net Application On Windows 2003 server.
>Date: Tue, 2 Mar 2004 12:21:09 -0800
>Lines: 42
>Message-ID: <(E-Mail Removed)>
>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
>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

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?


Reply With Quote

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploy won't deploy Masterpage.master GaryDean Microsoft ASP .NET 1 14th Apr 2009 02:50 AM
Subject: Deploy application to remote sites vs Running application using RD David Microsoft VB .NET 0 21st Jan 2007 11:11 PM
Unable to deploy application to Pocket PC 2003 =?Utf-8?B?UmFodWwgU3Vy?= Microsoft Dot NET Compact Framework 2 29th Sep 2004 05:37 PM
Deploy .Net application with Office Web Components 2003 =?Utf-8?B?VGltb3RoeQ==?= Microsoft Dot NET 0 17th Jul 2004 12:41 AM
.NET Framework deploy and the Setup and Deploy Projects Wilson Ricardo Passos Oliveira Microsoft Dot NET 1 6th Aug 2003 04:20 PM




All times are GMT +1. The time now is 08:04 AM.