Microsoft KB Archive/945757

From BetaArchive Wiki
Knowledge Base


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

Article ID: 945757

Article Last Modified on 12/10/2007



APPLIES TO

  • Microsoft .NET Framework 2.0



INTRODUCTION

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

MORE INFORMATION

The .NET Framework 2.0 SP1 fixes the problems that are described in the following articles in the Microsoft Knowledge Base:

942708FIX: 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"


942084FIX: 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"


942027FIX: You may notice that the memory load is very high when you run an application that is built on the .NET Framework 2.0


941683FIX: 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


941633FIX: 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"


941386FIX: 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"


941349FIX: 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"


941132FIX: 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


941078FIX: The performance of the drawing operation decreases in a Windows Forms application that was built on the .NET Framework 2.0


940932FIX: 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


940900FIX: You receive the NullReferenceException exception when you call the String.IsNullOrEmpty function in an application that is built on the .NET Framework 2.0


940700FIX: 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


940345FIX: You may receive a System.IO.FileNotFoundException exception when you browse a .NET Framework 2.0 ASP.NET Web application


940104FIX: 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"


939866FIX: Blocking problems may occur when you use SQL Server to store ASP.NET session state information for a Web site that experiences high loads


939783FIX: The value of the ImeMode property automatically changes to the Off value in the .NET Framework 2.0


939731FIX: 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


939670FIX: 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"


939525FIX: Error message in a .NET remoting application when you use IPv6 addresses: "A socket operation was attempted to an unreachable host"


939520FIX: The operation takes a long time to finish when you rename a control by using the Properties window in Visual Studio 2005


938276FIX: 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


937780FIX: Error message when you use a smart card CSP together with the "RSACryptoServiceProvider.SignData" method in the .NET Framework 2.0


937460FIX: 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>"


936983FIX: The call to the System.Transactions.CommittableTransaction.Commit method may always be blocked in a .NET Framework 2.0-based application


936798FIX: You may experience slow performance when you call certain X509Certificate2 constructors on a computer that is running the .NET Framework 2.0


936757FIX: A deadlock may occur when two threads call a fusion API to access the same assembly in the .NET Framework 2.0


936707FIX: A .NET Framework 2.0 managed application that has an Authenticode signature takes longer than usual to start


936464FIX: 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


936233FIX: 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


936199FIX: 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"


935904FIX: 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


935669FIX: 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"


935287FIX: 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


934839FIX: You may receive an exception when you browse a .NET Framework 2.0 ASP.NET Web application


934603FIX: A method does not throw a custom exception type in the .NET Framework 2.0


934593FIX: 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


934529An update that lets you configure the location of the temp folder is available for the .NET Framework 2.0


934334FIX: A memory leak occurs when a managed application uses a platform invoke call to call an unmanaged function in the .NET Framework 2.0


934197FIX: You cannot use the IME to input some languages in a container control in a .NET Framework 2.0-based Windows Forms application


934058FIX: 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


934055FIX: 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"


933907FIX: The HttpListenerRequest.GetClientCertificate method may not retrieve the client certificate in a .NET Framework 2.0-based application


933905FIX: 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


933383FIX: 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"


932602FIX: 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


932552FIX: 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"


932536FIX: 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"


932491FIX: 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


932303FIX: The WMI service stops responding on a computer that is running the .NET Framework 2.0 and System Center Configuration Manager 2007


931795FIX: 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


931634FIX: 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"


930771FIX: The managed heap becomes corrupted when you run a program that is built by using the Microsoft .NET Framework 2.0


929688FIX: A NullReferenceException error occurs when you run a .NET Framework 2.0 program


929506FIX: Error message when you post chunked HTTP POST data to a remoting server in the .NET Framework 2.0: "HTTP chunked encoding error found"


929449FIX: 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


929425FIX: A memory leak may occur when you call a C DLL from a C# class that includes strings in the .NET Framework 2.0


929422FIX: Memory usage may increase for .NET Framework Windows applications that call COM+ applications after you upgrade to the .NET Framework 2.0


929023FIX: 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


928870FIX: 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


928569FIX: 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


928563FIX: The System.Net.HttpWebRequest class may not maintain a persistent connection to a proxy in the .NET Framework 2.0


928399FIX: 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


928382FIX: Error message when you use the MSIL Assembler (Ilasm.exe) to compile a Visual Studio project: "Invalid TypeDefID of exported type"


928209FIX: You cannot run a macro in Visual Studio 2005


928208FIX: Custom applications that use the Visual Studio for Applications Visual Basic Runtime may be unable to compile macros or to run macros


927858FIX: 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


927579FIX: The System.Net.Security.SslStream class always calls the InitializeSecurityContext function by using only one input buffer in the .NET Framework 2.0


927146FIX: A .NET Framework 2.0-based application may experience an ArgumentNullException exception and may exit unexpectedly


927105FIX: 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"


926997FIX: 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"


926853FIX: 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


926776A hotfix rollup package is available that resolves the problems that are described in KB articles 913297, 913393, 918995, and 924895


926660FIX: Error message when you run an application in the .NET Framework 2.0: "System.IO.FileNotFoundException"


926596FIX: 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


926595FIX: Server garbage collector threads may enter an endless loop condition in the .NET Framework 2.0


926594FIX: 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


926425FIX: 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"


926403FIX: 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


925613FIX: You may receive an "InvalidCastException" error message when you try to debug the dump files for Windows SharePoint Services


925492FIX: Error message when you add a Web reference to a project in Visual Studio 2005: "The custom tool 'MSDiscoCodeGenerator' failed"


925488FIX: 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


925369FIX: 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


925272FIX: The XML serialization may lose some optional elements in an XSD schema in the .NET Framework 2.0


925248FIX: The data in a POST request is truncated to 49,152 bytes when an ASP.NET-connected application receives the POST request


925076FIX: Error message when you use the System.Xml.Serialization.XmlRootAttribute.Namespace property for an anonymous Web Service type in the .NET Framework 2.0


924895FIX: An application that is based on the .NET Framework 2.0 may crash unexpectedly


924551FIX: The System.Net.HttpWebRequest class parses the string "//" into "/" in a request URI in the .NET Framework 2.0


924289FIX: 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


923781FIX: You may encounter a System.NullReferenceException exception when you call a COM interface method in the .NET Framework 2.0


923707FIX: 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


923562Error 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"


923326FIX: The call stack is missing frames when you debug a .NET Framework 2.0 application that uses COM interoperability


923325FIX: When you use the Native Image Generator (Ngen.exe) in the .NET Framework 2.0, the size of the stack frames increases significantly


923319FIX: Error message when you compile MSIL code into an executable program in the .NET Framework 2.0: "IndexOutOfRangeException"


923299FIX: Sos.dll leaks memory when you use an external debugger tool to debug an application in the .NET Framework 2.0


923145FIX: 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


923028FIX: Error message when you run a .NET Framework 2.0 Remoting application: "Unhandled Exception: System.AccessViolationException"


922981FIX: A System.InvalidCastException exception may occur when you call the OdbcConnection.GetSchema method in the .NET Framework 2.0


922674FIX: The OracleDataReader.GetChars method may return the incorrect data in the .NET Framework 2.0


922545FIX: 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"


921968FIX: The .NET Framework 2.0 does not serialize the AttributeGroup schema elements in the correct namespace


921535FIX: 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


921217FIX: A deadlock may occur when you use COM interop cross-context interface marshaling in the .NET Framework 2.0


921118FIX: 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'"


921019FIX: The form may not be displayed when you try to switch to Design view for a complex form in Visual Studio 2005


920970FIX: You may experience an unexpected AppDomain restart in an ASP.NET Web application that is based on the .NET Framework 2.0


920923FIX: 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


919804The 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


919633You may receive an error message when you try to run the DFS Management snap-in on a Windows Server 2003 R2-based computer


919532FIX: 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


919514FIX: 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


918999FIX: 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


918995FIX: You experience unexpectedly high CPU usage when you run a .NET Framework 2.0-based application that uses the LdapConnection.BeginSendRequest method


918897FIX: 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


918842FIX: When you try to run an application that was built by using Microsoft Foundation Classes in Visual Studio 2005, the application stops unexpectedly


918642FIX: 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


918426FIX: A Visual C# 2005 project may take significantly longer to compile after you port the project from Visual C# .NET 2003


918298FIX: A deserialized object may contain null objects when you deserialize an object from XML in the .NET Framework 2.0


918254FIX: A .NET Framework 2.0-based application may not be able to associate a private key with an X509Certificate2 object


918223FIX: 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


918181FIX: 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


918166FIX: 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


918148FIX: You may receive an error message when you try to use the Windows Forms ActiveX Control Importer (Aximp.exe) in Visual Studio 2005


918146FIX: 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


918102FIX: 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


917882FIX: 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


917868FIX: An exception is not raised to the managed caller when you implement a custom marshaler in a .NET Framework 2.0 application


917782FIX: 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


917752FIX: 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


917559FIX: 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


917507FIX: JIT compilation may take much longer when you run a .NET Framework 2.0 application on a 64-bit computer


917495FIX: You may receive an OutOfMemoryException exception when you run a .NET Framework 2.0-based application


917493FIX: 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


917447FIX: An access violation may occur when a .NET Framework 2.0-based application calls the IWebProxy.GetProxy method


917316FIX: 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


917238FIX: 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


916495FIX: Error message when you try to add a user-defined control to a Windows Form by using Visual Studio 2005: "Debug assertion failed"


916209FIX: 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


915980FIX: 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


915782FIX: You may receive an InvalidCastException error in an ASP.NET-connected Web application


915430FIX: 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


915088FIX: 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


913753FIX: 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


913616FIX: Error message when you try to send e-mail by using the System.Net.Mail.SmtpClient class in a Visual Studio 2005-based application


913469FIX: 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


913393FIX: 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


913384FIX: 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


913382FIX: Windows Error Reporting crashes when the Sos.dll file is loaded in memory in the .NET Framework 2.0


913297FIX: Error message when you try to run a Web application that was built by using the .NET Framework 2.0: "Overwhelming changes have occurred"


913047FIX: A .NET Framework 2.0-based application may crash when you use HTTPS to download managed code from a source server computer


912891FIX: 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


912884FIX: 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


912365FIX: 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


912019FIX: 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


911300FIX: 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"


911276FIX: 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'"


911272FIX: ASP.NET 2.0-connected applications on a Web site may appear to stop responding


REFERENCES

For more information about the .NET Framework, visit the following Microsoft Developer Network (MSDN) Web site:

To download the Microsoft .NET Framework 3.5, visit the following Microsoft Web site:

Keywords: kbhowto kbinfo kbexpertiseadvanced KB945757