Failed to open projects

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
yamao
Posts: 20
Joined: Thu Oct 25, 2007 3:17 pm

Failed to open projects

Post by yamao » Wed Jan 20, 2010 6:17 am

I use Vault 4.1.3 and VS 2008 for WPF project. All my projects and solution are bouind well. Since yesterday, if I try to open a solution from my local machine in CVS, I get an error "failed to register project with sourcegear vault visual studio enhanced client", some projectes are not loaded; if I open the solution from Vault, I get an error "Some of the properties associated with the solution could not be read.", but every prjectes are loaded fine.

How Can I fix the problem?

Thanks!

Amy

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Failed to open projects

Post by Beth » Wed Jan 20, 2010 1:34 pm

After you perform an Open from Vault, are you able to check out, edit, and check in files ok? After the Open from Vault, is your .sln or .proj files checked out?

Can you open your .sln file in notepad and look to see if you have duplicate GlobalSections? If there aren't duplicate sections, check that SccNumberOfProjects has the correct number of projects listed.
Beth Kieler
SourceGear Technical Support

yamao
Posts: 20
Joined: Thu Oct 25, 2007 3:17 pm

Re: Failed to open projects

Post by yamao » Wed Jan 20, 2010 4:00 pm

After I perform an Open from Vault, the message "Some of the properties associated with the solution could not be read." poped up, all the checkout/edit/checkin are working OK. There is .sln or .proj is checked out, and no file is renegade. But the solution file's status is not bound. The .sln file in Vault client is bound. if I try to bind the dolution file from VS, I get all kinds of errors.

I tried to make brand new solution and add the projects back, i got error: "Failed rto register project xxxx with Enhanced Cllient". Tried uninstall/reinstall the valut client, nothing worked. Any idea?

Thanks!

Amy

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Failed to open projects

Post by Beth » Wed Jan 20, 2010 4:25 pm

What does your project layout look like?

It is something like:
$
---|---EntireSolutionFolder
----------|---.sln file
----------|---ProjectFolder
------------------|---project files

or is it more like
$
---|---EntireSolutionFolder
----------|---solution folder
------------------|---project files
----------|---ProjectFolder
------------------|---project files

How may steps away is your .sln file from your project folder?

Can you open your .sln file in notepad and look to see if you have duplicate GlobalSections? If there aren't duplicate sections, check that SccNumberOfProjects has the correct number of projects listed.
Beth Kieler
SourceGear Technical Support

yamao
Posts: 20
Joined: Thu Oct 25, 2007 3:17 pm

Re: Failed to open projects

Post by yamao » Wed Jan 20, 2010 4:40 pm

here is my solution file:

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "StanleySteemer.PowerMagic.DomainModel Folder", "StanleySteemer.PowerMagic.DomainModel Folder", "{68EF8AB1-81FC-4A90-ADF9-97188A76AA90}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StanleySteemer.PowerMagic.DomainModel", "StanleySteemer.PowerMagic.DomainModel\StanleySteemer.PowerMagic.DomainModel.csproj", "{9E6BF560-B6B1-4A2E-A68A-27428BB11BBF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StanleySteemer.PowerMagic.ServerModelPowerMagic", "StanleySteemer.PowerMagic.ServerModelPowerMagic\StanleySteemer.PowerMagic.ServerModelPowerMagic.csproj", "{87426906-23BA-441C-BF4C-5EDCA39BB2D0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActionCommandsSetup", "ActionCommandsSetup\ActionCommandsSetup.csproj", "{1CB7D742-200E-4A24-A88F-0E350AD1A853}"
ProjectSection(ProjectDependencies) = postProject
{87426906-23BA-441C-BF4C-5EDCA39BB2D0} = {87426906-23BA-441C-BF4C-5EDCA39BB2D0}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerMagic", "PowerMagic\PowerMagic.csproj", "{4C6BF37F-6509-4769-A18E-554E39F49CA7}"
ProjectSection(ProjectDependencies) = postProject
{87426906-23BA-441C-BF4C-5EDCA39BB2D0} = {87426906-23BA-441C-BF4C-5EDCA39BB2D0}
EndProjectSection
EndProject
Global
GlobalSection(VaultVsipSolution-v2) = preSolution
VaultHost = http://sourcecontrol.steemer.net/VaultService
VaultRepositoryID = 12
VaultRepositoryGUID = e74bc345-0fb1-4841-85bd-2e58b06d2d44
ProjectCount = 5
ProjectRelativeDiskPath1 = PowerMagic.sln
ProjectRelativeDiskPath2 = StanleySteemer.PowerMagic.DomainModel\StanleySteemer.PowerMagic.DomainModel.csproj
ProjectRelativeDiskPath3 = StanleySteemer.PowerMagic.ServerModelPowerMagic\StanleySteemer.PowerMagic.ServerModelPowerMagic.csproj
ProjectRelativeDiskPath4 = ActionCommandsSetup\ActionCommandsSetup.csproj
ProjectRelativeDiskPath5 = PowerMagic\PowerMagic.csproj
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9E6BF560-B6B1-4A2E-A68A-27428BB11BBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9E6BF560-B6B1-4A2E-A68A-27428BB11BBF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9E6BF560-B6B1-4A2E-A68A-27428BB11BBF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9E6BF560-B6B1-4A2E-A68A-27428BB11BBF}.Release|Any CPU.Build.0 = Release|Any CPU
{87426906-23BA-441C-BF4C-5EDCA39BB2D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{87426906-23BA-441C-BF4C-5EDCA39BB2D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{87426906-23BA-441C-BF4C-5EDCA39BB2D0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{87426906-23BA-441C-BF4C-5EDCA39BB2D0}.Release|Any CPU.Build.0 = Release|Any CPU
{1CB7D742-200E-4A24-A88F-0E350AD1A853}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1CB7D742-200E-4A24-A88F-0E350AD1A853}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4C6BF37F-6509-4769-A18E-554E39F49CA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4C6BF37F-6509-4769-A18E-554E39F49CA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4C6BF37F-6509-4769-A18E-554E39F49CA7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4C6BF37F-6509-4769-A18E-554E39F49CA7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{9E6BF560-B6B1-4A2E-A68A-27428BB11BBF} = {68EF8AB1-81FC-4A90-ADF9-97188A76AA90}
{87426906-23BA-441C-BF4C-5EDCA39BB2D0} = {68EF8AB1-81FC-4A90-ADF9-97188A76AA90}
EndGlobalSection
EndGlobal

yamao
Posts: 20
Joined: Thu Oct 25, 2007 3:17 pm

Re: Failed to open projects

Post by yamao » Wed Jan 20, 2010 4:44 pm

Our project one just like the 1st one:
$
---|---EntireSolutionFolder
----------|---.sln file
----------|---ProjectFolder
------------------|---project files

I have trouble to open all the solution file in my computer, even my projects in VS2005. They all get the same errors. Is my registry messed up? How can I tell?

Thank you so much for your help!

Amy

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Failed to open projects

Post by Beth » Thu Jan 21, 2010 10:22 am

Were any of the projects created with an earlier version of Visual Studio?

Can you describe what is in the StanleySteemer.PowerMagic.DomainModel Folder and what it looks like on disk?
Beth Kieler
SourceGear Technical Support

yamao
Posts: 20
Joined: Thu Oct 25, 2007 3:17 pm

Re: Failed to open projects

Post by yamao » Thu Jan 21, 2010 2:38 pm

I have VS 2005 & VS 2008 projectes, some of them are web applications or SSIS package, they all get the same errors.

Here is my LayOut:
----|--PowerMagic
-------|--PowerMagic.sln
-------|--StanleySteemer.PowerMagic.DomainModel
-----------|--StanleySteemer.PowerMagic.DomainModel.csproj
-------|--Powermagic
-----------|--Powermagic.csproj

Attached 2 image files.

Thanks a lot!

Amy
Attachments
img2bmp.txt
(1.22 MiB) Downloaded 229 times
iimg1bmp.txt
(1.22 MiB) Downloaded 260 times

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Failed to open projects

Post by Beth » Thu Jan 21, 2010 2:58 pm

Are the VS 2005 projects in the same solution as the VS 2008 projects, or are these entirely separate? By that, I mean does PowerMagic.sln hold both VS 2005 and VS 2008 projects?
Beth Kieler
SourceGear Technical Support

yamao
Posts: 20
Joined: Thu Oct 25, 2007 3:17 pm

Re: Failed to open projects

Post by yamao » Thu Jan 21, 2010 4:26 pm

Totally diffrent projects/solutions, no relation or shares item at all.

Thanks!

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Failed to open projects

Post by Beth » Fri Jan 22, 2010 10:50 am

Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread? I think this will take getting a closer look to discover what the root cause is.
Beth Kieler
SourceGear Technical Support

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Failed to open projects

Post by Beth » Fri Jan 22, 2010 4:38 pm

I've received your email and will be replying soon.

HS: 218910
Beth Kieler
SourceGear Technical Support

Post Reply