0

由于应用了最新的关键安全更新,所有带有 HTML 模块的页面都会抛出以下错误,从而导致用户出现 404 页面。请指教!有没有我们可以使用的好的替换模块?

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) {
4

1 回答 1

-1

这似乎与 MyTokens 模块有关。在这里查看他们网站上的帖子:

https://www.dnsharp.com/helpcenter/case/62435

于 2017-07-16T21:11:23.493 回答