我正在将一个站点从Windows 2008 R2标准上运行IIS7.5的一个web服务器迁移到Windows 2012 R2上的一个IIS8.5。我目前正在收到下面的信息。我知道System.Security.Claims应该在mscorlib.dll中,这似乎已经就位了。我不太确定还有什么能帮助我问这个问题,但是如果有人想要指出正确的方向,那就太好了!谢谢!
“/profile”应用程序中的服务器错误.
Method not found: 'Void System.Security.Claims.ClaimsIdentity..ctor(System.Security.Claims.ClaimsIdentity)'.描述:是在执行当前web请求时发生的一个未处理的异常。请查看堆栈跟踪以获得有关错误的更多信息,以及它起源于代码的位置。 异常详细信息: System.MissingMethodException:方法未找到:'Void System.MissingMethodException 源错误:
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.堆栈跟踪:
[MissingMethodException: Method not found: 'Void System.Security.Claims.ClaimsIdentity..ctor(System.Security.Claims.ClaimsIdentity)'.]
System.Web.Security.FormsIdentity..ctor(FormsIdentity identity) +0
System.Web.Security.FormsIdentity.Clone() +35
System.Security.Principal.GenericPrincipal.AddIdentityWithRoles(IIdentity identity, String[] roles) +57
System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e) +338
System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) +88
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161版本信息:微软.NET框架版本:4.0.30319;ASP.NET版本:4.6.1069.1
发布于 2017-07-27 09:42:45
在我们的windows 2012 r2服务器中,我也面临着同样的问题。使用表单标识构建的MVC应用程序正在抛出错误。
我们发现是一个特定的微软更新补丁(KB3098785)导致了这个问题。
我们关闭了修补程序,重新启动了服务器,voila..everything运行良好。
发布于 2016-11-16 01:58:03
我能想到三个原因:
https://stackoverflow.com/questions/40615347
复制相似问题