Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
FIX: Code blocks embedded in an ASP.NET 2.0 Web page disappear when you use the Generate Local Resource tool in Visual Web Developer to generate a local resource file
Article ID: 969364 - View products that this article applies to.
In Microsoft Visual Web Developer, you use the Generate Local Resource tool to generate a local resource file for an ASP.NET 2.0 Web page. When you do this, any embedded code blocks on this page may be deleted.
For example, you have a Panel control on the ASP.NET 2.0 Web page. The code for the Panel control resembles the following:
Then, you open this Web page in Visual Web Developer, and then click the Generate Local Resource on the Tools menu. However, the following string disappears from the code:
Therefore, if you view the Source view of this page, the code resembles the following:
Hotfix Replacement InformationThe hotfix that corresponds to KB969364 has been superseded with the hotfix KB981201, which contains all fixes that were previously included in KB969364 . You should use the hotfix KB981201 to fix the issues described in KB969364. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/981201/ )A hotfix is available for ASP.NET 2.0 that enables support for extended protection
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the Embedded Code Blocks in ASP.NET Web Pages, visit the following Microsoft Web site:
http://msdn.microsoft.com/en-us/library/ms178135.aspxFor more information about the Resource Files in ASP.NET Web Pages, visit the following Microsoft Web site: