相关疑难解决方法(0)

无法识别的属性'targetFramework'.请注意,属性名称区分大小写

我正在尝试加载我的网站,我收到此错误消息:

无法识别的属性'targetFramework'.请注意,属性名称区分大小写.

<compilation debug="true" targetFramework="4.0">
Run Code Online (Sandbox Code Playgroud)

该网站在我的本地PC上工作正常但在我将其加载到主机并尝试在线查看时无法打开.

asp.net

407
推荐指数
10
解决办法
42万
查看次数

如何在IIS 7,Windows 7上添加ASP.NET 4.0作为应用程序池

无论如何,配置服务器并不是我的强项.我正在尝试将开发项目移动到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

如何将这些添加到可用应用程序池列表中?

asp.net iis

194
推荐指数
3
解决办法
42万
查看次数

异常消息:当前应用程序配置中不支持WebSockets

就在最近我升级到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)

iis web-config websocket

4
推荐指数
1
解决办法
3394
查看次数

标签 统计

asp.net ×2

iis ×2

web-config ×1

websocket ×1