我正在尝试加载我的网站,我收到此错误消息:
无法识别的属性'targetFramework'.请注意,属性名称区分大小写.
<compilation debug="true" targetFramework="4.0">
Run Code Online (Sandbox Code Playgroud)
该网站在我的本地PC上工作正常但在我将其加载到主机并尝试在线查看时无法打开.
无论如何,配置服务器并不是我的强项.我正在尝试将开发项目移动到Windows 7.运行该应用程序所需的一件事是选择ASP.NET v4.0作为IIS中的应用程序池.
我浏览了以下链接中的说明,以确保选择了正确的应用程序开发选项:
http://www.gotknowhow.com/articles/how-to-install-iis7-and-enable-aspnet
在IIS管理器中,我选择了应用程序池,只能看到
- Classic .NET AppPool
- DefaultAppPool
我还需要能够选择
- ASP.NET v4.0
- ASP.NET v4.0 Classic
如何将这些添加到可用应用程序池列表中?
就在最近我升级到Windows 2012标准服务器64位,所以我可以使用网络套接字.
我已通过服务器管理器添加了角色/功能.
我注意到在我的Windows日志中我收到了这条消息:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 18/11/2014 11:51:12
Event time (UTC): 18/11/2014 11:51:12
Event ID: 5261ba8b0e5343289d5fc8618adb8117
Event sequence: 113
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-130607850516111864
Trust level: Full
Application Virtual Path: /
Application Path: D:\Release\WebRoot\
Machine name: DSVR019492
Process information:
Process ID: 660
Process name: w3wp.exe
Account name: IIS APPPOOL\.NET v4.5
Exception information:
Exception type: InvalidOperationException
Exception message: WebSockets is unsupported in the current …Run Code Online (Sandbox Code Playgroud)