Article ID: 961902 - Last Review: April 30, 2009 - Revision: 2.0 FIX: Error message when you compile an ASP.NET project that contains many application resource files: "A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll"On This PageSYMPTOMSYou have a Microsoft ASP.NET project that contains many application resources (.resx) files. The file names do not include a language and a culture between ".aspx" and ".resx."
For example, you have pages that are named AspxPageKeyXX.aspx. You also have .resx files in the App_LocalResources folder that are named AspxPageKeyXX.aspx.resx. These files are instead of or in addition to the .resx files that include a culture identifier (for example, AspxPageKey400.aspx.ru.resx). You experience the following problems when the computer is running Microsoft .NET Framework 2.0 Service Pack 2 (SP2):
RESOLUTIONWindows XP and Windows Server 2003To resolve this problem in Windows XP and in Windows Server 2003, apply the hotfix rollup package that is described in Microsoft Knowledge Base article 969612. For more information, click the following article number to view the article in the Microsoft Knowledge Base:969612
(http://support.microsoft.com/kb/969612/
)
Description of the hotfix rollup package for ASP.NET 2.0: April 2009
Windows Vista and Windows Server 2008To resolve this problem in Windows Vista and in Windows Server 2008, download and apply the hotfix that is described in Microsoft Knowledge Base article 967535. For more information, click the following article number to view the article in the Microsoft Knowledge Base:967535
(http://support.microsoft.com/kb/967535/
)
FIX: A hotfix is available to fix two problems in ASP.NET on IIS 7.0 for Windows Vista and Windows Server 2008
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
917414
(http://support.microsoft.com/kb/917414/
)
How to use application resource files (.resx) to efficiently create a localizable ASP.NET Web application
| Article Translations
|
Back to the top
