Visual Basic > Visual Basic Forums > Visual Basic General > My.Blogs Error - ProjectType value did not exist.
Ask a questionAsk a question
 

AnswerMy.Blogs Error - ProjectType value did not exist.

  • Wednesday, February 08, 2006 9:27 PMWardster Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I am trying to install the My.Blogs sample.  I am running VS2005 Pro on WindowsXP Pro SP2.  The template installation fails with the error message:

    Installation stopped because the directory for the ProjectType value did not exist.  The project type is invalid for your installation of Visual Studio.

    Is My.Blogs a beta2 only thing?  I am running release VS2005.  Are there manual instructions for installing this via file copy?

    Also: the error message suffers from poor design.  Of more use would be something along the lines of "The project type 'inserttype' is invalid for your installation of Visual Studio, which I detect is: 'insert detected VS version'.

    -ward

     

Answers

  • Monday, February 13, 2006 12:17 PMElrey Ronald Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hello Ward,

    Try to reset the import/export settings of your Visual Studio.

    1.  Goto Tools -> Import and  Export settings... -> Reset all settings

    2.  Follow the wizard to reset to e.g. General Development settings.

     

    See if this solves you vsi installation problem.

     

    HTH,

    Elrey Velicaria


     

  • Thursday, August 31, 2006 10:01 PMlinus joseph Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    The issue is caused by the folder not being there. As the OP mentioned, it would have been easier if the installer gave more details..

    well not a perfect world right? Here is the solution install filemon to monitor file access, keep it running and run that last part of the installer

    let it fail with that error. Now go back to filemon and see the error. It will show which folder was not found against your installer process.

    For me in any case, it turned out to be

    C:\Documents and Settings\UsernameXXXX\My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual Web developer

    I created that manually and everything worked fine

    linus

    http://blogs.covarius.com

All Replies

  • Wednesday, February 08, 2006 10:08 PMWardster Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Still not sure what 'ProjectType' (i.e. directory) that the template installer wanted, but I used the obvious work around, and manually copied the template .zip file to my template directory.  This got the My.Blogs add-in working.

    I am still thinking that the Add-In/Template installer should not fail because a directory is missing.  Check the version of VS2005, and if the version supports the add-in or template, then create the directory tree as required.  Make sure to allow for an "any version".  If the Version is OK but there was an error with the location, tell me in exact words what is missing or wrong.

     

    Something along the lines of "I wanted to copy the add-in (xx.zip) to your template directory ('c:\documents and settings\ward\VS2005\Templates\VB\ItemTemplate\'), but that directory did not exist.  I tried to create it, and got the error: 'Permission Denied'.

     

     

  • Monday, February 13, 2006 12:17 PMElrey Ronald Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hello Ward,

    Try to reset the import/export settings of your Visual Studio.

    1.  Goto Tools -> Import and  Export settings... -> Reset all settings

    2.  Follow the wizard to reset to e.g. General Development settings.

     

    See if this solves you vsi installation problem.

     

    HTH,

    Elrey Velicaria


     

  • Tuesday, February 21, 2006 12:50 PMSilentAcorn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I met the issue also.

    Maybe it's caused by you change your "My Documents" folder location after install VS2005. The VSI setup try copy files to original folder "C:\My Documents\Visual Studio 2005\Teamplates\Visual Web Developer\", so you can resolve it by restore "My Documents" to original location, or create the "C:\My Documents\Visual Studio 2005\Teamplates\Visual Web Developer\"  manually.

  • Thursday, August 31, 2006 10:01 PMlinus joseph Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    The issue is caused by the folder not being there. As the OP mentioned, it would have been easier if the installer gave more details..

    well not a perfect world right? Here is the solution install filemon to monitor file access, keep it running and run that last part of the installer

    let it fail with that error. Now go back to filemon and see the error. It will show which folder was not found against your installer process.

    For me in any case, it turned out to be

    C:\Documents and Settings\UsernameXXXX\My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual Web developer

    I created that manually and everything worked fine

    linus

    http://blogs.covarius.com

  • Thursday, March 15, 2007 3:14 PMHugh Abbott Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Worked for me perfectly.

    I was trying to install dotNetNuke - I had an error installing

    dotNetNuke Compiled Module (VB)

    I installed filemon - and it showed me which folder was missing.

    I created the folder - and then the installation worked first time.

    Many thanks for your help.

    Hugh Abbott

  • Sunday, May 13, 2007 5:04 PMElpacha Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks man!

    Worked for me too when trying to install DNN

    Regards

     

  • Thursday, May 31, 2007 9:30 PMJhonatas M. Rodríguez Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hey thanks dude, this works
  • Tuesday, June 12, 2007 7:02 AMzchuang Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello, noob user here,

     

    I've been getting the same error, but I don't really understand how to use filemon. I looked it up and downloaded it, and it runs fine, but I see a ton of different files and I'm not understanding what file path I'm looking for, i.e. how to find what folder is missing. Any help would be greatly appreciated.

  • Monday, August 27, 2007 8:33 PMRickInBoston Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks you very very much--worked like a champ!

     

  • Friday, August 31, 2007 3:44 PMAnh2lua Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Works after using filemon and finding out what folder(s) were missing.

    Thanks...

    Now heading to the next thing... I am totally new to this DNN thing...

     

  • Saturday, September 15, 2007 5:16 PMWebmonkeymon Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    to resolve the confusion. 

     

    With filemon open notice which files are filling the log and filter them out.

     

    Do this by clicking the filter button and typing in the file path.  On my machine I needed to filter out cStick out tonguerogram file\802.2 wireless\   this reduced the amount of files drastically.

     

    then click the retry button in the DNN install

     

    then go back to filemon look for the log that says file not found.   add the missing folder

     

    my machine was looking for

    C:\Documents and Settings\xxxx\My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual Basic

     

    i created the visual basic folder and that worked.

     

     

  • Sunday, October 21, 2007 1:23 AMJamieWP Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    It worked for me!

     

    Thanks

  • Wednesday, March 05, 2008 7:49 PMmh007 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    ###########################################
    Thanks alot ...............
    Manually Really Worked!!!!!!!!
    ###########################################
  • Thursday, April 24, 2008 6:18 AMRajanish Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks guys,

     

     

    Manually creating the folders

     

    Visual Web Developer\CSharp

    Visual Web Developer\Visual Basic

    at

    C:\Documents and Settings\xxx\My Documents\Visual Studio 2005\Templates\ProjectTemplates

     

    did the trick for me.

     

     

  • Friday, July 18, 2008 12:20 AMThundexbow Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you that was it. reset import and export.
  • Tuesday, September 09, 2008 4:15 PMLoinHrat Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
  • Friday, February 27, 2009 2:38 PMDARREN HANSON Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    THIS IS THE SOLUTION THAT WORKS THANKS LINUS M8

    ONLY THING IS NOW THAT ITS INSTALED I STILL DONT HAVE THE STARTER KIT IN MY LIST DOSE ANYONE HAVE ANY IDEAS?