String cannot have zero length

Last post 05-10-2009 4:19 AM by paracel_spratly_belongs_VietNam_hoangsaorg. 4 replies.

Sort Posts:

  • String cannot have zero length

    08-06-2006, 4:15 PM
    • Member
      145 point Member
    • fredcouples
    • Member since 09-08-2005, 9:47 PM
    • Posts 30

    When I download the .vsi installer file and double click to install it I get the error 'String cannot have zero length'

    Anyone who has a clue about what the problem might be ?

    Happens to all .vsi files that I've donwloaded. Also happens if I just click Open instead of first downloading it.

     

     

  • Re: String cannot have zero length

    09-13-2006, 2:09 AM
    • Member
      5 point Member
    • andrezzz9
    • Member since 09-13-2006, 6:02 AM
    • Posts 1

     Maybe you had installed Visual Studio 2005 and VWD 2005 Express and then you uninstalled one of the two and a couple string values got deleted in the registry.  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 again!... hope it helps.

  • Re: String cannot have zero length

    05-22-2008, 5:30 AM
    • Member
      2 point Member
    • DC27
    • Member since 04-30-2008, 1:22 PM
    • Posts 6

    well it worked for me - thanks!

  • Re: String cannot have zero length

    09-30-2008, 7:21 AM

    Had the same problem with vs 2008 installed and it worked well for me too.

    Thanks.

  • Re: String cannot have zero length

    05-10-2009, 4:19 AM

    andrezzz9:

     Maybe you had installed Visual Studio 2005 and VWD 2005 Express and then you uninstalled one of the two and a couple string values got deleted in the registry.  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 again!... hope it helps.

    It worked for me too, thanks

    Paracel and spratly islands are always belongs to VietNam!
    http://www.hoangsa.org/
    http://www.paracels.info/
Page 1 of 1 (5 items)