Strange error when trying to create a new project.

I recently opened a project that I had already created and edited it.  After saving and closing, I went to create a new project, and now I get this error:

Access to the path 'C:\...' is denied.

I don't understand what is going on, just a few minutes ago I could create new projects.  Also, when I try to open an already existing solution or project file, I get an error saying:

Unable to read the project file 'example.vbproj'.  The path is not of legal form.

What in the world does that mean! lol

Any help as to how I did this (I'm sure I messed something up when editing my other project since software doesn't just screw up on its own...) and how to avoid this from happening again would be much appreciated!

I am using Visual Basic Express by the way.



Answer this question

Strange error when trying to create a new project.

  • Rakesh_24

    I was finally able to get around this.  What I had to do was uninstall the .NET framework and Visual Basic and then reinstall them.  I tried that solution about manually deleting things and removing registry entries numerous times with no luck, but uninstalling those was what did the trick for me.  Though I have no idea how the famework could have gotten messed up; I didn't install any new software or anything, I just edited one of my projects and things got screwy.

    Hopefully that will work for you also.

  • softwater

    Now when ever I try to select anything from the menu bar after VB Express is loaded, VB crashes!  I would like to know what is going on.  I went to options, when ever I also try to select an option, VB crashes.

    Just not even 24 hours ago, VB Express was working perfectly; what gives!

  • Cyber

    Steeler -

    I don't believe we have seen this before, but we'd very much like to invesitgate this further.  Can you open a bug report at http://lab.msdn.microsoft.com/productfeedback with as much information about the problem as possible

    Thanks,
    Luke Hoban
    Visual C# IDE Program Manager

  • Gabe19

    I am receiving a similar error.  I have a solution that was created in VS 2003 and was trying to convert the solution to VS2005.  I finally was successful in getting all the projects converted in the solution.  I then went through and cleaned up the code fixing the warnings and errors.  After I was done with this exercise, I save and closed VS.  Now when I try and open the solution I receive this message.

    Unable to read the project file '<insert project name>'.  The path is not of legal form.

    This occurs for all projects in the solution.

  • Strange error when trying to create a new project.