开发者

Cannot access classic asp files through IIS

开发者 https://www.devze.com 2023-03-31 04:39 出处:网络
Windows 2003 IIS 6 I have a virtual directory called offline. I can access the default.htm file via http://localhost/offline/default.htm

Windows 2003 IIS 6 I have a virtual directory called offline. I can access the default.htm file via

http://localhost/offline/default.htm

but

http://localhost/offline/config.asp

returns with "The page cannot be displayed". I can see the file through the IIS manager interface. In the application configuration .asp is listed as an application extension. Execute permissions on开发者_StackOverflow the virtual directory are "scripts only" So the questions is Why won't the file display?


In the IIS Manager under the server node in the tree view select the "Web Service Extensions" node.

On the right hand side ensure "Active Server Pages" is "Allowed". You should have "Server Side Includes" allowed as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消