Error registering project
Moderator: SourceGear
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
Error registering project
I am moving a project from an old machine to a new one. I am using a procedure that has worked correctly for all my projects except one which is generating an error message. Here's the procedure performed for the failing project on the new machine after checking in the project on the old machine:
1. Open VS 2003
2. File/Source Control/Open From Source Control...
3. Log in to Vault
4. Select project in Vault and location on local machine
5. Open Solution window appears showing local folder containing sln and vbproj file. Double-click on sln file.
6. Set Project Location window appears showing project name correctly, <Unable to Display> in Source Control Server Location, and correct local folder in Enter Working Copy Location Here. Click OK.
7. Error appears: The project 'iscd_MMQ_vb' is under source control. An error occurred registering this project with source control. It is recommended that you do not make any changes to this project.
I've tried creating a new project from scratch in VS2003 on the new machine and copying in the files from the old machine, but when I open the project, it's locked by source control (little blue locks appear next to the items in Solution Explorer), and if I try to open a file, it tells me it can't open the designer because not all classes are built, or something like that.
Please help. Thank you.
1. Open VS 2003
2. File/Source Control/Open From Source Control...
3. Log in to Vault
4. Select project in Vault and location on local machine
5. Open Solution window appears showing local folder containing sln and vbproj file. Double-click on sln file.
6. Set Project Location window appears showing project name correctly, <Unable to Display> in Source Control Server Location, and correct local folder in Enter Working Copy Location Here. Click OK.
7. Error appears: The project 'iscd_MMQ_vb' is under source control. An error occurred registering this project with source control. It is recommended that you do not make any changes to this project.
I've tried creating a new project from scratch in VS2003 on the new machine and copying in the files from the old machine, but when I open the project, it's locked by source control (little blue locks appear next to the items in Solution Explorer), and if I try to open a file, it tells me it can't open the designer because not all classes are built, or something like that.
Please help. Thank you.
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
Ahh... gotcha. All of your other Web Projects are working except this one?
Can you use the Admin tool and make sure that no files are checked out in this particular project on the old machine. If so, you should undo those checkouts.
After your error in step 7, what happens? Does the IDE close or does it continue to load, asking you to work disconnected?
Can you use the Admin tool and make sure that no files are checked out in this particular project on the old machine. If so, you should undo those checkouts.
After your error in step 7, what happens? Does the IDE close or does it continue to load, asking you to work disconnected?
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
After that message I get another one:
"The project file c:\inetpub\wwwroot\iscd_MMQ_vb\iscd_MMQ_vb.vbproj is not bound to source control, but the solution contains source control binding information for it. Do you want to open the project using source control binding information from the solution or open it as unbound and fix the solution file?"
If I open it using source control binding information from the solution, all my files appear with yellow exclamation symbols. I can fidget with it until they appear locked, then check them out, but then if I try to open a .ascx file in the solution, it says that it can't open the designer and opens only the HTML. If I choose to open it as unbound, I get another message:
"While attempting to update source control binding information, Visual Studio could not check out the project file, possibily because it is exclusively checked out to another user. You must check out the project file as soon as possible, to reconcile the local changes with the master file."
But I refresh the screen in Vault and nothing is checked out! That's the other annoying thing about Vault. It can't seem to get this stuff right: Often when a project is checked out, I right click on it to check it in and only see a check out option. It can't seem to keep track properly of what's going on.
"The project file c:\inetpub\wwwroot\iscd_MMQ_vb\iscd_MMQ_vb.vbproj is not bound to source control, but the solution contains source control binding information for it. Do you want to open the project using source control binding information from the solution or open it as unbound and fix the solution file?"
If I open it using source control binding information from the solution, all my files appear with yellow exclamation symbols. I can fidget with it until they appear locked, then check them out, but then if I try to open a .ascx file in the solution, it says that it can't open the designer and opens only the HTML. If I choose to open it as unbound, I get another message:
"While attempting to update source control binding information, Visual Studio could not check out the project file, possibily because it is exclusively checked out to another user. You must check out the project file as soon as possible, to reconcile the local changes with the master file."
But I refresh the screen in Vault and nothing is checked out! That's the other annoying thing about Vault. It can't seem to get this stuff right: Often when a project is checked out, I right click on it to check it in and only see a check out option. It can't seem to keep track properly of what's going on.
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
-
- Posts: 14
- Joined: Fri Aug 03, 2007 2:20 pm
OK, I think I've solved it:
After unbinding the project from source control, I renamed the folder in Vault and added the project to source control freshly from the old machine. This time, I did not get any error messages when I opened the project from source control on the new machine. It came in with all items locked. What a bunch of hoops to jump through, though!
After unbinding the project from source control, I renamed the folder in Vault and added the project to source control freshly from the old machine. This time, I did not get any error messages when I opened the project from source control on the new machine. It came in with all items locked. What a bunch of hoops to jump through, though!