对如何解决这个错误有什么想法吗?我被困在此时此刻,很难找到阅读这篇文章的机会。任何帮助都将不胜感激:
Server Error in '/www' Application.
Type is not resolved for member 'Microsoft.IdentityModel.Claims.ClaimsPrincipal,Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.Serialization.SerializationException: Type is not resolved for member 'Microsoft.IdentityModel.Claims.ClaimsPrincipal,Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SerializationException: Type is not resolved for member 'Microsoft.IdentityModel.Claims.ClaimsPrincipal,Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.]
Microsoft.VisualStudio.WebHost.Connection.get_LocalIP() +0
Microsoft.VisualStudio.WebHost.Request.GetLocalAddress() +43
Microsoft.VisualStudio.WebHost.Request.GetServerName() +11
System.Web.HttpRequest.get_Url() +140
Telerik.Sitefinity.Security.Claims.<>c__DisplayClass9.<SkipAuthentication>b__8(String aip) +17
System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +151
Telerik.Sitefinity.Security.Claims.SitefinityClaimsAuthenticationModule.SkipAuthentication(HttpRequest request) +74
Telerik.Sitefinity.Security.Claims.SitefinityClaimsAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args) +201
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 发布于 2013-01-06 05:53:07
每当我重新安装我的操作系统或一台新的pc时,我都会遇到这个错误。遵循这里的说明总是能帮我解决这个问题:http://www.sitefinity.com/developer-network/knowledge-base/details/type-is-not-resolved-for-member-'microsoft.identitymodel.claims.claimsprincipal-microsoft.identitymodel
我希望这对你有帮助!
发布于 2017-02-03 13:18:23
我们已通过项目管理器工具将Sitefinity v-8.1升级到v-9.2。参见Img: Sitefinity项目管理器
Actions >> Upgrade

成功获取消息后。我们运行应用程序。但是我们在屏幕上看到了错误信息。请查看以下错误消息:
错误:
未为member "Microsoft.IdentityModel.Claims.ClaimsPrincipal,Microsoft.IdentityModel解析
类型“。
来解决这个问题。首先,您需要再次构建解决方案,然后将.dll文件"Microsoft.IdentityModel.dll“从”bin“文件夹复制并粘贴到以下文件夹中。
请看下面的路径:
C:\Program Files (x86)\Common Files\microsoft shared\DevServer\11.0复制dll文件后,您将需要重新启动系统或重新生成解决方案。注意:请重新启动应用程序池和站点。
现在,我们需要最新的许可证密钥。它与9.2.x兼容。
发布于 2017-05-17 16:08:34
我也面临着同样的问题。通过以下步骤解析了:
为Web应用程序项目指定IIS服务器
https://stackoverflow.com/questions/13936103
复制相似问题