1、不能在此路径中使用此配置节。
如果在父级别上锁定了该节,便会出现这种情况。需要执行以下代码:
C:\Windows\system32\inetsrv\appcmd unlock config -section:system.webServer/modules
2、处理程序“ExtensionlessUrlHandler-Integrated-4.0”在其模块列表中有一个错误模块“ManagedPipelineHandler”。
执行以下代码:
dism /online /enable-feature /featurename:IIS-ISAPIFilter
dism /online /enable-feature /featurename:IIS-ISAPIExtensions
dism /online /enable-feature /featurename:IIS-NetFxExtensibility45
dism /online /enable-feature /all /featurename:IIS-ASPNET45
3、无法向会话状态服务器发出会话状态请求。请确保 ASP.NET State Service (ASP.NET 状态服务)已启动。
解决方法:启动ASP.NET State Service。
4、The GuidRepresentation for the reader is CSharpLegacy, which requires the binary sub type to be UuidLegacy, not UuidStandard。
解决方法:Mongo驱动太旧,小于2.7.0。在Global.asax文件Application_Start方法里添加以下代码即可解决:
BsonDefaults.GuidRepresentation = GuidRepresentation.Standard;