0
由於應用了最新的重要安全更新,因此在其上具有HTML模塊的所有頁面都會拋出以下錯誤,導致用戶的404頁面出現。請指教!我們可以使用替代模塊嗎?9.1.1上的DNN HTML模塊拋出以下錯誤
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0103: The name 'ModuleContext' does not exist in the current context
Source Error:
Line 41: {
Line 42: var wasReplacing = false;
Line 43: ModuleContext.Settings["MyTokensReplace"] = false;
Line 44: if (ModuleContext.Settings["TEXTHTML_ReplaceTokens"] != "") {
Line 45: if (Convert.ToBoolean(ModuleContext.Settings["TEXTHTML_ReplaceTokens"]) == true) {