Windows Server 2003 R2下的ASP.NET配置错误 [英] ASP.NET Configuration Error under Windows Server 2003 R2

查看:87
本文介绍了Windows Server 2003 R2下的ASP.NET配置错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的雇主开始迈出将其

Classic ASP代码库迁移到ASP.NET v2.0的第一步。我们在新的Windows Server 2003 R2测试服务器上有我们现有的

网站的副本,并且所有内容

运行正常。但是,当我创建一个简单的HelloWorld.aspx

文件,然后在同一台机器上从VS.NET 2005浏览到该页面时,我将获得以下内容:错误信息:


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

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

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


运行时错误

描述:服务器上发生应用程序错误。此应用程序的当前

自定义错误设置可防止远程查看

应用程序错误的详细信息(出于安全原因)。然而,
可以被运行在本地服务器上的浏览器查看

机器。


详细信息:启用详细信息要在远程计算机上查看此特定错误消息,请在

aweb.config中创建< customErrorstag。配置文件位于

当前Web应用程序的根目录中。这个< customErrorstag应该具有其

"模式"属性设置为关闭。

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

我在谷歌群组中搜索过高低,我能找到的所有内容都是

帖子提到某种权限问题。但是,我有点/ b $ b不知道在哪里 - 或者如何 - 开始搜索这些潜在的

权限问题......或者如果这甚至是问题。任何人们可以提供或建议的帮助都将非常感谢...感谢

提前!

- = Tek Boy = -

My employer is starting to take the first steps towards migrating its
Classic ASP codebase to ASP.NET v2.0. We have a copy of our existing
website on the new Windows Server 2003 R2 test server, and everything
is running fine. However, when I create a simple "HelloWorld.aspx"
file, then browse to the page from VS.NET 2005 on the same machine, I
get the following error message:

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

Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It
could, however, be viewed by browsers running on the local server
machine.

Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrorstag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrorstag should then have its
"mode" attribute set to "Off".
================================================
I''ve searched high and low on Google Groups, and all I can find are
posts that allude to some kind of permissions problem. However, I have
no idea where -- or how -- to start searching for these potential
permissions problems... or if that''s even the problem. Any help that
folks could offer or suggest would be greatly appreciated... thanks in
advance!
-= Tek Boy =-

推荐答案

您是否将R2上的.Net Framework版本升级到发行版?


.Net Framework的发行版本号为2.0.50727.42

R2'的版本号为2.0.50727.210


确保你拥有发布版本运行。


Juan T. Llibre,asp.net MVP

asp.net faq: http://asp.net.do/faq/

foros de asp.net ,en espa?ol: http://asp.net.do/foros/

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

< de ********* @ gmail.com写信息

新闻:11 ******************* **@h48g2000cwc.googlegro ups.com ...
Did you upgrade the .Net Framework version on R2 to the Release version ?

The .Net Framework''s Release version number is 2.0.50727.42
R2''s version number is 2.0.50727.210

Make sure you have the Release version running.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
===================================
<de*********@gmail.comwrote in message
news:11*********************@h48g2000cwc.googlegro ups.com...

我的雇主开始迈出将其

Classic ASP代码库迁移到ASP.NET v2.0的第一步。我们在新的Windows Server 2003 R2测试服务器上有我们现有的

网站的副本,并且所有内容

运行正常。但是,当我创建一个简单的HelloWorld.aspx

文件,然后在同一台机器上从VS.NET 2005浏览到该页面时,我将获得以下内容:错误信息:


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

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

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


运行时错误

描述:服务器上发生应用程序错误。此应用程序的当前

自定义错误设置可防止远程查看

应用程序错误的详细信息(出于安全原因)。然而,
可以被运行在本地服务器上的浏览器查看

机器。


详细信息:启用详细信息要在远程计算机上查看此特定错误消息,请在

aweb.config中创建< customErrorstag。配置文件位于

当前Web应用程序的根目录中。这个< customErrorstag应该具有其

"模式"属性设置为关闭。

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


我在谷歌群组中搜索过高低,我能找到的只有

帖子暗示某种权限问题。但是,我有点/ b $ b不知道在哪里 - 或者如何 - 开始搜索这些潜在的

权限问题......或者如果这甚至是问题。任何人们可以提供或建议的b
的帮助都将非常感谢...感谢

提前!


- = Tek男孩= -
My employer is starting to take the first steps towards migrating its
Classic ASP codebase to ASP.NET v2.0. We have a copy of our existing
website on the new Windows Server 2003 R2 test server, and everything
is running fine. However, when I create a simple "HelloWorld.aspx"
file, then browse to the page from VS.NET 2005 on the same machine, I
get the following error message:

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

Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It
could, however, be viewed by browsers running on the local server
machine.

Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrorstag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrorstag should then have its
"mode" attribute set to "Off".
================================================
I''ve searched high and low on Google Groups, and all I can find are
posts that allude to some kind of permissions problem. However, I have
no idea where -- or how -- to start searching for these potential
permissions problems... or if that''s even the problem. Any help that
folks could offer or suggest would be greatly appreciated... thanks in
advance!
-= Tek Boy =-



胡安 -


我应该在哪里查看是否我我正在运行

..NET v2.0的发布版本?如果我应该在IIS6的ASP.NET中查看ASP.NET版本

字段。标签,它说1.1.4322。但是,

文件位置字段指向

" v2.0.50727"中的web.config文件。目录...

- = Tek Boy = -

Juan T. Llibre写道:
Juan --

Where should I be checking to see if I''m running the release version of
..NET v2.0? If I''m supposed to be looking in the "ASP.NET version"
field inside IIS6''s "ASP.NET" tab, it says "1.1.4322". However, the
"File location" field is pointing to the web.config file in the
"v2.0.50727" directory...
-= Tek Boy =-
Juan T. Llibre wrote:

你有没有将R2上的.Net Framework版本升级到Release版本?


.Net Framework的发行版本号为2.0.50727.42

R2''版本号是2.0.50727.210


确保你的版本正在运行。


Juan T. Llibre,asp .net MVP

asp.net faq: http:// asp .net.do / faq /

foros de asp.net,en espa?ol: http://asp.net.do/foros/

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

< de ********* @ gmail.comwrote in message

news:11 ********************* @ h48g2000cwc.googlegro ups.com ...
Did you upgrade the .Net Framework version on R2 to the Release version ?

The .Net Framework''s Release version number is 2.0.50727.42
R2''s version number is 2.0.50727.210

Make sure you have the Release version running.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
===================================
<de*********@gmail.comwrote in message
news:11*********************@h48g2000cwc.googlegro ups.com...

我的雇主开始迈出第一步,转移它的

经典ASP代码库到ASP.NET v2.0。我们在新的Windows Server 2003 R2测试服务器上有我们现有的

网站的副本,并且所有内容

运行正常。但是,当我创建一个简单的HelloWorld.aspx

文件,然后在同一台机器上从VS.NET 2005浏览到该页面时,我将获得以下内容:错误信息:


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

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

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


运行时错误

描述:服务器上发生应用程序错误。此应用程序的当前

自定义错误设置可防止远程查看

应用程序错误的详细信息(出于安全原因)。然而,
可以被运行在本地服务器上的浏览器查看

机器。


详细信息:启用详细信息要在远程计算机上查看此特定错误消息,请在

aweb.config中创建< customErrorstag。配置文件位于

当前Web应用程序的根目录中。这个< customErrorstag应该具有其

"模式"属性设置为关闭。

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

我在谷歌群组中搜索过高低,我能找到的所有内容都是

帖子提到某种权限问题。但是,我有点/ b $ b不知道在哪里 - 或者如何 - 开始搜索这些潜在的

权限问题......或者如果这甚至是问题。任何人们可以提供或建议的帮助都将非常感谢...感谢

提前!

- = Tek Boy = -
My employer is starting to take the first steps towards migrating its
Classic ASP codebase to ASP.NET v2.0. We have a copy of our existing
website on the new Windows Server 2003 R2 test server, and everything
is running fine. However, when I create a simple "HelloWorld.aspx"
file, then browse to the page from VS.NET 2005 on the same machine, I
get the following error message:

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

Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It
could, however, be viewed by browsers running on the local server
machine.

Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrorstag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrorstag should then have its
"mode" attribute set to "Off".
================================================
I''ve searched high and low on Google Groups, and all I can find are
posts that allude to some kind of permissions problem. However, I have
no idea where -- or how -- to start searching for these potential
permissions problems... or if that''s even the problem. Any help that
folks could offer or suggest would be greatly appreciated... thanks in
advance!
-= Tek Boy =-


Juan -


我相信如此。在ASPX页面的底部(并在错误

消息下方),我看到以下文字:


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

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

ASP.NET版本:2.0.50727.210"

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

- = Tek Boy = -

Juan T. Llibre写道:
Juan --

I believe so. At the bottom of the ASPX page (and below the error
messages), I see the following text:

================================================
"Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.210"
================================================
-= Tek Boy =-
Juan T. Llibre wrote:

您是否将R2上的.Net Framework版本升级到Release版本?


.Net Framework的发布版本号是2.0.50727.42

R2'的版本号是2.0.50727.210


确保你的Release版本正在运行。


Juan T. Llibre,asp.net MVP

asp.net faq: http://asp.net.do/faq/

foros de asp.net,en espa?ol: http://asp.net.do/foros/

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

< de ********* @ gmail.comwrote in message

news :11 ********************* @ h48g2000cwc.googlegro ups.com ...
Did you upgrade the .Net Framework version on R2 to the Release version ?

The .Net Framework''s Release version number is 2.0.50727.42
R2''s version number is 2.0.50727.210

Make sure you have the Release version running.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
===================================
<de*********@gmail.comwrote in message
news:11*********************@h48g2000cwc.googlegro ups.com...

My雇主开始迈出第一步,将其经典的ASP代码库迁移到ASP.NET v2.0。我们在新的Windows Server 2003 R2测试服务器上有我们现有的

网站的副本,并且所有内容

运行正常。但是,当我创建一个简单的HelloWorld.aspx

文件,然后在同一台机器上从VS.NET 2005浏览到该页面时,我将获得以下内容:错误信息:


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

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

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


运行时错误

描述:服务器上发生应用程序错误。此应用程序的当前

自定义错误设置可防止远程查看

应用程序错误的详细信息(出于安全原因)。然而,
可以被运行在本地服务器上的浏览器查看

机器。


详细信息:启用详细信息要在远程计算机上查看此特定错误消息,请在

aweb.config中创建< customErrorstag。配置文件位于

当前Web应用程序的根目录中。这个< customErrorstag应该具有其

"模式"属性设置为关闭。

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

我在谷歌群组中搜索过高低,我能找到的所有内容都是

帖子提到某种权限问题。但是,我有点/ b $ b不知道在哪里 - 或者如何 - 开始搜索这些潜在的

权限问题......或者如果这甚至是问题。任何人们可以提供或建议的帮助都将非常感谢...感谢

提前!

- = Tek Boy = -
My employer is starting to take the first steps towards migrating its
Classic ASP codebase to ASP.NET v2.0. We have a copy of our existing
website on the new Windows Server 2003 R2 test server, and everything
is running fine. However, when I create a simple "HelloWorld.aspx"
file, then browse to the page from VS.NET 2005 on the same machine, I
get the following error message:

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

Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It
could, however, be viewed by browsers running on the local server
machine.

Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrorstag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrorstag should then have its
"mode" attribute set to "Off".
================================================
I''ve searched high and low on Google Groups, and all I can find are
posts that allude to some kind of permissions problem. However, I have
no idea where -- or how -- to start searching for these potential
permissions problems... or if that''s even the problem. Any help that
folks could offer or suggest would be greatly appreciated... thanks in
advance!
-= Tek Boy =-


这篇关于Windows Server 2003 R2下的ASP.NET配置错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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