Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / February 2007

Tip: Looking for answers? Try searching our database.

VS2005 project creation failed.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David F. - 13 Feb 2007 22:51 GMT
Moving this from unmonitored group microsoft.public.vstudio.general to this
monitored group:

I've had this (subject) problem with VS2005 since it's been installed last
summer or so.  I got around it by creating the project with VS2003.Net then
convert it in VS2005.

So yesterday I decided to just bite the bullet and uninstall everything and
attempt a reinstall.  I found this blog and follow the steps that would work
(http://blogs.msdn.com/astebner/archive/2005/12/16/504906.aspx)

I uninstalled VS2003.Net, VS2005, and several of the other items installed
as listed at http://msdn2.microsoft.com/en-us/vstudio/aa718704.aspx.
(couldn't use the uninstaller since it said nothing found). Did the
additional steps as the blog suggested.  I then rebooted, reinstalled
VS2005, reinstalled SP1, rebooted, now I'm right back at the same point
where I can't create projects.  This is a VC++ project.  It will create the
directory for the project/solution but then you just get:

"Creating project 'projname'... project creation failed. in the status bar.

Also, the icons associated with .cpp/.hpp/etc files still just look like a
text piece of paper (rather than the old C++/H++ color icons of VS2003).

Now that VS2003.Net isn't installed, I can't create projects at all, I'd
have to copy them over from another project and open it.

How do I fix VS2005?

MORE INFORMATION:

I ran filemon to see what it was doing and it looks like the program is not
working correctly (being nice) to me...

Creating a VC++ Win32Project:

Name: linktest
Location: x:\testing\c\linktest
Solution Name: linktest

Filemon shows that it creates: x:\testing\c\linktest\linktest
(By the way, I don't like not being able to set my own dir because it
doesn't match my directory scheme)

Then it turns around and does a search for a bunch of
.dsw,vcw,csproj,vbproj,etc.. in:

x:\testing\c\linktest\linktest\linktest

(eg: x:\testing\c\linktest\linktest\linktest\linktest.dsw)

which results in a bunch of Path Not Found errors.  Then it does some stuff
on C: then it comes back and tries to open dir
x:\testing\c\linktest\linktest\linktest and gets path not found (that's last
access to x: drive).
Steven Cheng[MSFT] - 14 Feb 2007 11:58 GMT
Hello David,

From your description, on one of your dev machine, after you installed the
VS 2005 and SP1, you can not create some VC++ Win32 projects, and this even
occur after you reinstall the Visual Studio 2005, correct?

As for the problem, does it only occur against C++ win32 project, is there
any other project that suffer the same project? Based on my experience, for
such behavior that reinstall still not work, it may be caused by some other
system wide settings get corrupetd or the underlying harddisck get messed.
Have you tried creating a new interactive account on that machine and logon
through the different account to see whether the problem remains? Sometimes
some data got damaged in user profile may also cause IDE not work.

Also, for visual studio, the VC specific project items and templates are
under the following directory:

C:\Program Files\Microsoft Visual Studio 8\VC

you can look for those sub dirs(which contains template items) and compare
to some working machine's installed folder to see whether there is any
obvious difference.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
David F. - 14 Feb 2007 17:02 GMT
It was doing it with just VS2005 installed, I added SP1 to see if it would
fix it.  When it didn't, I did the full uninstall thing.

It's related to the user profile.  I logged off and back on as
administrator, then mapped the drive x: using my (pgmr) account and I was
able to create the project on the same machine.  What do I need to look for
in my profile?

> Hello David,
>
[quoted text clipped - 52 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
David F. - 14 Feb 2007 20:10 GMT
You're all probably scratching your heads .. anyway, I found it... one of
the other problems I mentioned in other NG posts was the file associated
icons sucked (just like a white piece of paper with writing - notepad
basically).  Well looking into that I found that  the .c/.cpp/etc entries in
the registry Classes Root looked okay, but it reference VisualStudio.x.8.0
(where the x is c, cpp, etc) and I couldn't access those.   So I look at the
permissions and only administrators had access to it (I'm a power user).
Looking at the root classes, it (for some reason) had "everyone" set to full
access and the installer must have change those installed keys to the wrong
permissions (I had to install as administrator).  I change the Classes Root
to match what it should (based on another system) and force the change down
and while not everything could be changed (per regedit), it did change the
visualstuido.x.8.0 references and now not only do I get the nice file icons,
the project creation works as well!!

> Hello David,
>
[quoted text clipped - 52 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
Steven Cheng[MSFT] - 16 Feb 2007 08:02 GMT
Thanks for your followup David,

Glad that you've finally got it working. Actually manually recover user
profile(for such VS 2005 issue) would be quite complex, there is no
definite routine on this. Anyway, thanks again for sharing us the
experience on this which can surely benefit other members who suffer the
similar problem.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.