Log på med Microsoft
Log på, eller opret en konto.
Hej
Markér en anden konto.
Du har flere konti
Vælg den konto, du vil logge på med.
Engelsk
Vi beklager. Denne artikel er ikke tilgængelig på dit sprog.

Symptoms

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:

  <form id="form1" runat="server">
<asp:Panel runat="server" ID="disablePanel">
The current server time is: <%=DateTime.NOW.ToString() %>
</asp:Panel>
</form>

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:


<%=DateTime.NOW.ToString() %>

Therefore, if you view the Source view of this page, the code resembles the following:

<form id="form1" runat="server">
<asp:Panel runat="server" ID="disablePanel" meta:resourcekey="Panel1Resource1">
The current server time is:
</asp:Panel>
</form>

Resolution

Hotfix Replacement Information

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

981201 A hotfix is available for ASP.NET 2.0 that enables support for extended protection   

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

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:

http://msdn.microsoft.com/en-us/library/ms247246.aspx

Har du brug for mere hjælp?

Vil du have flere indstillinger?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Var disse oplysninger nyttige?

Hvad påvirkede din oplevelse?
Når du trykker på Send, bliver din feedback brugt til at forbedre Microsoft-produkter og -tjenester. Din it-administrator kan indsamle disse data. Erklæring om beskyttelse af personlige oplysninger.

Tak for din feedback!

×