Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Knowledge Base > Visual Basic.Net > Errors and Bugs > VB.NET PRB


Search:
What's New - What's Hot
PRB: Error "Invalid Attempt to Read from Column Ordinal" When You Use DataReader in Visual Basic .NET (Q308069)      
Total Hits: 824  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use DataReader to read a row, if you try to access columns in that row, you receive an error message similar to the following:
System.InvalidOperationException: Invalid attempt to read from column ordinal '0'. With CommandBehavior.SequentialAccess, you may only read from column ordinal '2' or greater....

BUG: ADO.NET: Changing the Value of a Child Key Column Throws VersionNotFoundException (Q316146)      
Total Hits: 266  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

There is no current workaround for this problem. Either do not use an expression-based column, or use the data in a read-only situation....

PRB: "Unhandled Exception of Type 'System.ArgumentException'" Error Message When You Use the ListBox Sorted Property (Q316568)     
Total Hits: 919  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

To resolve this issue, set the Sorted property before you bind the ListBox to a datasource....

PRB: DataReader Has No RecordCount Property in Visual Basic .NET (Q308050)      
Total Hits: 1060  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

When using the OleDbDataReader or SqlDataReader class, there is no RecordCount property to tell how many records are being fetched....

PRB: Windows Forms TreeView Control Does Not Handle State Image Lists in Visual Basic .NET (Q315934)      
Total Hits: 346  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Windows Forms TreeView control displays a hierarchy of nodes that is similar to the way that Windows Explorer displays folders in the left pane. With the Windows Forms TreeView control, the application cannot use a State image list to display a State icon. The State icon appears to the left of the icon that is displayed for a node in the control. This behavior differs from the behavior of the underlying Win32 TreeView control....

PRB: LIKE Statement Does Not Return Any Data with Oracle Character Data Type (Q307514)      
Total Hits: 327  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use Microsoft OLE DB Provider (MSDAORA) or the OLE DB .NET Data Provider for Oracle, if you use a LIKE statement to search fixed-length character types, Oracle does not find any rows if their padding is different....

PRB: DataAdapter.Fill Does Not Set All of the Properties (Q310373)      
Total Hits: 302  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

After you use the DataAdapter.Fill method, various properties of the DataTable and DataColumn objects (such as primary keys, auto increment fields, nullable fields, unique indexes, and so on) are not set....

PRB: Enumerated DataReader Returns Incomplete Information for Batch Queries That Have Different Schemas (Q308625)      
Total Hits: 241  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you create the DBEnumerator object on batch queries with different schemas, DBEnumerator returns incorrect or incomplete information. For example, if you run a batch query that contains two SELECT statements that return different schemas, the second statement may not return the entire schema....

PRB: DataSet Column Mapping Throws InvalidOperationException When the Specified Column Is Missing in a Visual Basic .NET Application (Q307170)      
Total Hits: 270  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use DataSet column mapping in ADO.NET, an InvalidOperationException exception is thrown if the MissingMappingAction property is set to Error and the column mapping that you specify is missing....

PRB: Slow Performance When Transforming an ADO.NET DataSet with Non-Nested DataRelations     
Total Hits: 181  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

Performance of your computer system slows when you try to transform the XML representation of a DataSet that has multiple related DataTable objects whose DataRelation objects are not nested to reflect a hierarchical structure....

PRB: SET Statements Do Not Have Connection-Wide Scope with ExecuteReader() of SQLCommand Class (Q316889)     
Total Hits: 848  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you are using SET statements that are followed by resultsets that are returning statements such as SELECT, existing Microsoft SQL tools return non-resultset queries. This is not true when you are using the SqlCommand.ExecuteReader method. When SET statements are used with SqlCommand.ExecuteReader, the SQL statements that contain SET statements such as "SET statistics profile on" return results from the set statements. The preceding SQL statements (such as SELECT * FROM TableA) that are exec...

PRB: DataSet Contains Duplicate Records Based on SQL Outer Join Query (Q317058)     
Total Hits: 1040  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you call the Fill method of the DataAdapter object twice on a DataTable in a DataSet that is based on a SQL outer join statement, if you do not first clear the current contents of the DataTable, the DataTable may contain two copies of each record....

PRB: Cannot Assign Images to a ColumnHeader Control in a Windows Forms ListView Control Using Visual Basic .NET (Q316202)     
Total Hits: 921  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you attempt to assign images to a ColumnHeader control in a Windows Forms ListView control, the operation is unsuccessful....

PRB: Problems Using an XML Web Service that Returns a DataTable (Q306134)      
Total Hits: 1358  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you browse to the URL of an XML Web service that returns a DataTable from one of its Web methods, you may receive the following error message:
System.Data.DataRelation cannot be serialized because it does not have a default public constructor....

PRB: System.ArgumentException If Table Name Includes a Period (Q314043)      
Total Hits: 240  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

The DataMember property of a DataGrid control uses a period (.) to separate DataTable and DataRelation names. The period is used to separate parent and child elements....

PRB: "Unhandled Exception of Type 'System.InvalidOperationException'" Error Message When You Run Commands on a Command Object (Q311544)      
Total Hits: 332  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

The DataAdapter object does not require that you explicitly open a connection to run some of its methods. Therefore, you can call the Update or Fill method of the DataAdapter object when the connection is closed. The Connection object that is associated with the SELECT statement must be valid, but it does not need to be open. If you close the connection before you call Fill, the connection is opened to retrieve the data and then closed. If the connection is open before you call Fill, it remains ...

PRB: 'System.Data.DBConcurrencyException' When You Update a Database Through a Stored Procedure (Q310375)      
Total Hits: 349  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use a DataAdapter object to write changes back to a database by means of a stored procedure.If the data is not updated correctly, you should receive a DataConcurrencyException exception instead of the above-mentioned error message....

PRB: You Receive an Exception When You Reference the Value of a DataColumn That Is NULL (Q310371)      
Total Hits: 347  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you reference the value of a DataColumn that is NULL, whether typed or untyped, you receive an exception....

PRB: DataTable and DataView Do Not Include MoveFirst, MoveLast, MoveNext, and MovePrevious Navigation Methods (Q310372)      
Total Hits: 618  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Microsoft ActiveX Data Objects (ADO), you can use the MoveFirst, the MoveLast, the MoveNext, and the MovePrevious methods to navigate through your recordset. However, ADO.NET does not include these navigation methods....

BETA-PRB: Error in SQL Server 7.0 When You Call Command.Prepare Before You Add Parameters Using Visual Basic .NET (Q310368)      
Total Hits: 191  |  Today: 0Author: MSDN      Rating:  
Read Reviews | Write Review |  Your Rating: 

This problem occurs in SQL Server 7.0 because, by design, you cannot run the Prepare method before you add parameters. This applies to most database systems....



Disclaimer - Privacy
© 2002-2017 DevASP.net