将博CMS论坛

注册

 

发新话题 回复该主题

将博通用版CMSV7.1.6问题 [复制链接]

1#
我在试用将博通用版CMSV7.1.6时,出现一个问题,在后台点击“内容管理”的相关菜单项时总会出现以下错误提示:“/”应用程序中的服务器错误。
长度不能小于 0 或超过输入长度。
参数名: length
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ArgumentOutOfRangeException: 长度不能小于 0 或超过输入长度。
参数名: length

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:

[ArgumentOutOfRangeException: 长度不能小于 0 或超过输入长度。参数名: length]   System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat) +6681578   System.Text.RegularExpressions.Regex.Match(String input, Int32 beginning, Int32 length) +48   Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.LiteralWithCommentsHelper.FindNextComment(String source, Int32 searchStart, Int32 searchEnd) +77   Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.LiteralWithCommentsHelper.FindComments(String source, Int32 sourceStart, Int32 sourceEnd) +106   Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.LiteralWithCommentsHelper..ctor(String source, Int32 sourceStart, Int32 sourceEnd) +81   Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.LiteralWithCommentsHelper.FindMatchingRanges(String toFind, String findIn, Int32 minStart, Int32 maxEnd) +69   Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingParseRecorder.PostProcessBlockList() +989   Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingParseRecorder.BuildBlockList(ControlBuilder root) +225   Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingParseRecorder.ParseComplete(ControlBuilder root) +115   System.Web.UI.ParseRecorderList.ParseComplete(ControlBuilder root) +71   System.Web.UI.TemplateParser.HandlePostParse() +184   System.Web.UI.TemplateControlParser.HandlePostParse() +13   System.Web.UI.PageParser.HandlePostParse() +12   System.Web.UI.TemplateParser.Parse() +154   System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() +110   System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) +59   System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() +209   System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +30   System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +9881909   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +299   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +103   System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) +165   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +43   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31   System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +64   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +191   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +145   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.18408



这个错误是什么原因导致的,一直困扰我很久了,希望版主抽空解答一下,谢谢!  
分享 转发
TOP
2#

有源码  自己跟踪一下
TOP
发新话题 回复该主题