The .NET Framework 2.0 Service Pack 1 fixes the problems that are described in the following articles in the Microsoft Knowledge Base:
FIX: You may receive a "SerializationException" exception when you use a class that implements the "INotifyPropertyChanged" interface in an application that is built on the .NET Framework 2.0
FIX: Error message when you run an ASP.NET 2.0 Web application that is built on the .NET Framework 2.0: "The constructor to deserialize an object of type '<custom object>' was not found"
FIX: Error message if you use the "CspParameters" class to programmatically set a password in an application that is built on the .NET Framework 2.0: "Incorrect PIN"
FIX: You may notice that the memory load is very high when you run an application that is built on the .NET Framework 2.0
FIX: After you create a .NET Framework 2.0-based application that makes the replication for a site link available in a specific time period, the replication is available for all time periods
FIX: Error message when you run a client application that is built on the .NET Framework 2.0: "The request was cancelled. An underlying connection that was expected to be open was closed"
FIX: Error message when you run an ASP.NET 2.0 Web application that is built on the .NET Framework 2.0 after you install the MS07-040 security update: "Type 'System.Web.HttpHeaderCollection' is not marked as serializable"
FIX: Error message after you install the MS07-040 update and you try to serialize a custom data type in a .NET Framework 2.0 application: "Error CS0200"
FIX: You receive a NullReferenceException exception when you run a .NET Framework 2.0-based application that uses the ShowDialog method, and the method specifies an IWin32Window owner
FIX: The performance of the drawing operation decreases in a Windows Forms application that was built on the .NET Framework 2.0
FIX: The System.Data.Index.CompareRecords method generates a System.NullReferenceException exception when you try to use code to modify a record in a data table in a .NET Framework 2.0-based application
FIX: You receive the NullReferenceException exception when you call the String.IsNullOrEmpty function in an application that is built on the .NET Framework 2.0
FIX: A RemotingException exception occurs when you compile a large Web site project that is built on the .NET Framework 2.0 by using the ASP.NET Compilation tool
FIX: You may receive a System.IO.FileNotFoundException exception when you browse a .NET Framework 2.0 ASP.NET Web application
FIX: Error message when you use an application that is built on the .NET Framework 2.0 to run a query: "Object reference not set to an instance of an object"
FIX: Blocking problems may occur when you use SQL Server to store ASP.NET session state information for a Web site that experiences high loads
FIX: The value of the ImeMode property automatically changes to the Off value in the .NET Framework 2.0
FIX: A memory leak may occur when you create and then delete Windows form control objects in an application that is built on the .NET Framework 2.0
FIX: Error message when a client application that is built on the .NET Framework 2.0 sends a request to a server that is running Windows Communication Foundation: "HTTP/1.1 500 Internal Server Error"
FIX: Error message in a .NET remoting application when you use IPv6 addresses: "A socket operation was attempted to an unreachable host"
FIX: The operation takes a long time to finish when you rename a control by using the Properties window in Visual Studio 2005
FIX: The # Induced GC performance counter value increases quickly and CPU usage becomes high when you run an ASP.NET 2.0 Web application that is built on the .NET Framework 2.0
FIX: Error message when you use a smart card CSP together with the "RSACryptoServiceProvider.SignData" method in the .NET Framework 2.0
FIX: You cannot use the TAB key to change the focus in a .NET Framework 2.0-based Windows Forms application that dynamically changes binding sources
FIX: Error message when you call the "System.Xml.Xsl.XslTransform.Transform" method two times in a .NET Framework 2.0-based application: "Circular reference in the definition of variable <variable name>"
FIX: The call to the System.Transactions.CommittableTransaction.Commit method may always be blocked in a .NET Framework 2.0-based application
FIX: You may experience slow performance when you call certain X509Certificate2 constructors on a computer that is running the .NET Framework 2.0
FIX: A deadlock may occur when two threads call a fusion API to access the same assembly in the .NET Framework 2.0
FIX: A .NET Framework 2.0 managed application that has an Authenticode signature takes longer than usual to start
FIX: A client cannot determine whether a chunked HTTP response is completed when the connection is closed before the response is completely sent to the client
FIX: You may not obtain the correct value from the logical operation stack when you use the System.Diagnostics.Trace.CorrelationManager.LogicalOperationStack property in the .NET Framework 2.0
FIX: Error message when you try to press ESC to cancel adding a new row to a DataGridView control in the .NET Framework 2.0: "An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll"
FIX: You receive the System.IndexOutOfRangeException exception error when you use a native image on an x64-based computer in the Microsoft .NET Framework 2.0
FIX: Error message when you try to marshal a distributed transaction across application domains by using the EnterpriseServices component in the .NET Framework 2.0: "Unhandled Exception: System.Runtime.Serialization.SerializationException"
FIX: A multipart/mixed MIME part is added unnecessarily when you use the System.Net.Mail namespace to send an e-mail message in the .NET Framework 2.0
FIX: You may receive an exception when you browse a .NET Framework 2.0 ASP.NET Web application
FIX: A method does not throw a custom exception type in the .NET Framework 2.0
FIX: Random values may be written to the float parameters of some functions in a custom application that you create by using the .NET Framework 2.0
An update that lets you configure the location of the temp folder is available for the .NET Framework 2.0
FIX: A memory leak occurs when a managed application uses a platform invoke call to call an unmanaged function in the .NET Framework 2.0
FIX: You cannot use the IME to input some languages in a container control in a .NET Framework 2.0-based Windows Forms application
FIX: Incorrect data is written to the XML file when you use the OracleDataReader.GetBytes method to read a raw column in the .NET Framework 2.0
FIX: Error message when you use the OdbcCommandBuilder class to update a Sybase database in the .NET Framework 2.0: "Dynamic SQL generation is not supported against a SelectCommand that does not return any base table information"
FIX: The HttpListenerRequest.GetClientCertificate method may not retrieve the client certificate in a .NET Framework 2.0-based application
FIX: Multiple cookies may be merged under one Set-Cookie header in the HTTP response when a .NET Framework 2.0 application calls the "HttpListenerResponse.SetCookie" method
FIX: Error message if you modify a resource file when an ASP.NET 2.0 application is running: "System.InvalidOperationException The resource class for this page was not found"
FIX: You may experience a decrease in the performance of a .NET Framework 2.0-based application when you call the System.Web.UI.MobileControls.Style.GetValue method many times
FIX: Error message when you try to visit an ASP.NET 2.0-based Web page: "HttpException (0x80004005): '/HandlerTest/WebForm1.aspx/a:b' is not a valid virtual path"
FIX: Error message when you record a Web test in Visual Studio 2005 Team System Test Edition: "Request Failed: Index and length must refer to a location within the string"
FIX: Data that is associated with a component that uses the System.Data object may become corrupted in an application that is built on the Microsoft .NET Framework 2.0
FIX: The WMI service stops responding on a computer that is running the .NET Framework 2.0 and System Center Configuration Manager 2007
FIX: A Web application that is built by using ASP.NET 2.0 does not use the attribute value that you set in the xhtmlConformance element
FIX: Error message when you use a serialization surrogate to serialize XML data or to deserialize XML data in the Microsoft .NET Framework 2.0: "The object with ID 3 was referenced in a fixup but does not exist"
FIX: Error message when you use DEVPATH environment variables in a .NET Framework 2.0 ASP.NET Web application: "Could not load file or assembly '<AssemblyName>' or one of its dependencies"
FIX: The managed heap becomes corrupted when you run a program that is built by using the Microsoft .NET Framework 2.0
FIX: A NullReferenceException error occurs when you run a .NET Framework 2.0 program
FIX: Error message when you post chunked HTTP POST data to a remoting server in the .NET Framework 2.0: "HTTP chunked encoding error found"
FIX: The connection is not discarded from the connection pool when you use the .NET Framework Data Provider for Oracle in the .NET Framework 2.0 to connect to a data source and an exception occurs
FIX: A memory leak may occur when you call a C DLL from a C# class that includes strings in the .NET Framework 2.0
FIX: Memory usage may increase for .NET Framework Windows applications that call COM+ applications after you upgrade to the .NET Framework 2.0
FIX: A FileNotFoundException exception may occur when you run a .NET Framework 2.0 application that uses no-touch deployment on a Web server that is URL case-sensitive
FIX: An exception is not handled correctly when you use a try-catch block to handle an exception from multi-threads in the .NET Framework 2.0
FIX: The first CLR thread pool worker thread is never initialized for COM+ in an ASP.NET Web application that is configured to run under the .NET Framework 2.0
FIX: The System.Net.HttpWebRequest class may not maintain a persistent connection to a proxy in the .NET Framework 2.0
FIX: An InvalidViewState exception is not thrown as expected when you use the Triple DES encryption type to validate the System.Web.UI.Control.ViewState property in the .NET Framework 2.0
FIX: Error message when you use the MSIL Assembler (Ilasm.exe) to compile a Visual Studio project: "Invalid TypeDefID of exported type"
FIX: You cannot run a macro in Visual Studio 2005
FIX: Custom applications that use the Visual Studio for Applications Visual Basic Runtime may be unable to compile macros or to run macros
FIX: The value of the TransferEncoding property may be incorrect when you run a Visual Studio 2005 program that uses the System.Net.Mime or System.Net.Mail namespaces
FIX: The System.Net.Security.SslStream class always calls the InitializeSecurityContext function by using only one input buffer in the .NET Framework 2.0
FIX: A .NET Framework 2.0-based application may experience an ArgumentNullException exception and may exit unexpectedly
FIX: Error message when you try to use the .NET Framework Data Provider for SQL Server in the .NET Framework 2.0 to retrieve the value of a column: "System.InvalidOperationException" or "System.Data.SqlClient.SqlException"
FIX: Error message when a COM client calls a managed COM component to expose events in the .NET Framework 2.0: "0x80040201 - An event was unable to invoke any of the subscribers"
FIX: A Windows Forms control cannot resize itself when you host the control in Internet Explorer on a computer that is running the .NET Framework 2.0
A hotfix rollup package is available that resolves the problems that are described in KB articles 913297, 913393, 918995, and 924895
FIX: Error message when you run an application in the .NET Framework 2.0: "System.IO.FileNotFoundException"
FIX: A Microsoft .NET Framework 2.0-based application may crash during the garbage collection process when you use the Native Image Generator tool and a generic method
FIX: Server garbage collector threads may enter an endless loop condition in the .NET Framework 2.0
FIX: The ThreadPoolMgr::WorkerThreadStart process may become locked in a loop condition in a .NET Framework 2.0-based application, and CPU utilization may increase to 100 percent
FIX: Error message when you try to query data from a column of the XML data type or from a variable of the XML data type in SQL Server 2005: "An error occurred while executing batch"
FIX: You receive an error message and a Windows form does not appear when you open the form in the Visual Studio 2005 IDE after you delete the application settings in the Windows Forms-based project
FIX: You may receive an "InvalidCastException" error message when you try to debug the dump files for Windows SharePoint Services
FIX: Error message when you add a Web reference to a project in Visual Studio 2005: "The custom tool 'MSDiscoCodeGenerator' failed"
FIX: The status of the Chinese IME may change to the full-shape mode when you move the focus to a control in a Windows application that uses the .NET Framework 2.0
FIX: A Windows form may not work as expected when you use the Show method in a COM client application to display the form on a computer that is running the .NET Framework 2.0
FIX: The XML serialization may lose some optional elements in an XSD schema in the .NET Framework 2.0
FIX: The data in a POST request is truncated to 49,152 bytes when an ASP.NET-connected application receives the POST request
FIX: Error message when you use the System.Xml.Serialization.XmlRootAttribute.Namespace property for an anonymous Web Service type in the .NET Framework 2.0
FIX: An application that is based on the .NET Framework 2.0 may crash unexpectedly
FIX: The System.Net.HttpWebRequest class parses the string "//" into "/" in a request URI in the .NET Framework 2.0
FIX: The application process may unexpectedly stop when you run a managed application that is based on the .NET Framework 2.0, or the server may shut down when you run managed code in SQL Server 2005
FIX: You may encounter a System.NullReferenceException exception when you call a COM interface method in the .NET Framework 2.0
FIX: Some characters in a text resource may not appear correctly when you try to embed the text resource in a Web application that is built on the .NET Framework 2.0
Error message when you use the System.Data.OleDb namespace in the .NET Framework 2.0 to retrieve data from the OLE DB Provider for SQL Server: "ICommandText interface is not supported by the 'SQLOLEDB' provider"
FIX: The call stack is missing frames when you debug a .NET Framework 2.0 application that uses COM interoperability
FIX: When you use the Native Image Generator (Ngen.exe) in the .NET Framework 2.0, the size of the stack frames increases significantly
FIX: Error message when you compile MSIL code into an executable program in the .NET Framework 2.0: "IndexOutOfRangeException"
FIX: Sos.dll leaks memory when you use an external debugger tool to debug an application in the .NET Framework 2.0
FIX: The HttpListenerRequest.InputStream.EndRead method does not return the actual number of bytes that are read from a stream in a .NET 2.0 Framework application
FIX: Error message when you run a .NET Framework 2.0 Remoting application: "Unhandled Exception: System.AccessViolationException"
FIX: A System.InvalidCastException exception may occur when you call the OdbcConnection.GetSchema method in the .NET Framework 2.0
FIX: The OracleDataReader.GetChars method may return the incorrect data in the .NET Framework 2.0
FIX: Error message when you try to run an ASP.NET 2.0 Web application that includes Web services: "The file <FilePath> does not exist"
FIX: The .NET Framework 2.0 does not serialize the AttributeGroup schema elements in the correct namespace
FIX: You receive build error messages when you try to build a Windows Forms project after you change the code that describes a custom container control in Visual Studio 2005
FIX: A deadlock may occur when you use COM interop cross-context interface marshaling in the .NET Framework 2.0
FIX: Error message when you try to compile a large intermediate language file by using the Ilasm.exe tool in the .NET Framework 2.0: "Duplicate global label '_MF_LIT_530223'"
FIX: The form may not be displayed when you try to switch to Design view for a complex form in Visual Studio 2005
FIX: You may experience an unexpected AppDomain restart in an ASP.NET Web application that is based on the .NET Framework 2.0
FIX: A modal form may hide behind its parent in a .NET Framework 2.0-based Windows Forms application when the modal form displays an error in the ErrorProvider control
The Microsoft .NET Framework 2.0 client closes a persistent connection to a Web server when you try to access a forbidden resource from the Web server that returns an HTTP 403 status code
You may receive an error message when you try to run the DFS Management snap-in on a Windows Server 2003 R2-based computer
FIX: Some data rows are missing when you call the ReadXML method to read data from separate DiffGrams for the same DataSet object in the .NET Framework 2.0
FIX: When you use the MSIL Assembler in the .NET Framework 2.0 to generate a PE file from the MSIL code, the PE file may close unexpectedly, and you may receive an access violation error message
FIX: After you run a Visual Studio 2005 application that contains a ReportViewer control, the report is not printed the first time that you click Print
FIX: You experience unexpectedly high CPU usage when you run a .NET Framework 2.0-based application that uses the LdapConnection.BeginSendRequest method
FIX: When you modify a tab page in a TabControl control and then open the form in Windows Form Designer, the tab pages appear in a different order in Visual Studio 2005
FIX: When you try to run an application that was built by using Microsoft Foundation Classes in Visual Studio 2005, the application stops unexpectedly
FIX: A .NET Framework 2.0-based application may require read/write permissions to a registry key even though the application only has to read the registry key
FIX: A Visual C# 2005 project may take significantly longer to compile after you port the project from Visual C# .NET 2003
FIX: A deserialized object may contain null objects when you deserialize an object from XML in the .NET Framework 2.0
FIX: A .NET Framework 2.0-based application may not be able to associate a private key with an X509Certificate2 object
FIX: The Click event for the associated Button control is not raised when page validation fails in a Web application that was built by using ASP.NET 2.0
FIX: You receive a ThreadAbortException exception in an ASP.NET Web application that is based in the .NET Framework 2.0 when the Async page directive property is set to true
FIX: You may receive an error message when you try to generate a Web reference for a Web service by using the Wsdl.exe tool in the .NET Framework 2.0
FIX: You may receive an error message when you try to use the Windows Forms ActiveX Control Importer (Aximp.exe) in Visual Studio 2005
FIX: You may receive an error message when you try to close a Windows Forms-based application when the application is running on the .NET Framework 2.0
FIX: The common language runtime throws ThreadAbortException exceptions when you call the Thread.Abort method to stop an ASP.NET request in the .NET Framework 2.0
FIX: A synchronized method that has security callouts may not save a return value after control returns to the calling function in an application that is built by using the 64-bit version of the .NET Framework 2.0
FIX: An exception is not raised to the managed caller when you implement a custom marshaler in a .NET Framework 2.0 application
FIX: The Web Services Description Language (WSDL) that is generated from a remote object may not include the type information for nested types or types that include overloaded methods in the .NET Framework 2.0
FIX: The OdbcConnection object does not report an error when you specify a transaction isolation level that is not supported by the data source in the .NET Framework 2.0
FIX: The debugger moves to the next .line directive when you set a breakpoint on a statement and the statement is related to a .line directive that does not contain a column range in the .NET Framework 2.0
FIX: JIT compilation may take much longer when you run a .NET Framework 2.0 application on a 64-bit computer
FIX: You may receive an OutOfMemoryException exception when you run a .NET Framework 2.0-based application
FIX: Internet Explorer may freeze when you click a link to start a .NET Framework 2.0 client application in Internet Explorer and another file download is already in progress
FIX: An access violation may occur when a .NET Framework 2.0-based application calls the IWebProxy.GetProxy method
FIX: A regeneration of the 32nd Ngen image may not trigger a recompilation of the Ngen image when you use the Native Image Generator in managed code on a computer that is running the .NET Framework 2.0
FIX: IntelliSense does not work when you use the MMC Snap-In for ASP.NET or the Web Site Administration Tool to add an existing Web.config file to a .NET Framework 2.0 ASP.NET Web site
FIX: Error message when you try to add a user-defined control to a Windows Form by using Visual Studio 2005: "Debug assertion failed"
FIX: Parentheses may be added around every letter when you type a line of code in the Visual Basic 2005 Code Editor on a computer that is running the .NET Framework 2.0
FIX: You may receive a "security exception" error message on a Windows 2000-based or Windows Server 2003-based computer that is running an ASP.NET 2.0-based application
FIX: You may receive an InvalidCastException error in an ASP.NET-connected Web application
FIX: Not all paths that are specified in the DEVPATH environment variable will be considered by the .NET binding infrastructure (fusion) in the .NET Framework 2.0
FIX: The .NET Framework 2.0 Thread.IsThreadPoolThread property always returns a value of false, and the SQL Server 2005 Reporting Services log file grows uncontrollably
FIX: You only receive notification for the first e-mail message when you send multiple e-mail messages by using the System.Net.Mail namespace in a .NET Framework 2.0-based application
FIX: Error message when you try to send e-mail by using the System.Net.Mail.SmtpClient class in a Visual Studio 2005-based application
FIX: An application that is built on the Microsoft .NET Framework 2.0 may stop responding when you run the application on a 64-bit computer
FIX: You receive an exception error message when you specify a Content-Length HTTP header that is larger than 2 GB in ASP.NET 2.0
FIX: A .NET Framework 2.0 application that runs under a user account context when no user profile is associated with the user account context may crash, or you may receive an access violation error message
FIX: Windows Error Reporting crashes when the Sos.dll file is loaded in memory in the .NET Framework 2.0
FIX: Error message when you try to run a Web application that was built by using the .NET Framework 2.0: "Overwhelming changes have occurred"
FIX: A .NET Framework 2.0-based application may crash when you use HTTPS to download managed code from a source server computer
FIX: When you run a 64-bit application that was built by using the .NET Framework, you may notice that the application uses more memory than a similar 32-bit application
FIX: Out of memory exceptions may occur when you run an application that is built by using the .NET Framework 2.0 in a high-load environment
FIX: An assembly that uses the System.Data.SqlXml namespace may be dynamically rebased and reloaded after you use the Native Image Generator (Ngen.exe) tool in the .NET Framework 2.0
FIX: You may receive an error message when you rebuild a solution and try to view a Windows Form in Design view in Visual Studio 2005
FIX: Error message when you try to browse the root folder of a Web application that is built on the .NET Framework 2.0: "Object reference not set to an instance of an object"
FIX: Error message when you try to go to an ASP.NET page by using a URL that contains Unicode characters: "HTTP error 400 'bad request'"
FIX: ASP.NET 2.0-connected applications on a Web site may appear to stop responding
FIX: You may experience a significant delay when you make the first request to an ASP.NET Web application that is running on Windows Server 2003
FIX: Error message when you try to install a ClickOnce application that you created in the .NET Framework 2.0 onto a client computer that is configured to use a proxy server: "Proxy authentication required"
FIX: Error message when you try to use the SqlClient class in an ADO.NET 2.0-based application to connect to an instance of SQL Server 2005: "New request is not allowed to start because it should come with valid transaction descriptor"
Typically, a service pack is a bundle of fixes. If you install only the service pack, the hotfixes that require manual steps will not be enabled. If any of the hotfixes require manual steps to be installed, you must follow the manual steps in the specific Microsoft Knowledge Base article after you apply the .NET Framework 2.0 Service Pack 1.Note
Windows Vista includes the .NET Framework 3.0. The .NET Framework 3.0 includes the .NET Framework 2.0. To obtain the latest version of the .NET Framework in Windows Vista, use Windows Update. For more information about Windows Update in Windows Vista, visit the following Microsoft Web site: