SCC_E_ACCESSFAILURE Errors
Moderator: SourceGear
SCC_E_ACCESSFAILURE Errors
Yesterday I was having some trouble accessing Vault through VS.Net 2003. I'm attaching a zip file with the IDE log from yesterday. If there's anything else I need to provide please let me know. Vault client and server at 3.1.8.
- Attachments
-
- Zack_ideReg.zip
- Zip of log file.
- (10.76 KiB) Downloaded 771 times
Is there anything in the Vault Server log that corresponds to the time period of these errors? Had the server restarted, for instance? Any DB connection failures?04/23/06 16:12:08 | Enter SccOpenProject(), pContext=97919584, lpUser=xxx, lpProjName=$/xxx, lpLocalProjPath=C:\Documents and Settings\xx.xxx\My Documents\Visual Studio Projects\xx, lpAuxProjPath=SCC_E_ACCESSFAILURE
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Hi Tonya,
Well I start visual studio as a normally would and then open the project from the start page. Sometimes the project loads just fine, other times I'm prompted to enter username and password and sometimes I do see a dialog box informing me the project couldn't be bound and giving me an opiton to work disconnected. Next time I see the dialog box I'll make a screen capture for you. What I generally do is selelect the work disconnected option and close the dialog box. Usually this is followed by an "Unspecified Error" dialog box. I then close out of Visual Studio because I don't want to work disconnected and restart it. Usually when I restart Visual Studio all works well.
Yes, currently I'm the only one working on this project at our location.Tonya wrote: Are you the only user having probems accessing Vault using VS.2003?
Tonya wrote: What happens when you attempt to connect? Do you receive any type of error message?
Well I start visual studio as a normally would and then open the project from the start page. Sometimes the project loads just fine, other times I'm prompted to enter username and password and sometimes I do see a dialog box informing me the project couldn't be bound and giving me an opiton to work disconnected. Next time I see the dialog box I'll make a screen capture for you. What I generally do is selelect the work disconnected option and close the dialog box. Usually this is followed by an "Unspecified Error" dialog box. I then close out of Visual Studio because I don't want to work disconnected and restart it. Usually when I restart Visual Studio all works well.
Yes, first time every time. In fact I often keep the GUI Client open while working in Visual Studio. Since the GUI Client refreshes the file list periodically I know when I need to perform a get latest to keep my source current.Tonya wrote: Can you access Vault successfully using the GUI Client?
Thanks for the details.
It sounds like you are having problems with one specific project (if I'm wrong, please correct me). My suggestion is to clear out your working folder for this project and then re-open it from source control (File - Source Control - Open from Source Control).
You previously stated that you usually have the Vault GUI Client open while using VS.Net, do you use the GUI to perform any scc functionalities? If so, this could be what is creating the problem. When performing the "Get Latest" command, you will want to make sure this is done from within the IDE.
Please let me know if opening the project from source control helps.
Tonya
It sounds like you are having problems with one specific project (if I'm wrong, please correct me). My suggestion is to clear out your working folder for this project and then re-open it from source control (File - Source Control - Open from Source Control).
You previously stated that you usually have the Vault GUI Client open while using VS.Net, do you use the GUI to perform any scc functionalities? If so, this could be what is creating the problem. When performing the "Get Latest" command, you will want to make sure this is done from within the IDE.
Please let me know if opening the project from source control helps.
Tonya
I read your post late yesterday afternoon and mis-read it. I went to my backup folder for the project and cleared it out, not the working folder. No biggie though that whole folder needed cleaning because I have vault put all of its backup files in one location. I didn't have any problems with the project yesterday and I was in and out of it a couple of times during the day. I will be working on it more today so I'll keep a close watch on things.Tonya wrote: It sounds like you are having problems with one specific project (if I'm wrong, please correct me). My suggestion is to clear out your working folder for this project and then re-open it from source control (File - Source Control - Open from Source Control).
Tonya wrote: You previously stated that you usually have the Vault GUI Client open while using VS.Net, do you use the GUI to perform any scc functionalities?
No, I only use it for informational purposes. While working within VS.Net I often don't konw if a file is checked out until I try to check it out so I'll ALT-Tab over to the Vault client to see which developer has the file checked out. I also use it to see when a developer has checked in a file so that I'll know to a get latest. While VS.Net is open all scc functions are performed within VS.Net. If it is closed and I have the client open then I'll perform get latest, etc from within the client. Could that possible cause things to get out of synch?
If I see any errors today I'll get screen captures and will clear out the working folder and reopen from source control.
The fact that you only use the GUI Client for informational purposes while having the IDE open is good, there should be no problems there. As for the "get latest" command in the client, you won't want to perform this command on a project that doesn't already exist on your machine. If the project does already exist on your machine, performing the "get latest" command shouldn't create a problem that I know of. But as a test, try not to use any of the commands from within the GUI Client for the project that you are having problems with to see if the issues goes away after clearing your working folder.
Keep me posted as to what you find out later today.
Thanks!
Keep me posted as to what you find out later today.
Thanks!
I was able to reproduce the error this afternoon. Here's how it happened. I had just finished working on a project that is also under Vault. When I finished my updates I closed that project using File -> Close Solution menu option in VS.Net 2003. I then clicked on the problem project "DmatsDE" as it is listed on the start page and I got the erorrs again. I made screen captures of the two error messages I see and will attach them to this post. I cleared out the entire development folder for the project and then opened the project from source control and after all files were downloaded I started working in the project. The first dialog I saw is called SG1 and the 2nd is SG2.
- Attachments
-
- Error Dialog
- sg1.png (8.58 KiB) Viewed 10219 times
-
- 2nd error dialog
- sg2.png (5.15 KiB) Viewed 10219 times
After you cleared out your working folder and opened the project from source control, have you had any problems?
If not, try to refrain from using any scc functionalities from within the GUI Client to see if the problem persists. If the problem is still occurring or does start to occur, could you attach the MSSCCPRJ.SCC file for this project?
Thanks.
If not, try to refrain from using any scc functionalities from within the GUI Client to see if the problem persists. If the problem is still occurring or does start to occur, could you attach the MSSCCPRJ.SCC file for this project?
Thanks.
So far everything is working fine. I will be doing a lot of work in that project today so if something messes up it'll probably happen today.Tonya wrote:After you cleared out your working folder and opened the project from source control, have you had any problems?
Oh, you're asking too much of me now, Tonya....just kidding . I'll stay out of the client today unless I absolutely have to load it. The .SCC file contents are shown below with the IP address changed though.Tonya wrote: If not, try to refrain from using any scc functionalities from within the GUI Client to see if the problem persists. If the problem is still occurring or does start to occur, could you attach the MSSCCPRJ.SCC file for this project?
SCC = This is a source code control file
[DmatsDE.sln]
SCC_Aux_Path = http://0.0.0.0/VaultService|Zack:26
SCC_Project_Name = $/DmatsDE
[DmatsDE.vbproj]
SCC_Aux_Path = http://0.0.0.0/VaultService|Zack:26
SCC_Project_Name = $/DmatsDE
If you do have problems with the project today, try to observe any changes, etc. that occurred beforehand that may have caused the project to stop working correctly.So far everything is working fine. I will be doing a lot of work in that project today so if something messes up it'll probably happen today.
You don't have to stay completely out of the Vault GUI Client. I understand how nice it is to have the client open while you're working with the IDE (I often do this myself). Just try to refrain from performing any scc functionalities in the GUI Client for this project.
Thanks Zack! =)