根據安裝說明,我已經安裝了DNN 5.6.3版本。DotNetNuke(dnn) - 使用版本5.6.3創建頁面時出錯
- 創建新的文件夾,並在
- 設置權限複製下載的內容爲ASP用戶和網絡服務完全權限此文件夾
- 創建SQL Server中的新的數據庫有一個登錄它作爲DBO 上
- 設置
- 修改了web.config文件,有兩個地方
首先我試着用典型的設置來安裝它,但這永遠不會比更新數據庫更進一步(在這個數據庫上呆了幾個小時)。
因此,我用自動設置安裝它,併成功,我可以看到。
現在我的新門戶,我可以成功登錄,並在主機和管理員用戶更改密碼,但我不能做任何事情,如創建新頁面等
我得到的錯誤是這樣的:
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沒有提供給網站,但我已經安裝了框架。
我只安裝了默認組件,我猜想它包含OpenID。我刪除了DLL並從控制面板中卸載它,但是當我嘗試創建新頁面時,仍然收到異常。我的主機服務器是2003 R2,我在安全選項卡中看不到任何「解除阻止」選項。 – JCoupland
我會仔細檢查它是否仍然在web.config文件中定義,以查看是否導致問題 –