Article ID: 323744 - View products that this article applies to.
This article was previously published under Q323744
You may receive the following error message in ASP.NET:
You may receive this error message under the following circumstances:
The View State is invalid for this page and might be corrupted
(http://support.microsoft.com/kb/313091/EN-US/ )HOW TO: Create Keys by Using Visual Basic .NET for Use in Forms Authentication
(http://support.microsoft.com/kb/312906/EN-US/ )HOW TO: Create Keys by Using Visual C# .NET for Use in Forms Authentication
The case-sensitive value that the TemplateSourceDirectory property of a page returns is used to create and to validate the ViewState property for that page. The value of this property for a page depends on the case-sensitive URL that the first user for that page requested. This value is reused for the remaining requests for that page until that page is recompiled. When the page is recompiled, the TemplateSourceDirectory property is re-initialized. If the new value (which is case-sensitive) differs from the previous value, the ViewState validation from the existing clients fails.
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date Time Version Size File name -------------------------------------------------------------- 29-May-2002 19:18 1.0.3705.284 192,512 Aspnet_isapi.dll 29-May-2002 19:12 19,332 Aspnet_perf.ini 29-May-2002 19:18 1.0.3705.284 24,576 Aspnet_regiis.exe 29-May-2002 19:19 1.0.3705.284 28,672 Aspnet_wp.exe 20-Mar-2002 14:31 8,709 Smartnav.js 20-Mar-2002 14:31 7,003 Smartnavie5.js 29-May-2002 19:28 1.0.3705.284 1,183,744 System.web.dll
This hotfix is also available for the Korean (KOR) version of Microsoft ASP.NET. For additional information about this hotfix, see 323744
Note The information in this article applies to the Korean version of Microsoft ASP.NET (included with the .NET Framework) 1.0.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce the Behavior
Article ID: 323744 - Last Review: October 11, 2005 - Revision: 4.4
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.