15

I'm trying to get a classic ASP site set up on IIS Express under Windows XP. I am able to get iis setup and running as well as setting up the site, but when I try to browse to an asp page all I get is:

íP÷Pèö‚le”_/index.asp18 

Has anyone come across this problem with IISExpress? I'm thinking it's a permissions thing, but I'm not sure what I need to set and for which user.

Any help is appreciated,.

4

2 回答 2

31

好的,我们已经有了这个,这就是我找到解决方案的方式。在我们的例子中,我认为它与父路径相关联,但也可能是会话状态...

浏览到 C:\Documents and Settings\$您的用户名$\My Documents\IISExpress\config

打开 applicationHost.config

查找<system.webServer>部分

将部分更改<asp>为以下内容……默认情况下,它只有缓存和空限制位,但可以随意调整您不想要的任何参数。

<asp 
     enableParentPaths="true" 
     bufferingOn="true" 
     errorsToNTLog="true" 
     appAllowDebugging="true" 
     appAllowClientDebug="true" 
     scriptErrorSentToBrowser="true">

     <session allowSessionState="true" />
     <cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" />
     <limits />
</asp>

保存并重新启动iis express。

于 2011-03-18T14:15:45.373 回答
0

我不确定这是否是权限问题。您能否翻译错误消息“íP÷Pèö‚le”_/index.asp18”。如果看起来像权限问题,可能您需要向当前用户提供权限(IIS Express 以当前登录用户身份运行)。

于 2011-03-14T16:41:14.137 回答