Server.MapPath - 父路径已禁用 - Windows 2003 IIS 6 - WorkAround [英] Server.MapPath - Parent Paths Disabled - Windows 2003 IIS 6 - WorkAround

查看:62
本文介绍了Server.MapPath - 父路径已禁用 - Windows 2003 IIS 6 - WorkAround的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们

希望你做得很好。


我最近转移到使用Windows 2003和IIS的webhost

6.现在我的应用程序工作正常,但现在我正面临这个

问题


Server.MapPath()错误''ASP 0175:80004005 ''

不允许的路径字符

/backend/_add_two.asp,第103行

...字符不允许在

MapPath方法的Path参数。


现在我发现这个错误是因为默认设置为Enable

在IIS 6.0中默认禁用父路径。

更多信息可以在support.microsoft.com/?id=332117找到。


现在怎么办?我的服务提供商无法更改该设置。什么是

解决方法,如何访问向下移动的目录。任何帮助将

被赞赏。




可爱


** *通过开发人员指南 http://www.developersdex.com 发送***

不要只是参加USENET ......获得奖励!

Dear Friends
Hope you doing great.

I have recently shifted to a webhost which is Using Windows 2003 and IIS
6. Now my application was working fine earlier but now I am facing this
problem

Server.MapPath() error ''ASP 0175 : 80004005''
Disallowed Path Characters
/backend/_add_two.asp, line 103
The ''..'' characters are not allowed in the Path parameter for the
MapPath method.

Now I found out that this error is because of default setting of Enable
Parent Paths is disabled by default in IIS 6.0.
More info can be found at support.microsoft.com/?id=332117.

Now what if my service provider cant change that setting. What is the
work around, how to access the directory movving up down. Any help will
be appreciated.

Love
Lovely

*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!

推荐答案

我看不出任何理由他们无法启用它作为我的主机

升级到WS2003与IIS6发布时我到目前为止没有问题

路径。可能想了解它的原因是什么?

禁用; o)


-


问候


Steven Burn

Ur IT Mate Group
www.it-mate.co.uk


保持免费!

可爱天使 <螺****************** @ yahoo.com>在消息中写道

新闻:#j ************* @ TK2MSFTNGP12.phx.gbl ...
I don''t see any reason for their not being able to enable it as my host
upgraded to WS2003 w/IIS6 when it was released and I''ve had no problems with
paths so far. Might want to get onto them about the reasons for it being
disabled ;o)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Lovely Angel" <lo******************@yahoo.com> wrote in message
news:#j*************@TK2MSFTNGP12.phx.gbl...
亲爱的朋友们>希望你做得很好。

我最近转移到了一个使用Windows 2003和IIS的webhost。现在我的应用程序工作正常,但现在我正面临着这个问题。 >问题

Server.MapPath()错误''ASP 0175:80004005''
不允许的路径字符
/backend/_add_two.asp,第103行
'
MapPath方法的Path参数中不允许使用'..''字符。

现在我发现这个错误是因为启用默认设置
父路径在IIS 6.0中默认禁用。
更多信息可以在support.microsoft.com/?id=332117上找到。

现在,如果我的服务提供商无法更改该设置,该怎么办?什么是
解决方法,如何访问向上移动的目录。任何帮助将不胜感激。


可爱

***通过Developersdex发送 http://www.developersdex.com ***
不要只是参加USENET ......获得奖励!
Dear Friends
Hope you doing great.

I have recently shifted to a webhost which is Using Windows 2003 and IIS
6. Now my application was working fine earlier but now I am facing this
problem

Server.MapPath() error ''ASP 0175 : 80004005''
Disallowed Path Characters
/backend/_add_two.asp, line 103
The ''..'' characters are not allowed in the Path parameter for the
MapPath method.

Now I found out that this error is because of default setting of Enable
Parent Paths is disabled by default in IIS 6.0.
More info can be found at support.microsoft.com/?id=332117.

Now what if my service provider cant change that setting. What is the
work around, how to access the directory movving up down. Any help will
be appreciated.

Love
Lovely

*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!



这不是他的任何一个问题的答案。

为什么不回答问题或退出? br />

" Steven Burn" < pv*@noyb.com>在消息中写道

news:u5 ************** @ TK2MSFTNGP09.phx.gbl ...
That is exactly not the answer to either of his questions.
Why not just answer the questions or step aside?

"Steven Burn" <pv*@noyb.com> wrote in message
news:u5**************@TK2MSFTNGP09.phx.gbl...
我不是看到他们无法启用它作为我的主机的任何原因
升级到WS2003与IIS6发布时我已经没有问题
路径到目前为止。可能想了解它被禁用的原因; o)

-

问候

史蒂文伯恩<你好IT Mate Group
www.it-mate.co.uk

保持免费!

可爱天使 <螺****************** @ yahoo.com>在消息中写道
新闻:#j ************* @ TK2MSFTNGP12.phx.gbl ...
I don''t see any reason for their not being able to enable it as my host
upgraded to WS2003 w/IIS6 when it was released and I''ve had no problems with paths so far. Might want to get onto them about the reasons for it being
disabled ;o)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Lovely Angel" <lo******************@yahoo.com> wrote in message
news:#j*************@TK2MSFTNGP12.phx.gbl...
亲爱的朋友们
希望你们这样做很好。

我最近转移到了使用Windows 2003和IIS的webhost。现在我的应用程序工作正常,但现在我正面临这个问题
/>
Server.MapPath()错误''ASP 0175:80004005''
不允许的路径字符
/backend/_add_two.asp,第103行
''..' '/> MapPath方法的Path参数中不允许使用字符。

现在我发现此错误是由于启用默认设置
默认情况下禁用父路径在IIS 6.0中。
有关详细信息,请访问support.microsoft.com/?id=332117。

现在,如果我的服务提供商无法更改该设置,该怎么办?什么是
解决方法,如何访问向上移动的目录。任何帮助将不胜感激。


可爱

***通过Developersdex发送 http://www.developersdex.com ***
不要只是参加USENET ......获得奖励!
Dear Friends
Hope you doing great.

I have recently shifted to a webhost which is Using Windows 2003 and IIS
6. Now my application was working fine earlier but now I am facing this
problem

Server.MapPath() error ''ASP 0175 : 80004005''
Disallowed Path Characters
/backend/_add_two.asp, line 103
The ''..'' characters are not allowed in the Path parameter for the
MapPath method.

Now I found out that this error is because of default setting of Enable
Parent Paths is disabled by default in IIS 6.0.
More info can be found at support.microsoft.com/?id=332117.

Now what if my service provider cant change that setting. What is the
work around, how to access the directory movving up down. Any help will
be appreciated.

Love
Lovely

*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!




Microsoft似乎认为应该在IIS 4& IIS 5为

well。


http://support.microsoft.com

184717 AspEnableParentPaths MetaBase属性应该设置为假


从它的内容来看,它听起来应该被禁用。


既然你没有发布产生这个错误的代码,我就不会想到

任何解决方法。


如果您发布代码我们可以帮助您更好。


可爱天使写道:
Microsoft seems to think that it should be disabled on IIS 4 & IIS 5 as
well.

Check out the following article over at http://support.microsoft.com

184717 AspEnableParentPaths MetaBase Property Should Be Set To False

From what it says it sounds like they thing it should be disabled.

Since you didn''t post the code that creates this error I can''t think of
any workarounds.

If you post the code we can help you better.

Lovely Angel wrote:
亲爱的朋友
希望你做得很好。

我最近转移到了一个使用Windows 2003和IIS的webhost
6现在我的应用程序工作正常,但现在我正面临这个问题

Server.MapPath()错误''ASP 0175:80004005''
不允许的路径字符
/backend/_add_two.asp,第103行
''。 。
MapPath方法的Path参数中不允许使用字符。

现在我发现这个错误是因为启用默认设置
父路径被禁用默认情况下,在IIS 6.0中。
更多信息可以在support.microsoft.com/?id=332117上找到。

现在如果我的服务提供商无法更改该设置该怎么办。什么是
解决方法,如何访问向上移动的目录。任何帮助将不胜感激。


可爱

***通过Developersdex发送 http://www.developersdex.com ***
不要只是参加USENET ......获得奖励!
Dear Friends
Hope you doing great.

I have recently shifted to a webhost which is Using Windows 2003 and IIS
6. Now my application was working fine earlier but now I am facing this
problem

Server.MapPath() error ''ASP 0175 : 80004005''
Disallowed Path Characters
/backend/_add_two.asp, line 103
The ''..'' characters are not allowed in the Path parameter for the
MapPath method.

Now I found out that this error is because of default setting of Enable
Parent Paths is disabled by default in IIS 6.0.
More info can be found at support.microsoft.com/?id=332117.

Now what if my service provider cant change that setting. What is the
work around, how to access the directory movving up down. Any help will
be appreciated.

Love
Lovely

*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!






这篇关于Server.MapPath - 父路径已禁用 - Windows 2003 IIS 6 - WorkAround的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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