Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Friday, May 09, 2008

Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Knowledge Base > C-Sharp > Errors and Bugs
Search:
What's New - What's Hot
Listings for C# Bugs C# Bugs (10)
Listings for C# Errors C# Errors (1)
Listings for C# PRB C# PRB (15)
 

How to properly handle Cross-thread events and update a Label with BeginInvoke and BackgroundWorker        
Total Hits: 78  |  Today: 2 Author: TuiTo       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article proposes a solution for updating Windows Form components when using cross-thread method calls.

Since .net framework 2.0, you can't make a explicit method call to a windows form component method (say, you wanted to alter the text of a label). This happens because windows forms is not thread-safe (in other words, it can't guarantee that the behavior using threads will be the same as using only the main program thread)....

PRB: "Compiler Error Message: CS1595" Error Message When You Use the C# Compiler to Compile an ASP.NET Resource (Q318274)        
Total Hits: 1991  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |              Your Rating: 

When you use the C# compiler (Csc.exe) to compile an ASP.NET resource, you may receive a compiler error message that is similar to one of the following error messages:

Compiler Error Message: CS1595: 'System.Collections.ArrayList' is defined in multiple places; using definition from 'c:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll'...

PRB: Unhandled Exception When You Set ADO Property to a String in Visual C# .NET (Q309047)        
Total Hits: 470  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |              Your Rating: 

When you use ADO in the Microsoft .NET Framework with Component Object Model (COM) interop, ADO properties that formerly accepted either object references or string values now only support object references. As a result, when you try to set a property to a string value, an exception is thrown....

PRB: Cannot Assign Images to a ColumnHeader Control in a Windows Forms ListView Control (Q314933)        
Total Hits: 546  |  Today: 0 Author: 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....

BUG: Init Function in a Visual C# Mobile Web Application Is Not Fired (Q309471)        
Total Hits: 532  |  Today: 1 Author: MSDN       Rating:  
Read Reviews | Write Review |              Your Rating: 

If you use the Properties window to create an Init event handler in a Visual C# .NET mobile Web application, the code in the handler is not executed because the handler is not called....

PRB: Problems Using an XML Web Service that Returns a DataTable (Q306134)        
Total Hits: 685  |  Today: 1 Author: 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: Error "Invalid Attempt to Read from Column Ordinal" When You Use DataReader in C# .NET (Q308614)        
Total Hits: 633  |  Today: 0 Author: 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 that resembles 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....

PRB: DataReader Has No RecordCount Property in Visual C# .NET (Q308352)        
Total Hits: 1221  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |              Your Rating: 

When you use the OleDbDataReader or SqlDataReader class, no RecordCount property exists to indicate how many records are being fetched....

PRB: Cannot Connect to SQL Server on Any Port Other Than 1433 (Q307645)        
Total Hits: 641  |  Today: 1 Author: MSDN       Rating:  
Read Reviews | Write Review |              Your Rating: 

When you use a protocol other than Transmission Control Protocol/Internet Protocol (TCP/IP), SqlConnection.Open fails if you specify a port number other than 1433 to connect to an instance of Microsoft SQL Server....

BUG: ListView.ColumnHeaderCollection.Add Method Does Not Work with Autosize Width in C# (Q316572)        
Total Hits: 779  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |              Your Rating: 

When you pass -1 or -2 autosize width settings to the ListView.ColumnHeaderCollection.Add method, the ListView control does not display the column as expected.You expect a -1 setting to set the column header to the size of the largest subitem text in the column, and a -2 setting to set the column header to the size of the text in the column header....

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

The Windows Forms TreeView control displays a hierarchy of nodes 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....

INFO: CLR Profiling Services Problems (Q309551)        
Total Hits: 415  |  Today: 2 Author: MSDN       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article provides a list of known problems with the Common Language Runtime (CLR) Profiling Services....



DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net