Error ‘String cannot have zero length’ when install ASP.NET starter kit
Sometimes when you download the .vsi starter kit installer file , you might get the following error message:
A problem occurred while running the installer. Please contact the content author for problems with the content.
Error Message:
Strings cannot have zero length.
The reason is because you might had installed Visual Studio 2005 and VWD 2005 Express , but later you uninstalled one of the two (for example you uninstall VWD 2005 Express) and a couple string values got deleted in the registry.
Solution:
Try the following to see if it works for you:
1.Click START then RUN then type REGEDIT and Enter.
2. Go to this location on the registry: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSEnvCommunityContent\ContentTypes\VSTemplate]
3. On the right side of the screen right click –> New –> String Value and add the following two string values
Value Name = “ClassName” Value Data = “VSContentInstaller.VSTemplateInstallerPage”
Value Name= “DisplayName” Value Data = “#VSTemplateContentDisplayName”
Close the registry and try to install .vsi starter kit again, it should work.

Tags: .NET