2017-07-16 65 views
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) { 

回答