RE: Question about "Configuration Error" Message
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Mon, 05 Dec 2005 05:58:17 GMT
Thanks for your quick response Baho,
So your machine is WINXP sp2 /IIS5.
Currently, I'd suggest you first try changing your ASP.NET's running
process's Account from default machine\aspnet to the LOCALSYSTEM to as to
make sure whether this is a permission problem of the asp.net process
idenitity. To change the process identity, you can follow the below steps:
1. locate the machine.config file under your .NET framework 2.0's intalling
folder like:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG
2. Open the machine.config file and find the <processModel> element, by
default it is configured as:
<processModel autoConfig="true" />
, we need to change it to below:
<processModel autoConfig="true" userName="System"/>
so as to let the ASP.NET worker process running under the local system
account(which has the most powerful permission and privileges on local
system...)
3. Restart IIS through "iisreset" command
Then, test your asp.net 2.0 applicaiton again to see whether it can
works......
Also, this is just for testing only, generally we do not recommend asp.net
process running under local system account. Also, the machine.config's
<processModel> element is used for IIS5 isolate model. For IIS6/win2k3
server, it by default use applicaiton pool model which is different from
this.
Anyway, please have a try to see whether it works and feel free to post
here if there're anything unclear...
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Question about "Configuration Error" Message
| thread-index: AcX3sBD65EPm92MaQzSgIHOQBE34Gw==
| X-WBNR-Posting-Host: 210.182.98.176
| From: "=?Utf-8?B?UmlkZXI=?=" <baho@xxxxxxxxxxxxxxxxx>
| References: <854911B2-EB62-4D7B-8DFF-573EDE7E9937@xxxxxxxxxxxxx>
<DfefwB09FHA.3808@xxxxxxxxxxxxxxxxxxxxx>
| Subject: RE: Question about "Configuration Error" Message
| Date: Fri, 2 Dec 2005 18:20:02 -0800
| Lines: 129
| Message-ID: <1423C0DC-2EDE-4516-B52D-E8BC37F75F85@xxxxxxxxxxxxx>
| 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
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:362458
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi Steven
|
| Yes, I've got error. After you installed the ASP.NET 2.0 QuickStart
| examples on my machine. My machine environment details are
| ---------------------------------
| 1. OS version:
| Windows XP Professional, SP2
| ASP.NET version 2.0.50727
|
| 2. IIS physical directory:
| D:\Inetpub\wwwroot
|
| 3. QuickStart Sample dir:
| D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\QuickStart
|
| 4. current process identifier
| aspnet_wp.exe 3628
| inetinfo.exe 1968
| ---------------------------------
|
| > Hi Baho,
| >
| > Welcome to ASPNET newsgroup.
| > From your description, after you installed the ASP.NET 2.0 QuickStart
| > examples on your machine, you get some Erros when starting running the
| > application, yes?
| >
| > Based on the error message you pasted, I think this is a file access
| > permission issue. Seems the ASP.NET process idenitity dosn't have the
| > sufficient permission to access the webapplicaiton folder. Would you
| > please help me gather the following info:
| >
| > 1. What's your machine's OS version (IIS version)?
| >
| > 2. Where did you installed the quickstart example, directly under the
IIS
| > default site's physical dir(inetpub\wwwroot...)?
| >
| > 3. What's the current process idenitity which is used to running the
| > ASP.NET applcation(this depends on the things in #1 , the OS
version)...
| >
| > Please feel free to post here if there're anything else you found or
I've
| > misunderstood.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| >
| >
| >
| >
| >
| >
| > --------------------
| > | Thread-Topic: Question about "Configuration Error" Message
| > | thread-index: AcX3CzjCdckva5nJSQO1GEyzHD3TGQ==
| > | X-WBNR-Posting-Host: 210.182.98.176
| > | From: "=?Utf-8?B?UmlkZXI=?=" <baho@xxxxxxxxxxxxxxxxx>
| > | Subject: Question about "Configuration Error" Message
| > | Date: Thu, 1 Dec 2005 22:40:02 -0800
| > | Lines: 35
| > | Message-ID: <854911B2-EB62-4D7B-8DFF-573EDE7E9937@xxxxxxxxxxxxx>
| > | 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
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:362249
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Hi, simple(?) question about asp.net configuration..
| > |
| > | I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When
I'm
| > | first start application the follow message shown.
| > | =========
| > | Server Error in '/QuickStartv20' Application.
| >
----------------------------------------------------------------------------
| > ----
| > |
| > | Configuration Error
| > | Description: An error occurred during the processing of a
configuration
| > file
| > | required to service this request. Please review the specific error
| > details
| > | below and modify your configuration file appropriately.
| > |
| > | Parser Error Message: An error occurred loading a configuration file:
| > Failed
| > | to start monitoring changes to 'd:\inetpub\wwwroot' because access is
| > denied.
| > |
| > | Source Error:
| > |
| > |
| > | [No relevant source lines]
| > |
| > |
| > | Source File: d:\inetpub\wwwroot\web.config Line: 0
| > |
| > |
| >
----------------------------------------------------------------------------
| > ----
| > | Version Information: Microsoft .NET Framework Version:2.0.50727.42;
| > ASP.NET
| > | Version:2.0.50727.42
| > | =====================================
| > |
| > | What's the problem? I can't imagine what's wrong...
| > | Is there any body can tell me about, what's wrong???
| > | and How can I fix this???
| > |
| > | Have a Good day~~
| > |
| >
| >
|
.
- Follow-Ups:
- RE: Question about "Configuration Error" Message
- From: Rider
- RE: Question about "Configuration Error" Message
- References:
- RE: Question about "Configuration Error" Message
- From: Steven Cheng[MSFT]
- RE: Question about "Configuration Error" Message
- From: Rider
- RE: Question about "Configuration Error" Message
- Prev by Date: Re: Could not connect to mail server System.Web Could not access 'CDO.Message' object. ?????
- Next by Date: CompareValidator not working
- Previous by thread: RE: Question about "Configuration Error" Message
- Next by thread: RE: Question about "Configuration Error" Message
- Index(es):
Relevant Pages
|