[英]Webapplication unable to run in IIS 7
We have a webapplication, made in ASP.NET 2.我们有一个 web 应用程序,用 ASP.NET 2 制作。
This app runs without problems in IIS 6. When we upload it to an IIS 7 (Windows Server 2008 R2 Datacenter) it runs in IIS, but when we open the site in a browser we get this error:此应用程序在 IIS 6 中运行没有问题。当我们将其上传到 IIS 7(Windows Server 2008 R2 数据中心)时,它在 IIS 中运行,但当我们在浏览器中打开站点时出现以下错误:
Server Error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
I would make sure that everything is set correctly in the ASP.NET tab, and also check under the Home Directory tab to make sure that the application has sufficient read/write and execute permissions.我会确保在 ASP.NET 选项卡中正确设置所有内容,并在主目录选项卡下检查以确保应用程序具有足够的读/写和执行权限。
The problem was that I nedded to add a feature to the server.问题是我需要向服务器添加一个功能。 After I added .NET Framework 3.5.1 Features
it worked.在我添加.NET Framework 3.5.1 Features
后,它起作用了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.