水晶报表-Exception of type 'System.OutOfMemoryException' was thrown.解决思路
发布时间:2011-06-24 21:23:44 文章来源:www.iduyao.cn 采编人员:星星草
水晶报表---Exception of type 'System.OutOfMemoryException' was thrown.
Server Error in '/' Application.
--------------------------------------------
Exception of type 'System.OutOfMemoryException' was thrown.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
Source Error:
Line 190: sql = "select DATE,PanelID,protypeID,panelsizeid,stepid,paneltypeid from n_p_Stepmove where 0=0 " + strsql;
Line 191: sda = new SqlDataAdapter(sql, cn);
Line 192: sda.Fill(ds, "n_p_Stepmove");
Line 193:
Line 194: cn.Close();
Source File: e:\WEB\epqc2\front\RS_stepmove_panel.aspx.cs Line: 192
Stack Trace:
[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding) +67
System.Text.EncodingNLS.GetString(Byte[] bytes, Int32 index, Int32 count) +112
System.Data.SqlClient.TdsParserStateObject.ReadStringWithEncoding(Int32 length, Encoding encoding, Boolean isPlp) +105
System.Data.SqlClient.TdsParser.ReadSqlStringValue(SqlBuffer value, Byte type, Int32 length, Encoding encoding, Boolean isPlp, TdsParserStateObject stateObj) +123
System.Data.SqlClient.TdsParser.ReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj) +174
System.Data.SqlClient.SqlDataReader.ReadColumnData() +88
System.Data.SqlClient.SqlDataReader.ReadColumn(Int32 i, Boolean setTimeout) +223
System.Data.SqlClient.SqlDataReader.GetValueInternal(Int32 i) +17
System.Data.SqlClient.SqlDataReader.GetValues(Object[] values) +181
System.Data.ProviderBase.CommonLanguageSubsetDataReader.GetValues(Object[] values) +10
System.Data.ProviderBase.SchemaMapping.LoadDataRow() +30
System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping) +137
System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) +153
System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) +170
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +175
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
【管理通告】图表区发帖(含广告贴)指南v1.4
帖子中,请尽量不要使用感叹号,谢谢
0:如果你使用CSDN自带的搜索功能搜不到有用的信息,那...
-
水晶报表 提示“您请求的报表需要更多信息”问题
每次进入水晶报表,都要要求输入密码,这个问题怎么解决??
后台代码如下:
//已连接数...
-
ASP.NET中在调用水晶报表的打印做客户端打印,不要显示打印设置对话框
向大家请教一个水晶报表Web打印的问题,问题的描述如下:
A...
-
reportviewer的具体用法
各位前辈:
小弟我用vs2008的reportviewer控件做报表,但遇到一个"无法显示子报表"的问题。
从昨晚...
-
Rdlc 页眉页脚问题
因为页眉无法直接使用数据源
所以先在主体放了个文本框textbox主体 =First(Fields!相关人.Value) 然后隐...
-
新手求助水晶报表连接
C#
前台代码:
HTML code
<CR:CrystalReportViewer ID="crOrder" runat="server" AutoDataBind="True"...
-
【分享】水晶报表组内分页
本文为:http://topic.csdn.net/u/20110824/21/60f3c6d5-ae0a-454f-989a-984e20f0a7a7.html所作。
命题...
-
VS2010 怎么编辑rpt文件
版本升级了 好像水晶报表的格式也变了
现在rpt格式没有在VS2010里面注册 不能打开来编辑
求怎么打...
-
【水晶报表内功心法】--序言
这是一篇序言,并没有技术性内容,如果你有时间,可以看一下。
最近的一年多,因为生活比较平稳,我开始恢复...
-
? 水晶报表中分组数据分栏显示但一页中可存多个组的问题
各路高手,现将我的问题阐述如下:
图上半部分
图下半部分为
现在遇到的问...