关于“配置错误”的问题信息 [英] Question about "Configuration Error" Message

查看:114
本文介绍了关于“配置错误”的问题信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单(?)关于asp.net配置的问题..


我已经成功安装了ASP.NET 2.0 QuickStart Sample。但是,当我'

首次启动应用程序时显示以下消息。

=========

服务器错误在''/ QuickStartv20''应用程序中。

--------------------------------- -----------------------------------------------


配置错误

描述:处理配置文件时发生错误

为此请求提供服务。请查看下面的具体错误详细信息

并正确修改配置文件。


分析程序错误消息:加载配置文件时出错:失败
开始监控对''d:\inetpub\wwwroot''的更改,因为访问被拒绝。


来源错误:

[没有相关的源代码行]

源文件:d:\inetpub \wwwroot \web.config行:0

--------- -------------------------------------------------- ---------------------

版本信息:Microsoft .NET Framework版本:2.0.50727.42; ASP.NET

版本:2.0.50727.42

========================== ===========


有什么问题?我无法想象有什么问题......

有没有人能告诉我什么,有什么问题???

和怎么能我解决这个问题???


祝你有个美好的一天~~

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~~

推荐答案

Hi Baho,


欢迎使用ASPNET新闻组。

从您的描述中,在您的计算机上安装ASP.NET 2.0 QuickStart

示例后,在开始运行

应用程序时得到一些Erros,是吗?


根据您粘贴的错误消息,我认为这是一个文件访问

权限问题。似乎ASP.NET进程的标识不具备访问webapplicaiton文件夹的足够权限。请你帮我收集以下信息:


1.什么是你机器的操作系统版本(IIS版本)?


2.你在哪里安装了快速启动示例,直接在IIS

默认站点的物理目录(inetpub \ www.root ...)?


3.用于运行

ASP.NET应用程序的当前进程标识是什么(这取决于#1中的内容,操作系统版本)...


如果您发现任何其他内容或我已经误解了b $ b,请随时在此发帖。


谢谢,


Steven Cheng

微软在线支持


获取安全! www.microsoft.com/security

(此帖子按原样提供,不作任何保证,并且不授予

权利。)



-------- ------------

|主题:关于配置错误的问题消息

| thread-index:AcX3CzjCdckva5nJSQO1GEyzHD3TGQ ==

| X-WBNR-Posting-Host:210.182.98.176

| From:" =?Utf-8?B?UmlkZXI =?=" < ba ** @ newsgroups.nospam>

|主题:关于配置错误的问题消息

|日期:2005年12月1日星期四22:40:02 -0800

|行数:35

|消息ID:< 85 ********************************** @ microsoft.co m>

| MIME版本:1.0

|内容类型:text / plain;

| charset =" Utf-8"

|内容传输编码:7位

| X-Newsreader:适用于Windows 2000的Microsoft CDO

| Content-Class:urn:content-classes:message

|重要性:正常

|优先级:正常

| X-MimeOLE:由Microsoft MimeOLE制作V6.00.3790.0

|新闻组:microsoft.public.dotnet.framework.aspnet

| NNTP-Posting-Host:TK2MSFTNGXA03.phx.gbl 10.40.2.250

|路径:TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl

|外翻:TK2MSFTNGXA02.phx.gbl

microsoft.public.dotnet.framework.aspnet:362249

| X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet

|

|关于asp.net配置的简单(?)问题..

|

|我已经成功安装了ASP.NET 2.0 QuickStart Sample。但是,当我是

|首先启动应用程序显示以下消息。

| =========

| / QuickStartv20应用程序中的服务器错误。

------------------------------- ---------------------------------------------

----

|

|配置错误

|说明:处理配置时出错

文件

|需要为此请求提供服务。请查看具体的错误

详情

|在下面并适当修改你的配置文件。

|

|分析器错误消息:加载配置文件时出错:

失败

|开始监控对''d:\inetpub \ www.root''的更改,因为访问被拒绝了。
被拒绝。

|

|来源错误:

|

|

| [没有相关的源代码行]

|

|

|源文件:d:\inetpub \wwwroot \web.config行:0

|

|

----- -------------------------------------------------- ---------------------

----

|版本信息:Microsoft .NET Framework版本:2.0.50727.42;

ASP.NET

|版本:2.0.50727.42

| =====================================

|

|有什么问题?我无法想象有什么问题......

|有什么身体可以告诉我,有什么问题???

|我该怎么办呢?

|

|祝你有个美好的一天~~

|

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=?=" <ba**@newsgroups.nospam>
| Subject: Question about "Configuration Error" Message
| Date: Thu, 1 Dec 2005 22:40:02 -0800
| Lines: 35
| Message-ID: <85**********************************@microsoft.co m>
| 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!TK2MSFT NGXA03.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~~
|


嗨史蒂文


是的,我有错误。在我的机器上安装ASP.NET 2.0 QuickStart

示例之后。我的机器环境详情是

---------------------------------

1.操作系统版本:

Windows XP Professional,SP2

ASP.NET版本2.0.50727


2 IIS物理目录:

D:\ Inetpub \ www.root


3.快速入门示例目录:

D:\\ \\ Program Files \ Microsoft Visual Studio 8 \ SDK \v2.0 \QuickStart


4.当前进程标识符

aspnet_wp.exe 3628

inetinfo.exe 1968

------------------------------- -
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,

欢迎使用ASPNET新闻组。
从您的描述中,安装ASP.NET 2.0 QuickStart之后你机器上的例子,你在开始运行
应用程序时得到了一些Erros,是吗?

根据你粘贴的错误信息,我认为这是一个文件访问权限
权限问题。似乎ASP.NET进程的标识没有足够的权限来访问webapplicaiton文件夹。你能帮我收集以下信息吗:

1.你机器的操作系统版本(IIS版本)是什么?

2。你在哪里安装了快速启动示例,直接在IIS
默认站点的物理目录下(inetpub \ www.root ...)?

3.目前的流程是什么用于运行ASP.NET应用程序的idenitity(这取决于#1中的内容,操作系统版本)...

如果有'',请随时在此处发布你找到的任何其他东西或者我已经被误解了。

谢谢,

Steven Cheng
微软在线支持
安全! www.microsoft.com/security
(此帖已提供按原样,没有保证,也没有赋予
权利。)



---------------- ----
|主题:关于配置错误的问题消息
| thread-index:AcX3CzjCdckva5nJSQO1GEyzHD3TGQ ==
| X-WBNR-Posting-Host:210.182.98.176
| From:" =?Utf-8?B?UmlkZXI =?=" < ba ** @ newsgroups.nospam>
|主题:关于配置错误的问题消息
|日期:2005年12月1日星期四22:40:02 -0800
|行:35
|消息ID:< 85 ********************************** @ microsoft.co m>
| MIME版本:1.0
|内容类型:text / plain;
| charset =" Utf-8"
| Content-Transfer-Encoding:7bit
| X-Newsreader:适用于Windows 2000的Microsoft CDO
| Content-Class:urn:content-classes:message
|重要性:正常
|优先级:正常
| X-MimeOLE:由Microsoft MimeOLE制作V6.00.3790.0
|新闻组:microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host:TK2MSFTNGXA03.phx.gbl 10.40.2.250
|路径:TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
|外翻:TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:362249
| X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet
|
|关于asp.net配置的简单(?)问题..
|
|我已经成功安装了ASP.NET 2.0 QuickStart Sample。但是,当我是
|首先启动应用程序显示以下消息。
| =========
| / QuickStartv20应用程序中的服务器错误。
----------------------------------- -----------------------------------------
----
|
|配置错误
|说明:处理配置文件时发生错误
|需要为此请求提供服务。请查看具体的错误
详情
|在下面并适当修改您的配置文件。
|
|分析器错误消息:加载配置文件时出错:
失败
|开始监控对''d:\inetpub \ www.root''的更改,因为访问被拒绝了。
|
|来源错误:
|
|
| [没有相关的源代码行]
|
|
|源文件:d:\inetpub \wwwroot \web.config行:0
|
|
----------------- -------------------------------------------------- ---------
----
|版本信息:Microsoft .NET Framework版本:2.0.50727.42;
ASP.NET
|版本:2.0.50727.42
| =====================================
|
|有什么问题?我无法想象什么是错的......
|有什么身体可以告诉我,有什么问题???
|我该如何解决这个问题呢?
|
|祝你有个美好的一天~~
|
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=?=" <ba**@newsgroups.nospam>
| Subject: Question about "Configuration Error" Message
| Date: Thu, 1 Dec 2005 22:40:02 -0800
| Lines: 35
| Message-ID: <85**********************************@microsoft.co m>
| 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!TK2MSFT NGXA03.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~~
|



感谢您的快速回复Baho,


所以你的机器是WINXP sp2 / IIS5。

目前,我建议你先尝试更改你的ASP.NET运行

进程'' ■从默认machine \ aspnet到LOCALSYSTEM的帐户到

确保这是否是asp.net进程的权限问题

idenitity。要更改进程标识,可以按照以下步骤操作:


1.找到.NET框架2.0下的machine.config文件,使用

文件夹如:


C:\ WINDOWS \ MicroS.NET \ Framework \v2.0.50727 \ CONF IG


2.打开machine.config文件,找到< processModel>元素,由

默认配置为:


< processModel autoConfig =" true" />


,我们需要将其更改为:


< processModel autoConfig =" true" userName =" System" />


以便让ASP.NET工作进程在本地系统下运行

帐户(其中包含最多)本地

系统的强大权限和权限......)


3.通过iisreset重新启动IIS命令

然后,再次测试你的asp.net 2.0应用程序,看它是否可以

工作......


此外,这仅用于测试,通常我们不建议在本地系统帐户下运行asp.net

进程。另外,machine.config的

< processModel> element用于IIS5隔离模型。对于IIS6 / win2k3

服务器,它默认使用应用程序池模型,这与

不同。


无论如何,请如果有什么不清楚的话,试试看它是否有效并随时发布

...


谢谢,


Steven Cheng

Microsoft在线支持


安全! www.microsoft.com/security

(此帖子按原样提供,不作任何保证,并且不授予

权利。)


------------ --------

|主题:关于配置错误的问题消息

| thread-index:AcX3sBD65EPm92MaQzSgIHOQBE34Gw ==

| X-WBNR-Posting-Host:210.182.98.176

| From:" =?Utf-8?B?UmlkZXI =?=" < ba ** @ newsgroups.nospam>

|参考文献:< 85 ********************************** @ microsoft.co m>

< Df ************** @ TK2MSFTNGXA02.phx.gbl>

|主题:RE:关于配置错误的问题消息

|日期:2005年12月2日星期五18:20:02 -0800

|行:129

|消息ID:< 14 ********************************** @ microsoft.co m>

| MIME版本:1.0

|内容类型:text / plain;

| charset =" Utf-8"

|内容传输编码:7位

| X-Newsreader:适用于Windows 2000的Microsoft CDO

| Content-Class:urn:content-classes:message

|重要性:正常

|优先级:正常

| X-MimeOLE:由Microsoft MimeOLE制作V6.00.3790.0

|新闻组:microsoft.public.dotnet.framework.aspnet

| NNTP-Posting-Host:TK2MSFTNGXA03.phx.gbl 10.40.2.250

|路径:TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl

|外翻:TK2MSFTNGXA02.phx.gbl

microsoft.public.dotnet.framework.aspnet:362458

| X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet

|

|嗨史蒂文

|

|是的,我有错误。安装ASP.NET 2.0 QuickStart

|后我机器上的例子。我的机器环境详情是

| ---------------------------------

| 1.操作系统版本:

| Windows XP Professional,SP2

| ASP.NET版本2.0.50727

|

| 2. IIS物理目录:

| D:\ Inetpub \ www.root

|

| 3.快速入门示例目录:

| D:\Program Files\Microsoft Visual Studio 8 \ SDK \v2.0 \QuickStart

|

| 4.当前进程标识符

| aspnet_wp.exe 3628

| inetinfo.exe 1968

| ---------------------------------

|

| >嗨Baho,

| >

| >欢迎来到ASPNET新闻组。

| >从您的描述中,安装ASP.NET 2.0 QuickStart

|之后>你机器上的例子,你开始运行

|时会得到一些Erros >申请,是吗?

| >

| >根据您粘贴的错误消息,我认为这是一个文件访问

| >许可问题。似乎ASP.NET进程的标识不具备

| >有足够的权限访问webapplicaiton文件夹。你愿意吗?
| >请帮我收集以下信息:

| >

| > 1.什么是你的机器的操作系统版本(IIS版本)?

| >

| > 2.你在哪里安装了快速启动示例,直接在

IIS

| >默认网站的物理目录(inetpub \ www.root ...)?

| >

| > 3.用于运行

|的当前流程标识是什么? > ASP.NET applcation(这取决于#1中的内容,操作系统

版本)...

| >

| >如果您找到其他任何内容,请随时在此处发布或

我已经

| >误解了。

| >

| >谢谢,

| >

| > Steven Cheng

| > Microsoft在线支持

| >

| >安全! www.microsoft.com/security

| > (此帖子按原样提供,不作任何保证,并且不授予

|>权利。)

| >

| >

| >

| >

| >

| >

| >

| >

| > --------------------

| > |主题:关于配置错误的问题消息

| > | thread-index:AcX3CzjCdckva5nJSQO1GEyzHD3TGQ ==

| > | X-WBNR-Posting-Host:210.182.98.176

| > | From:" =?Utf-8?B?UmlkZXI =?=" < ba ** @ newsgroups.nospam>

| > |主题:关于配置错误的问题消息

| > |日期:2005年12月1日星期四22:40:02 -0800

| > |行数:35

| > |消息ID:< 85 ********************************** @ microsoft.co m>

| > | MIME版本:1.0

| > |内容类型:text / plain;

| > | charset =" Utf-8"

| > |内容传输编码:7位

| > | X-Newsreader:适用于Windows 2000的Microsoft CDO

| > | Content-Class:urn:content-classes:message

| > |重要性:正常

| > |优先级:正常

| > | X-MimeOLE:由Microsoft MimeOLE制作V6.00.3790.0

| > |新闻组:microsoft.public.dotnet.framework.aspnet

| > | NNTP-Posting-Host:TK2MSFTNGXA03.phx.gbl 10.40.2.250

| > |路径:TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl

| > |外翻:TK2MSFTNGXA02.phx.gbl

| > microsoft.public.dotnet.framework.aspnet:362249

| > | X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet

| > |

| > |关于asp.net配置的简单(?)问题..

| > |

| > |我已经成功安装了ASP.NET 2.0 QuickStart Sample。但是,当

我是

| > |首先启动应用程序显示以下消息。

| > | =========

| > | '/ QuickStartv20''应用程序中的服务器错误。

| >

---------------------------------------- ------------------------------------

| > ----

| > |

| > |配置错误

| > |说明:处理

配置时发生错误

| >文件

| > |需要为此请求提供服务。请查看具体的错误

| >详情

| > |在下面并适当修改您的配置文件。

| > |

| > |分析器错误消息:加载配置文件时出错:

| >失败

| > |开始监控对''d:\inetpub \ www.root''的更改,因为访问权限是

| >否认。

| > |

| > |来源错误:

| > |

| > |

| > | [没有相关的源代码行]

| > |

| > |

| > |源文件:d:\inetpub \wwwroot \web.config行:0

| > |

| > |

| >

---------------------------------------- ------------------------------------

| > ----

| > |版本信息:Microsoft .NET Framework版本:2.0.50727.42;

| > ASP.NET

| > |版本:2.0.50727.42

| > | =====================================

| > |

| > |有什么问题?我无法想象有什么问题......

| > |有什么身体可以告诉我,有什么问题???

| > |以及如何解决这个问题???

| > |

| > |祝你有个美好的一天~~

| > |

| >

| >

|

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\CONF IG

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=?=" <ba**@newsgroups.nospam>
| References: <85**********************************@microsoft.co m>
<Df**************@TK2MSFTNGXA02.phx.gbl>
| Subject: RE: Question about "Configuration Error" Message
| Date: Fri, 2 Dec 2005 18:20:02 -0800
| Lines: 129
| Message-ID: <14**********************************@microsoft.co m>
| 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!TK2MSFT NGXA03.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=?=" <ba**@newsgroups.nospam>
| > | Subject: Question about "Configuration Error" Message
| > | Date: Thu, 1 Dec 2005 22:40:02 -0800
| > | Lines: 35
| > | Message-ID: <85**********************************@microsoft.co m>
| > | 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!TK2MSFT NGXA03.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~~
| > |
| >
| >
|


这篇关于关于“配置错误”的问题信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆