Show Pending Checkins
Moderator: SourceGear
Show Pending Checkins
I am having two issues with Vault...
1. Within the VS.Net IDE I want to be able to use the Show Pending Checkins facility however whenever I select this option I get "Unspecified Error" a few times before an empty "Show Pending Checkins" screen appears even though I have files ready to checkin - both editied and new files.
2. Occasionally the IDE will hang if I select View Designer for a WinForm and the only option is to use Task Manager to delete the process. I cannot pinpoint this exactly as I can go a full day without issue, or have 10 issues within an hour. I believe it is related to Vault as if I select the Work Disconnected option then I have no issues.
I am using VS2003; Vault 3.1.7 (3719);
We have recently moved to Vault as our source code control provider however due to these issues there is now talk about moving back over to Microsoft SourceSafe.
Hopefully you can help !
1. Within the VS.Net IDE I want to be able to use the Show Pending Checkins facility however whenever I select this option I get "Unspecified Error" a few times before an empty "Show Pending Checkins" screen appears even though I have files ready to checkin - both editied and new files.
2. Occasionally the IDE will hang if I select View Designer for a WinForm and the only option is to use Task Manager to delete the process. I cannot pinpoint this exactly as I can go a full day without issue, or have 10 issues within an hour. I believe it is related to Vault as if I select the Work Disconnected option then I have no issues.
I am using VS2003; Vault 3.1.7 (3719);
We have recently moved to Vault as our source code control provider however due to these issues there is now talk about moving back over to Microsoft SourceSafe.
Hopefully you can help !
Is this a new problem? Does it happen with a particular project or any project? Can you check in the files successfully even though the Pending Checkins screen is empty?1. Within the VS.Net IDE I want to be able to use the Show Pending Checkins facility however whenever I select this option I get "Unspecified Error" a few times before an empty "Show Pending Checkins" screen appears even though I have files ready to checkin - both editied and new files.
I'd suggest enabling IDE logging, then reproduce the error and we'll take a look at the log:
http://support.sourcegear.com/viewtopic.php?t=2898
We have had some isolated reports of the IDE hanging in Design view and but I don't thing we were able to reproduce the problem. I'll check with our developers and post back.2. Occasionally the IDE will hang if I select View Designer for a WinForm and the only option is to use Task Manager to delete the process. I cannot pinpoint this exactly as I can go a full day without issue, or have 10 issues within an hour. I believe it is related to Vault as if I select the Work Disconnected option then I have no issues.
Are you able to determine any pattern to the hang? Does it happen with all projects?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
This problem has always been there and happens in all of our solutions and projects. I can select each file individually and then checkin without any problems. I will try to capture a log and repost back here.-----Is this a new problem? Does it happen with a particular project or any project? Can you check in the files successfully even though the Pending Checkins screen is empty?------
It happens mostly when we select View Designer on any of our forms. Some of these have lots of controls on them where others only have a couple of controls, and both types of forms suffer the same hang, so we have never got to a pattern yet. One thought we had went along the lines of as the Vault database is a SQL Server repository, what would happen if we had exceeded the number of licences available for the SQL Server database server - but this was purely theorising !-----Are you able to determine any pattern to the hang? Does it happen with all projects?-----
Does the hang look like the one described here:
http://support.sourcegear.com/viewtopic.php?t=4113
If so, we've tried to reproduce this in house, but have never been able to. You might need to send us your solution to see if we are able to succeed with yours.
http://support.sourcegear.com/viewtopic.php?t=4113
If so, we've tried to reproduce this in house, but have never been able to. You might need to send us your solution to see if we are able to succeed with yours.
Substitute winForms for webForms, and vb for c# and yes it does look the same.Does the hang look like the one described here:
http://support.sourcegear.com/viewtopic.php?t=4113
If so, we've tried to reproduce this in house, but have never been able to. You might need to send us your solution to see if we are able to succeed with yours.
Hopefully I can get a log produced pretty soon.
Attached are two sets of logs for two different scenarios.
1. IDE crashed when trying to view a form in the designer
2. IDE hung when trying to view a form in the designer
Under both of these scenarios I followed the following process...
1. Double-click the .sln file via explorer to launch the IDE
2. During this I was forced to log in through the Vault login screen
3. Once the IDE was open, I double-clicked the winForm to launch the view designer (both times I tried to open the same form)
Between scenario 1 and 2 I rebooted my laptop.
I enabled the unmanaged C++ logging via the registry, as well as the DevEnv logging and the GUI Client logging (however this last one never created a log)
1. IDE crashed when trying to view a form in the designer
2. IDE hung when trying to view a form in the designer
Under both of these scenarios I followed the following process...
1. Double-click the .sln file via explorer to launch the IDE
2. During this I was forced to log in through the Vault login screen
3. Once the IDE was open, I double-clicked the winForm to launch the view designer (both times I tried to open the same form)
Between scenario 1 and 2 I rebooted my laptop.
I enabled the unmanaged C++ logging via the registry, as well as the DevEnv logging and the GUI Client logging (however this last one never created a log)
- Attachments
-
- IDE Crashed.zip
- (15.48 KiB) Downloaded 647 times
-
- IDE Hangs.zip
- (16.73 KiB) Downloaded 717 times
As with the other reports of this problem, the log file is not showing any activity during the time of the hang, so it is happening outside Vault.
One workaround that worked for another customer with this problem was to go the project that inherits from UI.Page, then go to References->System.Web, and toggle the "Copy Local" property to False. In his case, we suspected the problem was some kind of locking issue when copying the system dll from the GAC. Since Vault is a managed app being called from within the unmanaged VS.Net application, it may be an platform issue between the two.
If that doesn't help, you might need to send us your entire solution to see if we can reproduce it here. I'll be honest though and say that we haven't had luck reproducing it with other solutions before, so it would be unlikely to help much.
One workaround that worked for another customer with this problem was to go the project that inherits from UI.Page, then go to References->System.Web, and toggle the "Copy Local" property to False. In his case, we suspected the problem was some kind of locking issue when copying the system dll from the GAC. Since Vault is a managed app being called from within the unmanaged VS.Net application, it may be an platform issue between the two.
If that doesn't help, you might need to send us your entire solution to see if we can reproduce it here. I'll be honest though and say that we haven't had luck reproducing it with other solutions before, so it would be unlikely to help much.
I will do this and monitor for any effect.
I have also attached logs captured with reference to my first problem
I have also attached logs captured with reference to my first problem
Any thoughts on this?1. Within the VS.Net IDE I want to be able to use the Show Pending Checkins facility however whenever I select this option I get "Unspecified Error" a few times before an empty "Show Pending Checkins" screen appears even though I have files ready to checkin - both editied and new files.
oops
I'll attach the file this time
I'll attach the file this time
- Attachments
-
- ShowPendingCheckins.zip
- (17.53 KiB) Downloaded 702 times
They do not have an edited status as I simply checked them out then did Show Pending Checkins. They are checked out exclusively to me and everything looks fine via the Vault GUI Client.Check the status of the files $/PlasmaSolution/UIContractsProject/NewUnit/frmNewUnitWizard.vb and $/PlasmaSolution/UIContractsProject/NewUnit/frmNewUnitWizard.resx in the Vault GUI client. Are they anything other than "edited", and are the they checked out properly?
I have attached a new log file after copying those new DLLs.
The process I went through was....
1. Double-click the .sln file to launch the IDE, during which I had to log into VAULT
2. Once the IDE was open, right-click on the .sln file within Solution Explorer and select Show Pending Checkins
3. Numerous "Unspecified Error" messages were displayed followed by a blank Show Pending Checkin form
4. Close the IDE, again an "Unspecified Error" appeared.
Also, with regards the devenv.exe hanging, I have changed all references so they are now "Copy To Local = False" and have not had an issue in 24 hours - so fingers crossed!
The process I went through was....
1. Double-click the .sln file to launch the IDE, during which I had to log into VAULT
2. Once the IDE was open, right-click on the .sln file within Solution Explorer and select Show Pending Checkins
3. Numerous "Unspecified Error" messages were displayed followed by a blank Show Pending Checkin form
4. Close the IDE, again an "Unspecified Error" appeared.
Also, with regards the devenv.exe hanging, I have changed all references so they are now "Copy To Local = False" and have not had an issue in 24 hours - so fingers crossed!
- Attachments
-
- ShowPendingCheckins.zip
- (23.23 KiB) Downloaded 649 times
The log isn't showing anything unexpected. Note the lines in the IDE log:
02/23/06 10:13:29 | Exit SccQueryInfo(), pContext=40378744, nFiles=2, ret=0
02/23/06 10:13:55 | Enter SccCloseProject(), pContext=40404136
After getting the status on all the files (which didn't report any problems), it later started closing everything down, presumably after the attempt to show the pending checkins.
One thing of note:
$/PlasmaSolution/UIContractsProject/NewUnit/frmNewUnitWizard.vb and $/PlasmaSolution/UIContractsProject/NewUnit/frmNewUnitWizard.resx
are both checked out to a different machine than the current one - is that expected? You might check Properties in the Vault client for their check out location, and verify they are checked out to the current machine.
However, that shouldn't be causing the problems you are seeing.
Another suggestion would be to do an Open From Source Control on a different machine and see if you get the same problems. If you don't, there may be something about the state of the project on your machine that is not right, and you may need to re-open the project to a different working folder and see if that resets everything.
02/23/06 10:13:29 | Exit SccQueryInfo(), pContext=40378744, nFiles=2, ret=0
02/23/06 10:13:55 | Enter SccCloseProject(), pContext=40404136
After getting the status on all the files (which didn't report any problems), it later started closing everything down, presumably after the attempt to show the pending checkins.
One thing of note:
$/PlasmaSolution/UIContractsProject/NewUnit/frmNewUnitWizard.vb and $/PlasmaSolution/UIContractsProject/NewUnit/frmNewUnitWizard.resx
are both checked out to a different machine than the current one - is that expected? You might check Properties in the Vault client for their check out location, and verify they are checked out to the current machine.
However, that shouldn't be causing the problems you are seeing.
Another suggestion would be to do an Open From Source Control on a different machine and see if you get the same problems. If you don't, there may be something about the state of the project on your machine that is not right, and you may need to re-open the project to a different working folder and see if that resets everything.