Sunday, March 29, 2009

Problem with localization ASP.NET applications: thing to keep in mind

Ever tried to create an localizable ASP.NET 2.0 application?
Seen following links?
http://msdn.microsoft.com/en-us/library/fw69ke6f(VS.80).aspx
http://msdn.microsoft.com/en-us/library/w7x1y988.aspx
http://msdn.microsoft.com/en-us/library/1021kkz0.aspx

It does work very well until you decide to keep only localized resources, for example:

MyPage.aspx.en-US.resx
MyPage.aspx.de-DE.resx
MyPage.aspx.ru-RU.resx

Once you delete the default resource MyPage.aspx.resx - the localization stops to work!

So here is the rule:

NEVER DELETE DEFAULT RESOURCE FROM PROJECT IF THE APPLICATION MUST BE LOCALIZABLE

and enjoy...

Thursday, March 26, 2009

Windows Server 2008: alternate actvation method not available

You may encounter a problem with activation of Windows Server 2008: there's no internet connection in place (for example, a virtual machine with internal connect only) and the link to alternate activation methods either does not appear or disabled (not clickable):



The reason is: you have no or wrong product key entered. As long as you do not change the product key you won't be able to activate you copy of Windows Server 2008 by phone.

So enter the valid product key and retry.

Enjoy!