且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在IIS 10在Windows 10上运行ASP.NET MVC应用程序

更新时间:2022-05-09 23:08:05

我有类似的问题 - 在我的情况下,IIS只是还没有充分的权限访问文件夹,我把网站文件...

I had similar problem - in my case IIS just have not full rights to access folder where I put website files...

充分访问目录通过Windows属性/安全解决的问题在我的情况。

Giving full access to directory via Windows Properties/Security resolved problem in my case.

试试把你的网站文件 C:\\的Inetpub - 我的经验这是***的位置(但应该没有什么区别)

Try put your website files to C:\inetpub - form my experience it's the best location (but should make no difference).

其他的事情:
- 检查如果IIS有权 C:\\的Inetpub &安培; .. \\文档\\ IISEx preSS
- 检查你是否已经安装了正确的版本OD .NET和ASP.NET

Other things: - check if IIs have rights to C:\inetpub & ..\Documents\IISExpress - check if you have installed right version od .NET and ASP.NET

我看到你尝试安装ASP.NET 4.5,但是针对你的项目?

I see that you try install ASP.NET 4.5, but what targeting your project?

如果您尝试部署新的项目,你可能需要APS.NET 4.6或ASP.NET 5 RC(在第二种情况下,你还需要安装DNX)。

If you trying deploy new project you probably need APS.NET 4.6 or ASP.NET 5 RC (in second case you need also setup DNX).