我已经根据安装说明安装了 DNN 版本 5.6.3。
- 创建新文件夹并将下载的内容复制到
- 将 asp 用户和网络服务的权限设置为对此文件夹的完全权限
- 在 sql server 中创建了一个新数据库,并以 dbo 身份登录
- 将包含站点的文件夹设置为 iis 中的应用程序
- 修改了 web.config 文件以在两个地方有正确的数据库连接信息
首先,我尝试使用典型设置安装它,但这从未比更新 db 更进一步(在此停留了几个小时)。
因此,我使用自动设置安装了它,正如我所见,这成功完成了。
现在在我的新门户上,我可以成功登录并更改主机和管理员用户的密码,但我不能做任何其他事情,比如创建新页面等。
我得到的错误是:
Method: System.Net.WebPermission.IsSubsetOf
StackTrace:
Message: System.Web.HttpParseException: Could not load file or assembly 'DotNetOpenId, Version=2.4.2.8248, Culture=neutral, PublicKeyToken=2780ccd10d57b246' or one of its dependencies.
Operation is not supported. (Exception from HRESULT: 0x80131515)
---> System.Web.HttpParseException: Could not load file or assembly 'DotNetOpenId, Version=2.4.2.8248, Culture=neutral, PublicKeyToken=2780ccd10d57b246' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
---> System.IO.FileLoadException: Could not load file or assembly 'DotNetOpenId, Version=2.4.2.8248, Culture=neutral, PublicKeyToken=2780ccd10d57b246' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) File name: 'DotNetOpenId, Version=2.4.2.8248, Culture=neutral, PublicKeyToken=2780ccd10d57b246'
---> System.NotSupportedException: Cannot subset Regex. Only support if both patterns are identical. at
System.Net.WebPermission.IsSubsetOf(IPermission target) at
System.Security.PermissionSet.IsSubsetOfHelper(PermissionSet target, IsSubsetOfType type, IPermission& firstPermThatFailed, Boolean ignoreNonCas) at
System.Security.PermissionSet.IsSubsetOf(PermissionSet target) at
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) at
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) at
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at
System.Reflection.Assembly.Load(String assemblyString) at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail) at
System.Web.UI.TemplateParser.LoadAssembly(String assemblyName, Boolean throwOnFail) at
...
几年前,我在同一台服务器上为不同的客户安装了这个(以前版本的 dnn),它运行良好,但这次我似乎无法让它工作。我比较了所有设置,没有什么不同。
有没有人对这个版本有任何经验,并且知道我该如何进步?
从我在谷歌上搜索的结果来看,这听起来可能是服务器上的权限问题,但由于我已经授予 NETWORKUSER 对该目录的完全访问权限,因此不确定从哪里开始。其他建议似乎指向网站无法使用 .net 3.5,但我已经安装了框架。