Web应用程序给出404未找到错误 [英] Web application giving 404 not found error
问题描述
我有两个Web应用程序(主站点和我的站点)都在端口80中运行完美。由于调试在附加工作进程后仍无法正常工作,我尝试使用命令行工具重置visual studio设置。之后我的Web应用程序没有加载,即使我尝试从IIS访问,它显示404 Not found错误。我不知道它是否因为Visual Studio设置重置而重置。在IIS RESET /应用程序池重置后,我仍然会收到同样的错误。
任何人都可以请帮助我运行Web应用程序,并在visual studio中获取调试模式以获得sharepoint解决方案。
我尝试过:
我有1个wfe和1个ap服务器。我尝试创建新的Web应用程序,也只能从AP服务器访问。不是来自WFE服务器。
IIS重置,服务重新启动,应用程序池和用户凭据重置
I have 2 web applicaitons (Main site and My site) both were running perfectly in port 80. Since debug was not working even after attaching worker process, i tried to reset visual studio settings using command line tool. after that my web applications are not loading, even if i try to access from IIS, its showing 404 Not found error. i dont know whether its because of Visual studio settings reset or not. After IIS RESET / Application Pool reset also still i am getting the same error.
Can anyone please help me to get the web application running and also to get the debugging mode in visual studio for sharepoint solutions.
What I have tried:
I have 1 wfe and 1 ap server. I tried to create new web apllication, that also only accesible from AP server only. not from WFE server.
IIS RESET, Services restarted, application pool and user credentials reseted
推荐答案
您基本上需要做的是转到您的IIS - >点击您的域名 - >绑定 - >并将www.yourDomain.com和YourDomain.com添加到IP。如果你有第二个网站,你只需做同样的事情
如果对你有帮助,请将此回复标记为答案。谢谢堆!
That you basically need to do is to go to your IIS -> click your domain -> Bindings -> and add "www.yourDomain.com" and "YourDomain.com" to the IP. If you have a second site, you just have to do exactly the same thing
Please mark this response as an "answer" if it helps you. Thanks heaps!
这篇关于Web应用程序给出404未找到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!