升级到 DNN 7 后的 HTTP 500

HTTP 500 after upgrading to DNN 7

我正在做一个以前在 DNN 6 上的项目。出于安全原因,DNN 框架需要升级到 DNN 7。为此,我首先将其升级到 6.2.8,网站运行良好,没有任何问题。 然后在升级到 DNN 7.3.2 后,当我尝试登录时它会给出 500 error

异常提示找不到EnterpriseLibrary.Validation文件。有人可以帮我解决这个问题吗?

这是堆栈跟踪,

DotNetNuke.Services.Exceptions.PageLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Validation, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

我自己解决了这个问题,我只需要安装正确版本的 EnterpriseLibrary.Validation 来支持 .Net v4.0。