Why do i get this error: “The website declined to show this webpage”

橙三吉。 提交于 2019-12-12 03:32:02

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/36035903/why-do-i-get-this-error-the-website-declined-to-show-this-webpage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!