求助Chart FX控件报错:长度不能小于 0。参数名: length

24th 2012-05-26 04:25:03
长度不能小于 0。
参数名: length
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

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

源错误:


行 99: </div>
行 100:<div id="TabContent1" style="display:block; HEIGHT: 300; OVERFLOW: scroll; scrollbar-shadow-color: #ffffff; scrollbar-highlight-color: #ffffff; scrollbar-face-color: #d9d9d9; scrollbar-3dlight-color: #d9d9d9; scrollbar-darkshadow-color: #d9d9d9; scrollbar-track-color: #ffffff; scrollbar-arrow-color: #ffffff"><%--style="display:block;overflow:scroll;"> --%>
行 101: <chartfx7:Chart ID="LineB" runat="server" >
行 102: <Series>
行 103: <chartfx7:SeriesAttributes Gallery="Bar" />


源文件: d:\wwwroot\sinotruk_hz\Default.aspx 行: 101

堆栈跟踪:


[ArgumentOutOfRangeException: 长度不能小于 0。
参数名: length]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +7490999
ChartFX.WebForms.Internal.z.a(String A_0, String& A_1, String& A_2) +38
ChartFX.WebForms.Internal.z.a(Type A_0, String A_1, String& A_2, Boolean& A_3, ad& A_4) +75
ChartFX.WebForms.Internal.s.a(Boolean A_0, String A_1) +2329
ChartFX.WebForms.Internal.z.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3, LicenseProvider A_4) +241
ChartFX.WebForms.Internal.w.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3) +389
System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) +237
System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license) +41
System.ComponentModel.LicenseManager.Validate(Type type, Object instance) +31
ChartFX.WebForms.Chart..ctor() +210
ASP.default_aspx.__BuildControlLineB() in d:\wwwroot\sinotruk_hz\Default.aspx:101
ASP.default_aspx.__BuildControlMainForm() in d:\wwwroot\sinotruk_hz\Default.aspx:85
ASP.default_aspx.__BuildControlLblockMain() in d:\wwwroot\sinotruk_hz\Default.aspx:84
ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in d:\wwwroot\sinotruk_hz\Default.aspx:1
ASP.default_aspx.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f39d55c\6844705d\App_Web_vcwnbymi.0.cs:0
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +56
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f39d55c\6844705d\App_Web_vcwnbymi.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

操作系统windows2003 server 32bit
iis6, 开发工具VS2008
在开发的机器上没有问题,之前在其他服务器上部署也没有问题。

...全文
167 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
24th 2012-06-07
  • 打赏
  • 举报
回复
问题解决了,没注册上造成的,这东西不怎么好用
crackdung 2012-05-26
  • 打赏
  • 举报
回复
呵呵呵,我見過別人的破解版是這些問題,不知道你的什麽版本
crackdung 2012-05-26
  • 打赏
  • 举报
回复
估計是license問題

62,268

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧