Problems that are fixed in the .NET Framework 2.0 Service Pack 1

Article translations Article translations
Article ID: 945757 - View products that this article applies to.
Expand all | Collapse all

INTRODUCTION

This article lists information about the problems that are fixed in the Microsoft .NET Framework 2.0 Service Pack 1 (SP1).

Not Previously Documented

When you access an application on a Web site that uses the .NET Framework, and the Web site's home directory is the root directory of the host computer, the server returns a page that contains an HTTP 404 error message. Additionally, you receive the following error message:
Server Error in '/Test' Application

The resource cannot be found
For example, you may experience this problem when the Web site's home directory is C:\.

MORE INFORMATION

The .NET Framework 2.0 Service Pack 1 fixes the problems that are described in the following articles in the Microsoft Knowledge Base:
942708 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
942086 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"
942084 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"
942027 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
941683 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
941633 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"
941386 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"
941349 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"
941132 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
941078 FIX: The performance of the drawing operation decreases in a Windows Forms application that was built on the .NET Framework 2.0
940932 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
940900 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
940700 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
940345 FIX: You may receive a System.IO.FileNotFoundException exception when you browse a .NET Framework 2.0 ASP.NET Web application
940104 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"
939866 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
939783 FIX: The value of the ImeMode property automatically changes to the Off value in the .NET Framework 2.0
939731 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
939670 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"
939525 FIX: Error message in a .NET remoting application when you use IPv6 addresses: "A socket operation was attempted to an unreachable host"
939520 FIX: The operation takes a long time to finish when you rename a control by using the Properties window in Visual Studio 2005
938276 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
937780 FIX: Error message when you use a smart card CSP together with the "RSACryptoServiceProvider.SignData" method in the .NET Framework 2.0
937460 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
937320 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>"
936983 FIX: The call to the System.Transactions.CommittableTransaction.Commit method may always be blocked in a .NET Framework 2.0-based application
936798 FIX: You may experience slow performance when you call certain X509Certificate2 constructors on a computer that is running the .NET Framework 2.0
936757 FIX: A deadlock may occur when two threads call a fusion API to access the same assembly in the .NET Framework 2.0
936707 FIX: A .NET Framework 2.0 managed application that has an Authenticode signature takes longer than usual to start
936464 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
936233 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
936199 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"
935904 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
935669 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"
935287 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
934839 FIX: You may receive an exception when you browse a .NET Framework 2.0 ASP.NET Web application
934603 FIX: A method does not throw a custom exception type in the .NET Framework 2.0
934593 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
934529 An update that lets you configure the location of the temp folder is available for the .NET Framework 2.0
934334 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
934197 FIX: You cannot use the IME to input some languages in a container control in a .NET Framework 2.0-based Windows Forms application
934058 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
934055 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"
933907 FIX: The HttpListenerRequest.GetClientCertificate method may not retrieve the client certificate in a .NET Framework 2.0-based application
933905 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
933383 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"
932602 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
932552 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"
932536 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"
932491 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
932303 FIX: The WMI service stops responding on a computer that is running the .NET Framework 2.0 and System Center Configuration Manager 2007
931795 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
931634 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"
931338 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"
930771 FIX: The managed heap becomes corrupted when you run a program that is built by using the Microsoft .NET Framework 2.0
929688 FIX: A NullReferenceException error occurs when you run a .NET Framework 2.0 program
929506 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"
929449 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
929425 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
929422 FIX: Memory usage may increase for .NET Framework Windows applications that call COM+ applications after you upgrade to the .NET Framework 2.0
929023 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
928870 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
928569 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
928563 FIX: The System.Net.HttpWebRequest class may not maintain a persistent connection to a proxy in the .NET Framework 2.0
928399 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
928382 FIX: Error message when you use the MSIL Assembler (Ilasm.exe) to compile a Visual Studio project: "Invalid TypeDefID of exported type"
928209 FIX: You cannot run a macro in Visual Studio 2005
928208 FIX: Custom applications that use the Visual Studio for Applications Visual Basic Runtime may be unable to compile macros or to run macros
927858 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
927579 FIX: The System.Net.Security.SslStream class always calls the InitializeSecurityContext function by using only one input buffer in the .NET Framework 2.0
927146 FIX: A .NET Framework 2.0-based application may experience an ArgumentNullException exception and may exit unexpectedly
927105 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"
926997 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"
926853 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
926776 A hotfix rollup package is available that resolves the problems that are described in KB articles 913297, 913393, 918995, and 924895
926660 FIX: Error message when you run an application in the .NET Framework 2.0: "System.IO.FileNotFoundException"
926596 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
926595 FIX: Server garbage collector threads may enter an endless loop condition in the .NET Framework 2.0
926594 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
926425 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"
926403 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
925613 FIX: You may receive an "InvalidCastException" error message when you try to debug the dump files for Windows SharePoint Services
925492 FIX: Error message when you add a Web reference to a project in Visual Studio 2005: "The custom tool 'MSDiscoCodeGenerator' failed"
925488 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
925369 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
925272 FIX: The XML serialization may lose some optional elements in an XSD schema in the .NET Framework 2.0
925248 FIX: The data in a POST request is truncated to 49,152 bytes when an ASP.NET-connected application receives the POST request
925076 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
924895 FIX: An application that is based on the .NET Framework 2.0 may crash unexpectedly
924551 FIX: The System.Net.HttpWebRequest class parses the string "//" into "/" in a request URI in the .NET Framework 2.0
924289 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
923781 FIX: You may encounter a System.NullReferenceException exception when you call a COM interface method in the .NET Framework 2.0
923707 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
923562 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"
923326 FIX: The call stack is missing frames when you debug a .NET Framework 2.0 application that uses COM interoperability
923325 FIX: When you use the Native Image Generator (Ngen.exe) in the .NET Framework 2.0, the size of the stack frames increases significantly
923319 FIX: Error message when you compile MSIL code into an executable program in the .NET Framework 2.0: "IndexOutOfRangeException"
923299 FIX: Sos.dll leaks memory when you use an external debugger tool to debug an application in the .NET Framework 2.0
923145 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
923028 FIX: Error message when you run a .NET Framework 2.0 Remoting application: "Unhandled Exception: System.AccessViolationException"
922981 FIX: A System.InvalidCastException exception may occur when you call the OdbcConnection.GetSchema method in the .NET Framework 2.0
922674 FIX: The OracleDataReader.GetChars method may return the incorrect data in the .NET Framework 2.0
922545 FIX: JavaScript error message when you click a hyperlink in a SQL Server 2005 Reporting Services report: "Can’t execute code from a freed script"
922345 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"
921968 FIX: The .NET Framework 2.0 does not serialize the AttributeGroup schema elements in the correct namespace
921535 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
921217 FIX: A deadlock may occur when you use COM interop cross-context interface marshaling in the .NET Framework 2.0
921118 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'"
921019 FIX: The form may not be displayed when you try to switch to Design view for a complex form in Visual Studio 2005
920970 FIX: You may experience an unexpected AppDomain restart in an ASP.NET Web application that is based on the .NET Framework 2.0
920923 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
919804 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
919633 You may receive an error message when you try to run the DFS Management snap-in on a Windows Server 2003 R2-based computer
919532 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
919514 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
918999 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
918995 FIX: You experience unexpectedly high CPU usage when you run a .NET Framework 2.0-based application that uses the LdapConnection.BeginSendRequest method
918897 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
918842 FIX: When you try to run an application that was built by using Microsoft Foundation Classes in Visual Studio 2005, the application stops unexpectedly
918642 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
918426 FIX: A Visual C# 2005 project may take significantly longer to compile after you port the project from Visual C# .NET 2003
918298 FIX: A deserialized object may contain null objects when you deserialize an object from XML in the .NET Framework 2.0
918254 FIX: A .NET Framework 2.0-based application may not be able to associate a private key with an X509Certificate2 object
918223 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
918181 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
918166 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
918148 FIX: You may receive an error message when you try to use the Windows Forms ActiveX Control Importer (Aximp.exe) in Visual Studio 2005
918146 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
918102 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
917882 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
917868 FIX: An exception is not raised to the managed caller when you implement a custom marshaler in a .NET Framework 2.0 application
917782 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
917752 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
917559 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
917507 FIX: JIT compilation may take much longer when you run a .NET Framework 2.0 application on a 64-bit computer
917495 FIX: You may receive an OutOfMemoryException exception when you run a .NET Framework 2.0-based application
917493 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
917447 FIX: An access violation may occur when a .NET Framework 2.0-based application calls the IWebProxy.GetProxy method
917316 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
917238 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
916495 FIX: Error message when you try to add a user-defined control to a Windows Form by using Visual Studio 2005: "Debug assertion failed"
916209 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
915980 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
915782 FIX: You may receive an InvalidCastException error in an ASP.NET-connected Web application
915430 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
915088 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
913753 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
913616 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
913469 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
913393 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
913384 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
913382 FIX: Windows Error Reporting crashes when the Sos.dll file is loaded in memory in the .NET Framework 2.0
913297 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"
913047 FIX: A .NET Framework 2.0-based application may crash when you use HTTPS to download managed code from a source server computer
912891 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
912884 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
912365 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
912019 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
911300 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"
911276 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'"
911272 FIX: ASP.NET 2.0-connected applications on a Web site may appear to stop responding
944157 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
917952 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"
916002 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:
http://www.microsoft.com/windows/products/windowsvista/features/details/windowsupdate.mspx

REFERENCES

For more information about the .NET Framework, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/zw4w595w(VS.71).aspx
To download the x86-based version of the .NET Framework 2.0 SP1, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?familyid=79BC3B77-E02C-4AD3-AACF-A7633F706BA5
To download the x64-based version of the .NET Framework 2.0 SP1, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=029196ed-04eb-471e-8a99-3c61d19a4c5a

Properties

Article ID: 945757 - Last Review: November 7, 2008 - Revision: 4.1
APPLIES TO
  • Microsoft .NET Framework 2.0
Keywords: 
kbexpertiseadvanced kbhowto kbinfo KB945757

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com