Bejelentkezés Microsoft-fiókkal
Jelentkezzen be, vagy hozzon létre egy fiókot.
Üdvözöljük!
Válasszon másik fiókot.
Több fiókja van
Válassza ki a bejelentkezéshez használni kívánt fiókot.
Angol
Sajnáljuk. Ez a cikk nem érhető el az Ön nyelvén.

Symptoms

Consider the following scenario:

  • You create an ASP.NET 2.0 Web application.


  • You create a global resource file. The file name contains the culture name "zh-Hant".

In this scenario, the Web application cannot run. Additionally, you receive an exception error that resembles the following:

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.



Compiler Error Message: CS0101: The namespace 'Resources' already contains a definition for 'xxxx'



Note "zh-Hant" is the new Chinese -Traditional culture name introduced in Windows Vista and in Microsoft .NET Framework 2.0 to replace "zh-CHS".

Cause

This issue occurs because the Web application does not validate "zh-Hant" as a correct culture name.

Resolution

Hotfix Replacement Information

The hotfix that corresponds to KB971169   has been superseded with the hotfix KB981201, which contains all fixes that were previously included in KB971169. You should use the hotfix KB981201 to fix the issues described in KB971169 .
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 how to create resource files for ASP.NET Web sites, visit the following Microsoft Web site:

How to: Create Resource Files for ASP.NET Web Sites http://msdn.microsoft.com/en-us/library/ms247246.aspx

További segítségre van szüksége?

További lehetőségeket szeretne?

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.

Hasznos volt ez az információ?

Mi volt hatással a felhasználói élményére?
Ha elküldi a visszajelzést, a Microsoft felhasználja azt a termékei és szolgáltatásai továbbfejlesztéséhez. Az informatikai rendszergazda képes lesz ezeket az adatokat összegyűjteni. Adatvédelmi nyilatkozat.

Köszönjük a visszajelzését!

×