为什么我会收到此错误:“该网站拒绝显示此网页” [英] Why do i get this error: "The website declined to show this webpage"

查看:173
本文介绍了为什么我会收到此错误:“该网站拒绝显示此网页”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发布了我的asp.net mvc应用程序作为部署包,一旦在Windows 7上安装它运行正常。但是,当尝试在Windows XP上执行相同操作时,我收到以下错误:





我正在运行asp.net v4.0.3并执行了aspnet_regiis.exe -i。我也启用了匿名访问,如下面的屏幕截图所示。





所以我不知道为什么它没有查看网页的权限,因为不需要登录。这是我发布的目录结构。任何帮助将不胜感激。



解决方案

试试这可能对Windows XP系统有所帮助,需要添加ASP.NET用户帐户并启用对该文件夹的访问。



感谢您是否适合您。这解决了我的问题。


I have published my asp.net mvc application as a deployment package and once setup on windows 7 it runs fine. However when trying to do the same on windows xp, I get the error below:

I am running asp.net v4.0.3 and i have executed "aspnet_regiis.exe -i". I have also enabled "Anonymous access" as can be seen in the screen shot below.

So I have no idea why it doesn't have permission to view the webpage as no login is required. Here is my published directory structure. Any help will be appreciated.

1st Edit. I've included a screenshot of my user accounts showing the ASPNET account. This account has full access to all the folders but this hasn't made a difference

解决方案

Try this may help you in Windows XP system, need to add the ASP.NET user account and enable the access to the folder.

appreciate if it worked for you. This solved me same.

这篇关于为什么我会收到此错误:“该网站拒绝显示此网页”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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