无法从外部访问ASP.net页面 [英] Can't access ASP.net pages from outside

查看:104
本文介绍了无法从外部访问ASP.net页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个内部网设置,但是当你尝试从外面连接时,使用Windows登录&互联网ASP网页
内联网上的
(.aspx)将无法加载,但旧的asp页面(.asp)

加载。更令人沮丧的是,如果错误不会显示,我甚至试图将客户错误更改为关闭。从

仅限远程,仍然不会显示错误。那么有没有人知道导致这个问题的原因。

We have an intranet setup but when you try and connect from outside
the network using a windows login & the internet the ASP.net pages
(.aspx) on the intranet will not load but the old asp pages (.asp)
load. Whats more frustrating is the fact eventhe errors will not
show, I have even tried to change the customerrors to "off" from
"remote only", and still it won''t show the errors. So does anyone have
an idea as to what is causing this problem.

推荐答案

尝试更改IE设置.. 。


转到工具

互联网选项...

高级标签

取消选中显示友好的HTTP错误消息


确保在web.config root中有以下内容:

< customErrors mode =" Off" />


小心区分大小写。


Yama


" ree32" ; <再*** @ hotmail.com>在消息中写道

news:76 ************************** @ posting.google.c om ...
Try changing the IE setup...

Go to Tools
Internet Option...
Advanced tab
Uncheck "Show friendly HTTP error messages"

Make sure you have the following in the web.config root:
<customErrors mode="Off" />

Careful it is case-sensitive.

Yama

"ree32" <re***@hotmail.com> wrote in message
news:76**************************@posting.google.c om...
我们有一个内部网设置,但是当你尝试从外部连接时,使用Windows登录&互联网上的内部网上的ASP.net页面(.aspx)将不会加载但旧的asp页面(.asp)
加载。更令人沮丧的是,如果错误不会显示,我甚至试图将客户错误更改为关闭。来自
仅限远程,仍然不会显示错误。那么有没有人知道造成这个问题的原因。
We have an intranet setup but when you try and connect from outside
the network using a windows login & the internet the ASP.net pages
(.aspx) on the intranet will not load but the old asp pages (.asp)
load. Whats more frustrating is the fact eventhe errors will not
show, I have even tried to change the customerrors to "off" from
"remote only", and still it won''t show the errors. So does anyone have
an idea as to what is causing this problem.



你收到什么消息?

ree32 <再*** @ hotmail.com>在消息中写道

news:76 ************************** @ posting.google.c om ...
What message do you get?
"ree32" <re***@hotmail.com> wrote in message
news:76**************************@posting.google.c om...
我们有一个内部网设置,但是当你尝试从外部连接时,使用Windows登录&互联网上的内部网上的ASP.net页面(.aspx)将不会加载但旧的asp页面(.asp)
加载。更令人沮丧的是,如果错误不会显示,我甚至试图将客户错误更改为关闭。来自
仅限远程,仍然不会显示错误。那么有没有人知道导致这个问题的原因。
We have an intranet setup but when you try and connect from outside
the network using a windows login & the internet the ASP.net pages
(.aspx) on the intranet will not load but the old asp pages (.asp)
load. Whats more frustrating is the fact eventhe errors will not
show, I have even tried to change the customerrors to "off" from
"remote only", and still it won''t show the errors. So does anyone have
an idea as to what is causing this problem.



" Jeff Dillon" < JE ** @ removeemergencyreporting.com>在消息新闻中写道:< #d ************** @ TK2MSFTNGP11.phx.gbl> ...
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<#d**************@TK2MSFTNGP11.phx.gbl>...
你收到什么信息?
What message do you get?



所有关于custum错误的废话应设置为off以获得

请参阅错误消息。我也将它设置为关闭。


All that crap about custum errors should be set to off inorder to get
see the error message. I have set it to off too.


这篇关于无法从外部访问ASP.net页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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