Internal Error 30016 Sybase
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Sybase Internal Error 30016 up vote 1 down vote favorite Database server is migrated from version 12.5x to version 15.03 Sybase.Data.AseClient version - 1.15.50.0 I am getting below exception when I run few stored procedures through .Net app (using AseClient) Internal Error :30016 Unknown Dataitem Dataitem Stack Trace - at Sybase.Data.AseClient.AseDataReader.CheckResult(Int32 res) at Sybase.Data.AseClient.AseDataReader.RetrieveNextResult() at Sybase.Data.AseClient.AseDataReader.GetNextResult() at Sybase.Data.AseClient.AseDataReader.NextResult() at Sybase.Data.AseClient.AseDataReader.CloseUrsHandle() at Sybase.Data.AseClient.AseDataReader.Close() at Sybase.Data.AseClient.AseDataReader.Dispose(Boolean disposing) at Sybase.Data.AseClient.AseDataReader.Dispose() at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) at HSBC.STPMapper.SybaseDAL.Utilities.SybaseHelper.ExecuteDataset(CommandType commandType, String commandText, DataSet dataset, String table, AseParameter[] commandParameters) in C:\Utilities\SybaseHelper.cs:line 119 Note - Application was working fine before we migrated to new server. stack-trace sybase-ase share|improve this question edited Mar 15 '13 at 8:33 Danny Beckett 10.1k145394 asked Dec 16 '09 at 10:37 Sri 2315 add a commen
(Nederlands)Polska (Polski)România (Română)Singapore (English)Türkiye (Türkçe)Россия (Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特別行政區 (中文) Microsoft Home Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Asked by: Internal Error 30016 AseClient Using Forums > Off-Topic Posts (Do Not Post Here) Question 0 Sign in to vote Hello evrybody, I develop a website with ASP.NET and a databse Sybase 15. I use Stocked Procedures to manipulate Data (Create, Delete, Update, Read) I was running into this issue with some code running under .NET Framework 3.5 and http://stackoverflow.com/questions/1913779/sybase-internal-error-30016 usingSybase.Data.AseClient.dll(version 1.1.510.0) when I upgraded sybase server from 12.5 to 15. when the Gridview binded to a datasource which uses a Read Proc Stock with big data ---> there are automatically an internal Error 30016. This generates a problem in the pagination of Gridview : when I try to acces the page 80, I get corrupted data with 3 https://social.microsoft.com/Forums/en-US/5bcc1dc6-00cc-457c-a8d9-bb8282d5c130/internal-error-30016-aseclient?forum=Offtopic or 4 pages. Thank you for any help. Moved by Min ZhuMicrosoft contingent staff, Moderator Wednesday, January 30, 2013 8:54 AM Wednesday, January 23, 2013 11:30 PM Reply | Quote All replies 1 Sign in to vote Checkhttp://forums.sybase.com/cgi-bin/webnews.cgi?cmd=item-485&group=sybase.public.connectivity.adonet if packet size does not change anything you probably want to ask on sybase's forums, this exception is not from ADO.Net but from Sybase's code. Visual C++ MVP Thursday, January 24, 2013 12:08 AM Reply | Quote 0 Sign in to vote Thank you for your response. So, what shall I put in the connection String : PacketSize = ??? Thursday, January 24, 2013 12:30 AM Reply | Quote 0 Sign in to vote No idea... you probably want to look up your manual or ask the thread starter how it is done. Visual C++ MVP Thursday, January 24, 2013 1:12 AM Reply | Quote 0 Sign in to vote Hi Sfaxiste, Welcome to the MSDN forum. Your problem is related to a third party data provider, so I recommend you try this forum for better support: http://forums.sybase.
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/Data Access/DataSource http://forums.asp.net/t/1171002.aspx?Error+in+Query+ Controls - SqlDataSource, ObjectDataSource, etc/Error in Query Error in Query [Answered]RSS 8 replies Last post Oct 18, 2007 06:41 AM by ahmed_enani ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search internal error Reply ahmed_enani Member 2 Points 21 Posts Error in Query Oct 17, 2007 03:19 AM|ahmed_enani|LINK DataSet myDataSet = new DataSet(); int myRimNo = int.Parse(gvCustInfo.SelectedRow.Cells[1].Text); AseConnection mySybaseConn = new AseConnection("charset='cp1256';Data Source='1.22.1.108';Port='10001';UID='internet';Password='system12';Database='phoenix';"); AseCommand myComm = new AseCommand("SELECT d.rim_no , r.rim_type,r.tin,r.last_name,d.* from phoenix..rm_acct r, phoenix..dp_display d internal error 30016 WHERE d.rim_no = r.rim_no AND d.rim_no = " + myRimNo + " and rim_type = 'Personal'", mySybaseConn);
AseDataAdapter myDataAdapter = new AseDataAdapter(myComm); myDataAdapter.Fill(myDataSet); the last line of code give me this error: Sybase.Data.AseClient.AseException was unhandled by user code Message="Internal Error: 30002" Source="Sybase.Data.AseClient" StackTrace: at Sybase.Data.AseClient.AseDataReader.CheckResult(Int32 res) at Sybase.Data.AseClient.AseDataReader.Read() at System.Data.ProviderBase.DataReaderContainer.Read() at System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping) at System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) at System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at CustomerResult.cmd