errors in Vault Client 4.0.2 in Vista

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

Moderator: SourceGear

Post Reply
sabrina_c
Posts: 12
Joined: Mon Jul 16, 2007 9:25 am

errors in Vault Client 4.0.2 in Vista

Post by sabrina_c » Mon Jul 16, 2007 10:01 am

I've installed Vault client 4.0.2 on Vista Enterprise,
In Visual studio 2005 it seems there are troubles in configuring the plugin to work correctly. In fact closing and reopening it the plugin combo in VS option is reset to none.
When I set the plugin to Vault, Verify the options, and then try an
Open from Vault (From the file menu)
The client forces me to select a solution to give me an OK instead of giving me the possibility to select just the solution folder, then it Gets just the solution file and tells all the projects in the solution are unavailable.

To try and workaround, I have tried to Get the latest version of the solutions I need from Vault Client, but when I select a folder containing a Visual Studio solution and click the Getlatest option I got this:

[16/07/2007 17.37.33] Getting latest version of $/4uDotnet/FyDllProj.v1.3/ForYou.Base.v1.3
[16/07/2007 17.37.33] An error occurred reading from the download stream ("Impossibile leggere dati dalla connessione del trasporto: Connessione chiusa.."), retrying...
[16/07/2007 17.37.33] An error occurred reading from the download stream ("Impossibile leggere dati dalla connessione del trasporto: Connessione chiusa.."), retrying...
[16/07/2007 17.37.33] An error occurred reading from the download stream ("Impossibile leggere dati dalla connessione del trasporto: Connessione chiusa.."), retrying...
[16/07/2007 17.37.33] Finished get latest of $/4uDotnet/FyDllProj.v1.3/ForYou.Base.v1.3
[16/07/2007 17.37.33] Too many errors were encountered downloading files. Some files may not have been updated.


Then trying again I got this:
Impossibile leggere dati dalla connessione del trasporto: Connessione chiusa..
In a messagebox and Nothing can be done then.

I've tried to reset the cache directory under

C:\Users\MYUSERNAME\AppData\Local\Sourcegear\Vault_1\Client\(GuidOfTheCache)

But the problem is still there.
I Had the same problem on XP with version 3.2... and resolved it uninstalling, cleaning registry and any temporary file then reinstalling.
But in Vista it does not work.
The client seems to working one folder or two, then trying again a whole solution folder the problems starts again.

I Hope you have some hints on this because I haven't any idea.

Sabrina :(

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Jul 16, 2007 10:12 am

Vista can be a challenge to configure, as Vista tries to prohibit many operations.

Is there any error in the Vault Server log that corresponds to your client-side errors? The log is sgvault.log in %windir%\temp\sgvault.

Are you able to get any files with the Vault GUI Client, or is the problem just with this specific solution?

Do you have Windows Firewall on? Check to see if it might be blocking the download.
Linda Bauer
SourceGear
Technical Support Manager

sabrina_c
Posts: 12
Joined: Mon Jul 16, 2007 9:25 am

Post by sabrina_c » Thu Jul 19, 2007 8:57 am

lbauer wrote:Vista can be a challenge to configure, as Vista tries to prohibit many operations.

Is there any error in the Vault Server log that corresponds to your client-side errors? The log is sgvault.log in %windir%\temp\sgvault.

Are you able to get any files with the Vault GUI Client, or is the problem just with this specific solution?

Do you have Windows Firewall on? Check to see if it might be blocking the download.
Today trying what you asked I had a worse error,
Impossibile leggere dalla connessione di trasporto, connessione chiusa.
The translation is:
Impossible to read from the transport connection, connection closed.

I've done some tests with the systems administrator and leaving all internet traffic open the error stops.
Putting back on the firewall, the error does not happen either. :?:

But there are more troubles:

Getting a Folder from the repository gives the same errors I put on the other message, I will try and see which files did not come out and what it is written on the server log.

But it is not ended, the major problem comes when, I opened Visual Studio 2005
Tools>Options>Source Control>
Selected Vault as Source Control Plugin and then Plugin Options
And the Dialog is Disabled, I cannot configure Vault, and when I close Visual Studio, the Source control Plugin goes back to None.

More than this, after vault is selected in the options, if I try an "Open from Vault" two things happen:
- I Have to select a solution to get the solution folder out elsewhere the ok button is disabled.
- The solution is checked out but no other file is and I got some errors telling me the Solution is under source control, but it is not working correctly so it is recommended not to modify the solution.
- The projects appear as not present and Visual Studio tells me they are unavailable.

I've started visualstudio with the Run as administrator...

What is it happening???

I enclose two of the visual studio errors

:cry: Sabrina
Attachments
Immagini.zip
(114.06 KiB) Downloaded 174 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Jul 19, 2007 9:47 pm

It sounds like the integration isn't working or isn't available. It could be that something in the Vault GUI Client or in Visual Studio did not get installed properly. Did you install the special service pack for Visual Studio for Vista:

http://www.microsoft.com/downloads/deta ... laylang=en
Linda Bauer
SourceGear
Technical Support Manager

sabrina_c
Posts: 12
Joined: Mon Jul 16, 2007 9:25 am

Post by sabrina_c » Fri Jul 20, 2007 9:28 am

lbauer wrote:It sounds like the integration isn't working or isn't available. It could be that something in the Vault GUI Client or in Visual Studio did not get installed properly. Did you install the special service pack for Visual Studio for Vista:

http://www.microsoft.com/downloads/deta ... laylang=en
Yes the Vista SP has been installed because elsewhere Visual Studio does not work. I am administrator on the PC and I runned Visual Studio with the Run as Administrator option...

Any further suggestion?
thank you
Sabrina

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Fri Jul 20, 2007 12:15 pm

Are you able to get and checkin files with the stand-alone Vault client? You mentioned some issues about failure to get folders.

The new Visual Studio 2005 client opens solutions and/or projects from the repository, as opposed to folders like the old client. If you'd like the old behavior, you can switch to the 2003-compatible client in your source control options.

When performing "Open From Vault" was the solution bound to the new 2005 client and checked in? Open From Vault only works if the solution was added using the new client or bound to the new client and then checked in. There's more information about that here: http://support.sourcegear.com/viewtopic.php?t=7937
Ian Olsen
SourceGear

sabrina_c
Posts: 12
Joined: Mon Jul 16, 2007 9:25 am

Post by sabrina_c » Wed Jul 25, 2007 1:32 am

ian_sg wrote:Are you able to get and checkin files with the stand-alone Vault client? You mentioned some issues about failure to get folders.

The new Visual Studio 2005 client opens solutions and/or projects from the repository, as opposed to folders like the old client. If you'd like the old behavior, you can switch to the 2003-compatible client in your source control options.

When performing "Open From Vault" was the solution bound to the new 2005 client and checked in? Open From Vault only works if the solution was added using the new client or bound to the new client and then checked in. There's more information about that here: http://support.sourcegear.com/viewtopic.php?t=7937
Ok, To be sure Everything is clean and checked I've done the following:
-uninstalled sourcegear vault 4.0.2
-uninstalled VS2005 SDK
-Uninstalled VS2005 Plugins
-uninstalled VS2005 sp1
-Uninstalled VS2005
-Uninstalled MSDN

-Reinstalled VS2005
-Applied SP1
-Applied SP1 Patch for Vista
-Reinstalled SourceGear

Now in VS2005 running as administrator opening Options>Source Control> choosing
SourceGear Vault Client for VS 2005 a small empty window appears for a second, then disappears and the combobox resets to None.

If I open the Vault Client (running as administrator) I have the usual
Connection closed message and nothing works.
For exact text of message look my previous messages...

The other 2 pcs on which I use vault respectively running
Win2003 server and
Windows XP
Work correctly and without any trouble.

Now You can say why are you trying Vista, well, this is where we all have
to go, and I need to try and use it before my customers start asking
me if my software works on vista.

Said so, I had a connection closed problem on XP last April, and I've resolved it uninstalling, clearing the cache, clearing the registry and reinstalling the client.

Probably due to the differences in Vista I am not been able to clear all files after the uninstall, so I ask if any of you at Sourcegear is able to let me know all the places where sourcegear is putting files when the Vault client runs, all the registry entries and where I can find them and using which user to search for them.

Thank you in advance
Sabrina.

sabrina_c
Posts: 12
Joined: Mon Jul 16, 2007 9:25 am

Post by sabrina_c » Wed Jul 25, 2007 4:04 am

I Add some more news on this topic, just to see if it can help:

I have again done the following:
-Uninstalled Vault
-Deleted Cache folder on AppSettings
-Deleted Sourcegear folder under Programs
-Deleted all sourcegear keys in registry

Reinstalled Vault

Defined the profile to login
Logged in
Set the options like the ones I have in XP
Tried to get Latest for one of the folders in my repository
from the client, not even opened visual studio.
Received again the same error messages I had in my first message
just some files were downloaded from Vault, I tried to download file by file and the files come down, but when i asked for a chm file which is I think just a little larger than a .cs file the errors appear and the file is not downloaded.

after this

Impossibile leggere dati dalla connessione del trasporto: Connessione chiusa..

the above message started to appear and I can't do anything.
if you have any suggestion it'll be welcome.

sabrina

sabrina_c
Posts: 12
Joined: Mon Jul 16, 2007 9:25 am

Post by sabrina_c » Wed Jul 25, 2007 5:25 am

sabrina_c wrote:I Add some more news on this topic, just to see if it can help:

I have again done the following:
-Uninstalled Vault
-Deleted Cache folder on AppSettings
-Deleted Sourcegear folder under Programs
-Deleted all sourcegear keys in registry

Reinstalled Vault

Defined the profile to login
Logged in
Set the options like the ones I have in XP
Tried to get Latest for one of the folders in my repository
from the client, not even opened visual studio.
Received again the same error messages I had in my first message
just some files were downloaded from Vault, I tried to download file by file and the files come down, but when i asked for a chm file which is I think just a little larger than a .cs file the errors appear and the file is not downloaded.

after this

Impossibile leggere dati dalla connessione del trasporto: Connessione chiusa..

the above message started to appear and I can't do anything.
if you have any suggestion it'll be welcome.

sabrina
OK, I've found the problems (they were 2) so I post the solution for those who can have the same problems in the future:

Problem 1: timeout and errors getting latest or checking out.
Caused by: F-Secure client security set to check the HTTP traffic in real time, this causes all web traffic to be examined while passing through the "cable" and of course if the file is larger than a couple of kbyte timeout errors and missing download.
It would be nice if the producers of webservices and Antivirus give us a
solution to:
a) tell the antivirus not to check traffic from a specific source
b) tell the antivirus the webservice with that name is secure
I don't know if there are such features in F-Secure or never will be.

Problem 2: The plugin settings on my XP client were on 2003 version
setting the plugin to VS 2003 compatible client make things work.

We will try and experiment the 2005 version later and see what has to
be changed.

For Now Thank you ifor being here
and I'll let you know if I will be able to Check out and compile
my Visual Studio solutions...

bye
Sabrina

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed Jul 25, 2007 9:30 am

Thank you for the information. I'm sure it will help other users. Antivirus software, firewalls, and other security software can interfere with Vault operations.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply