在远程计算机上运行Web应用程序时出现运行时错误 [英] Runtime error while running web application on remote machine

查看:77
本文介绍了在远程计算机上运行Web应用程序时出现运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




在web服务器上的deploymnet web应用程序之后,我可以在本地

机器上访问页面并登录正常但是当我正在尝试从远程访问网站

机器我可以看到登录页面,但是当我尝试使用正确的

凭证登录时,它会给我错误:


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


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

----

运行时错误


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

错误设置会阻止应用程序的详细信息因远程查看而导致
错误(出于安全原因)。但是,可以在本地服务器计算机上运行的浏览器查看



详细信息:要使此特定错误消息的详细信息可见

在远程计算机上,请创建一个< customErrors>标记位于当前web

应用程序根目录下的web.config

配置文件中。这个< customErrors>然后,标签应该具有其模式。属性

设置为关闭。


任何建议和关注???????


谢谢


Marina

Hi,

After deploymnet web application on web server I can access page on local
machine and login fine but when I''m trying to access web site from remote
machine I can see login page, but when I''m trying to login with correct
credentials it give me error:

Server Error in ''/PDVMgr'' 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 <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".

ANY SUGGESTIONS AND CONCERNS???????

Thanks

Marina

推荐答案

尝试通过临时设置customErrors来获取实际的错误信息
模式关闭。这应该会告诉你在

远程服务器上遇到的实际异常。


-

这个帖子是提供按原样没有保证,也没有授予任何权利。

使用包含的脚本样本须遵守
http://www.microsoft.com/info/cpyright.htm


" Marina Anufreichik" < marina_at_pdvcorp_dot_com>在留言中写道

news:uK ************** @ TK2MSFTNGP10.phx.gbl ...
Try getting the actual error message by temporarily setting the customErrors
mode to off. That should show you the actual exception you''re getting on the
remote server.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Marina Anufreichik" <marina_at_pdvcorp_dot_com> wrote in message
news:uK**************@TK2MSFTNGP10.phx.gbl...

在web服务器上部署网络应用程序之后,我可以在本地机器上访问页面并登录正常但是当我试图从远程机器访问网站时我可以看到登录页面,但是当我尝试使用正确的凭证登录时,它会给我一个错误:

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

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

运行时错误

说明:服务器上发生应用程序错误。此应用程序的当前
自定义错误设置可防止远程查看应用程序错误的详细信息(出于安全原因)。然而,可以通过在本地服务器计算机上运行的浏览器来查看


详细信息:要使此特定错误消息的详细信息在远程计算机上可以查看
,请创建一个< customErrors>
" web.config"中的标记配置文件位于当前web
应用程序的根目录中。这个< customErrors>然后,标签应该具有其模式。属性
设置为关闭。

任何建议和关注???????

谢谢

Marina
Hi,

After deploymnet web application on web server I can access page on local
machine and login fine but when I''m trying to access web site from remote
machine I can see login page, but when I''m trying to login with correct
credentials it give me error:

Server Error in ''/PDVMgr'' 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 <customErrors> tag within a "web.config" configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".

ANY SUGGESTIONS AND CONCERNS???????

Thanks

Marina



在web配置中,customErrors的设置已关闭,但仍然没有显示



谢谢


Marina


" Shuvro Mazumder [MSFT]" < SH ***** @ online.microsoft.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP14.phx.gbl ...
In web config the setting for customErrors is off, but it still not
displaying

Thanks

Marina

"Shuvro Mazumder [MSFT]" <sh*****@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
尝试获取临时将
customErrors模式设置为off的实际错误消息。这应该会告诉你远程服务器上
的实际例外情况。

- 这个帖子是原样提供的。没有保证,并且不授予
权利。使用包含的脚本样本须遵守
http: //www.microsoft.com/info/cpyright.htm

Marina Anufreichik < marina_at_pdvcorp_dot_com>在消息中写道
新闻:英国************** @ TK2MSFTNGP10.phx.gbl ...
Try getting the actual error message by temporarily setting the customErrors mode to off. That should show you the actual exception you''re getting on the remote server.

--
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Marina Anufreichik" <marina_at_pdvcorp_dot_com> wrote in message
news:uK**************@TK2MSFTNGP10.phx.gbl...

在web服务器上部署网络应用程序后,我可以访问
本地计算机上的页面并登录正常但是当我试图从
远程计算机访问网站时,我可以看到登录页面,但是当我'我尝试使用正确的
凭据登录它会给我发错:

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

After deploymnet web application on web server I can access page on local machine and login fine but when I''m trying to access web site from remote machine I can see login page, but when I''m trying to login with correct
credentials it give me error:

Server Error in ''/PDVMgr'' Application.



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



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

----

运行时错误

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

Runtime Error

Description: An application error occurred on the server. The current


自定义

错误设置可防止远程查看
应用程序错误的详细信息(出于安全原因)。它可以,
error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could,


然而,

可以在本地服务器计算机上运行的浏览器查看。

详细信息:启用此特定错误的详细信息要在远程计算机上显示消息
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be


,请创建一个< customErrors>标记位于当前web
应用程序根目录下的
on remote machines, please create a <customErrors> tag within a


" web.config"


"web.config"

配置文件中。这个< customErrors>然后,标签应该具有其模式。
属性设置为关闭。

任何建议和关注???????

谢谢

Marina
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute set to "Off".

ANY SUGGESTIONS AND CONCERNS???????

Thanks

Marina




可能在您的网络服务器上的machine.config中覆盖了该设置

- Shuvro


-

此帖子按原样提供。没有保证,也没有授予任何权利。

使用包含的脚本样本须遵守
http://www.microsoft.com/info/cpyright.htm


" Marina Anufreichik" < marina_at_pdvcorp_dot_com>在消息中写道

news:e9 ************** @ TK2MSFTNGP15.phx.gbl ...
Maybe the setting is overridden in the machine.config on your webserver

- Shuvro

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Marina Anufreichik" <marina_at_pdvcorp_dot_com> wrote in message
news:e9**************@TK2MSFTNGP15.phx.gbl...
在web配置中设置对于customErrors是关闭的,但它仍然没有显示

感谢

Marina

Shuvro Mazumder [MSFT]" < SH ***** @ online.microsoft.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP14.phx.gbl ...
In web config the setting for customErrors is off, but it still not
displaying

Thanks

Marina

"Shuvro Mazumder [MSFT]" <sh*****@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
尝试获取实际的错误消息暂时将
Try getting the actual error message by temporarily setting the


customErrors


customErrors

模式设置为关闭。这应该会显示你正在进行的实际异常
mode to off. That should show you the actual exception you''re getting on


远程服务器。

-
这个帖子是提供按原样没有保证,也没有赋予
remote server.

--
This posting is provided "AS IS" with no warranties, and confers no


权利。

使用包含的脚本样本须遵守
中指定的条款 http://www.microsoft.com/info/cpyright.htm
Marina Anufreichik < marina_at_pdvcorp_dot_com>在消息中写道
新闻:英国************** @ TK2MSFTNGP10.phx.gbl ...
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Marina Anufreichik" <marina_at_pdvcorp_dot_com> wrote in message
news:uK**************@TK2MSFTNGP10.phx.gbl...

在web服务器上部署网络应用程序后,我可以访问本地计算机上的页面并登录正常但是当我试图从远程计算机访问网站时,我可以看到登录页面,但是当我尝试使用$ b登录时$ b正确的凭据它给了我错误:'/ / PDVMgr''应用程序中的服务器错误。
Hi,

After deploymnet web application on web server I can access page on local machine and login fine but when I''m trying to access web site from remote machine I can see login page, but when I''m trying to login with correct credentials it give me error:

Server Error in ''/PDVMgr'' Application.



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



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

-
----

运行时错误

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

Runtime Error

Description: An application error occurred on the server. The current


自定义

错误设置可防止远程查看应用程序错误的详细信息(出于安全原因)。它可以,
error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could,


然而,

可以在本地服务器计算机上运行的浏览器查看。

详细信息:启用此特定错误的详细信息要在远程计算机上显示消息
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be


,请创建一个< customErrors>标记位于当前web
应用程序根目录下的
on remote machines, please create a <customErrors> tag within a


" web.config"


"web.config"

配置文件中。这个< customErrors>然后,标签应该具有其模式。属性设置为关闭。

任何建议和关注???????

谢谢

Marina
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute set to "Off".

ANY SUGGESTIONS AND CONCERNS???????

Thanks

Marina





这篇关于在远程计算机上运行Web应用程序时出现运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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