CRM 中新建报表视图报错
2009-11-20 16:34
99 查看
在MSCRM4.0中新建报表视图,发布之后,查看报表视图出错。windows日志没有任何相关可用信息;用Trace工具发现错误如下:
at ErrorInformation.LogError()
at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError)
at ErrorInformation..ctor(Exception exception, Uri requestUrl)
at AppWebService.CreateSoapException(Exception innerException)
at AppGridWebService.Reset(String gridXml, String id)
at RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at LogicalMethodInfo.Invoke(Object target, Object[] values)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: 输入字符串的格式不正确。
Error Message: 输入字符串的格式不正确。
Source File: Not available
Line Number: Not available
Request URL: http://localhost:5555/CRM/AppWebServices/AppGridWebService.asmx Stack Trace Info: [FormatException: 输入字符串的格式不正确。]
在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
在 Microsoft.Crm.Application.Controls.ReportsGridUIProvider.RenderRow(HtmlTextWriter output, Object rowData, Boolean multiObjectEnabled, View view, EntityMetadata metadata)
在 Microsoft.Crm.Application.Controls.AppGridUIProvider.Render(HtmlTextWriter output)
在 Microsoft.Crm.Application.Components.UI.DataGrid.RenderData(HtmlTextWriter output)
在 Microsoft.Crm.Application.Components.UI.DataGrid.RenderInnerHtml(HtmlTextWriter output)
在 Microsoft.Crm.Application.Components.UI.DataGrid.get_InnerHtml()
在 Microsoft.Crm.Application.WebServices.AppGridWebService.GetResetResponseXml(AppGrid appGrid)
在 Microsoft.Crm.Application.WebServices.AppGridWebService.Reset(String gridXml, String id)
解决办法
添加报表视图的时候必须添加“报表类型”字段。
at ErrorInformation.LogError()
at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError)
at ErrorInformation..ctor(Exception exception, Uri requestUrl)
at AppWebService.CreateSoapException(Exception innerException)
at AppGridWebService.Reset(String gridXml, String id)
at RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at LogicalMethodInfo.Invoke(Object target, Object[] values)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: 输入字符串的格式不正确。
Error Message: 输入字符串的格式不正确。
Source File: Not available
Line Number: Not available
Request URL: http://localhost:5555/CRM/AppWebServices/AppGridWebService.asmx Stack Trace Info: [FormatException: 输入字符串的格式不正确。]
在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
在 Microsoft.Crm.Application.Controls.ReportsGridUIProvider.RenderRow(HtmlTextWriter output, Object rowData, Boolean multiObjectEnabled, View view, EntityMetadata metadata)
在 Microsoft.Crm.Application.Controls.AppGridUIProvider.Render(HtmlTextWriter output)
在 Microsoft.Crm.Application.Components.UI.DataGrid.RenderData(HtmlTextWriter output)
在 Microsoft.Crm.Application.Components.UI.DataGrid.RenderInnerHtml(HtmlTextWriter output)
在 Microsoft.Crm.Application.Components.UI.DataGrid.get_InnerHtml()
在 Microsoft.Crm.Application.WebServices.AppGridWebService.GetResetResponseXml(AppGrid appGrid)
在 Microsoft.Crm.Application.WebServices.AppGridWebService.Reset(String gridXml, String id)
解决办法
添加报表视图的时候必须添加“报表类型”字段。
相关文章推荐
- crm2011下载报表
- MSCRM4.0 报表视图问题
- BO6.5复杂报表绘制-新建数据提供者
- 对于同一数据库中的同一个表,即可以新建视图模型,也可以新建模型,没有影响
- CRM中多张关联表join的报表
- oracle新建用户执行sql查询语句出现错误ORA-00942:表或视图不存在
- 润乾报表 新建数据源时遇到的问题
- 如何定制CRM报表【Report无法被上载到CRM Server的解决办法】
- openerp学习笔记 统计、分析、报表(过滤条件向导、分组报表、图形分析、比率计算、追加视图排序)
- 利用华企报表如何新建报表
- 2010打开新建的网页窗体webform只有源视图没有窗体设计视图的解决办法
- 【互联网保险-ECIF/CRM】客户统一视图存在意义及建设思路
- PROCEDURE_监测系统_原始数据报表数据生成存储过程—求每天平均值插入多表视图
- ReportViewer教程(1)-新建工程,添加Form和报表浏览器
- 新建和删除视图
- SQL 2005 toolkit 新建报表服务器项目报错
- crm中链接sql开发外部报表的的链接URLcrm技术
- 通过按钮控件实现MDI新建子窗口(MFC自动生成的视图、文档、子框架共用)
- CRM报表打印