VS2017/Vault not binding
Moderator: SourceGear
VS2017/Vault not binding
First noticed: 9/10/18 Monday. (>= 4 cases so far; everything has been working fine for the past several months; 2 independent confirmations that everything seemed fine on Friday 9/7/18).
Versions of VS2017 used: 15.8.2, 15.8.3, 15.7.5
Version of Vault Client: SourceGear Vault Standard 10.0.0 (736)
Version of Visual Studio 2017 Extension used: 10.0.1 (793) and 10.0.2 (936) (Edit: a.k.a. Enhanced)
OS: Windows 10 Enterprise; 64-bit
We do generally use SSDT, and I noticed on another thread that some Vault/SSDT/VS2017 issues had occurred:
viewtopic.php?f=5&t=23028&p=79279&hilit=VS2017#p79279
(As a side note, a large # of SSDT/VS2017 issues have occurred...
e.g. https://developercommunity.visualstudio ... -code.html)
FYI - VS2012, VS2015 (in our installs) do not have this issue.
Some images of the errors are attached.
This issue is most obvious when one tries to 'Open from Vault' (in VS2017)
I'm going to keep trying options (including one in the sourcegear thread above), and as I find additional data, I will add it here.
Thank you for your time and help. Please let us know of any questions.
We do have one apparent outlier: for a virtual machine with VS2017/Vault, no issue detected.
We tested on another virtual machine that my team has direct access on, and the issue was definitely present.
Sincerely,
Michael M.
Versions of VS2017 used: 15.8.2, 15.8.3, 15.7.5
Version of Vault Client: SourceGear Vault Standard 10.0.0 (736)
Version of Visual Studio 2017 Extension used: 10.0.1 (793) and 10.0.2 (936) (Edit: a.k.a. Enhanced)
OS: Windows 10 Enterprise; 64-bit
We do generally use SSDT, and I noticed on another thread that some Vault/SSDT/VS2017 issues had occurred:
viewtopic.php?f=5&t=23028&p=79279&hilit=VS2017#p79279
(As a side note, a large # of SSDT/VS2017 issues have occurred...
e.g. https://developercommunity.visualstudio ... -code.html)
FYI - VS2012, VS2015 (in our installs) do not have this issue.
Some images of the errors are attached.
This issue is most obvious when one tries to 'Open from Vault' (in VS2017)
I'm going to keep trying options (including one in the sourcegear thread above), and as I find additional data, I will add it here.
Thank you for your time and help. Please let us know of any questions.
We do have one apparent outlier: for a virtual machine with VS2017/Vault, no issue detected.
We tested on another virtual machine that my team has direct access on, and the issue was definitely present.
Sincerely,
Michael M.
- Attachments
-
- Error2.png (3.85 KiB) Viewed 19025 times
-
- Error1.png (7.36 KiB) Viewed 19025 times
Last edited by mmorris on Mon Sep 10, 2018 2:23 pm, edited 2 times in total.
Re: VS2017/Vault not binding
Hi Michael,
Thank you for the details! Following the advice given in the link you listed below would be my first suggestion.
Please keep us informed on the status. If the problem persists, please let us know which Vault plugin you have installed (classic or enhanced).
Thanks,
Tonya
Thank you for the details! Following the advice given in the link you listed below would be my first suggestion.
Please keep us informed on the status. If the problem persists, please let us know which Vault plugin you have installed (classic or enhanced).
Thanks,
Tonya
Re: VS2017/Vault not binding
Edited above: Enhanced.
For some reason, your download page calls the Enchanced version the Extension... (image below).
I do (on my computer) have access to both Standard and Enhanced versions. The Standard doesn't work (of course)... though it will access Vault and try... but it pulls blank Projects back. The Enhanced version has the errors shown above... and will not access Vault at all.
Please note: I will be out of the office the remainder of this week, but someone else in my office will be watching this while I am out. Thank you!
For some reason, your download page calls the Enchanced version the Extension... (image below).
I do (on my computer) have access to both Standard and Enhanced versions. The Standard doesn't work (of course)... though it will access Vault and try... but it pulls blank Projects back. The Enhanced version has the errors shown above... and will not access Vault at all.
Please note: I will be out of the office the remainder of this week, but someone else in my office will be watching this while I am out. Thank you!
- Attachments
-
- Image 3.PNG (6.2 KiB) Viewed 19012 times
-
- Posts: 21
- Joined: Wed Feb 14, 2007 2:50 pm
Re: VS2017/Vault not binding
We are also seeing this issue on multiple machines. Visuals Studio 2017 version is 15.8.3. Vault version is 10.0.1.793. We just noticed this behavior today. We will try the uninstall and re-install.
Grand Avenue Software
-
- Posts: 21
- Joined: Wed Feb 14, 2007 2:50 pm
Re: VS2017/Vault not binding
Reinstalling the extension appears to have fixed the issue.
Grand Avenue Software
Re: VS2017/Vault not binding
Glad to hear! Thank you for the update!!
Tonya
Tonya
Re: VS2017/Vault not binding
This has also happened to me starting yesterday. It's as if the extension is disappearing from Visual Studio. Reinstalling does the trick, but it doesn't last beyond the next reboot of the machine
Re: VS2017/Vault not binding
Can you please try to reinstall the Vault extensions while running Visual Studio under an account with elevated "administrative" privileges?
Thanks,
Tonya
Thanks,
Tonya
Re: VS2017/Vault not binding
A couple more questions:
1) What is set under Tools -> Options => Source Control?
2) What appears under Help -> About (should show the Vault Extensions that are installed)?
Tonya
1) What is set under Tools -> Options => Source Control?
2) What appears under Help -> About (should show the Vault Extensions that are installed)?
Tonya
Re: VS2017/Vault not binding
Had to reinstall again this morning. When opening VS, I get an error indicating that the source control provider could not be found. When going to Tools, Options, there is nothing set under Source Control. Under Help, About, the extension is not showing
Ive attached a zip file with screenshots of the various messages
Ive attached a zip file with screenshots of the various messages
- Attachments
-
- Msg.zip
- (54.02 KiB) Downloaded 838 times
Re: VS2017/Vault not binding
How are you installing the Vault Plugins? Are you using the classic or the VS 2017 extensions?
What version of Vault do you have installed? What version of Visual Studio are you using (along with the edition, pro, community, etc)?
In the screenshot labeled "SourceControl", does the drop down list Vault?
VSIX extension like Vault can be installed using VSIXInstaller.exe from the command line. This is found under your VS 2017-install-directory \<Edition>\Common7\IDE directory. Running this command line utility with the /? option will bring up a window with all of the options ( "VSIXInstaller.exe /?" ). You may want to give this a try.
Once an extension is installed, it will show up in the VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\<some-nonsensical-hash-name> directory. Searching the VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\** for VaultLib.dll should show. Please let us know if this disappears when you notice Vault being reset.
Thanks,
Tonya
What version of Vault do you have installed? What version of Visual Studio are you using (along with the edition, pro, community, etc)?
In the screenshot labeled "SourceControl", does the drop down list Vault?
VSIX extension like Vault can be installed using VSIXInstaller.exe from the command line. This is found under your VS 2017-install-directory \<Edition>\Common7\IDE directory. Running this command line utility with the /? option will bring up a window with all of the options ( "VSIXInstaller.exe /?" ). You may want to give this a try.
Once an extension is installed, it will show up in the VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\<some-nonsensical-hash-name> directory. Searching the VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\** for VaultLib.dll should show. Please let us know if this disappears when you notice Vault being reset.
Thanks,
Tonya
Re: VS2017/Vault not binding
I had been installing the plugin just by double clicking on the vsix file I downloaded from this site.
Vault version is Standard Version 10.0.1
VS is 2017 Community, version 15.8
I ran Command Prompt as an administrator, and installed the plugin from the command line as you described. Opening Visual Studio shows everything working as expected. I'll update the thread if it reverts back again later after a reboot
Vault version is Standard Version 10.0.1
VS is 2017 Community, version 15.8
I ran Command Prompt as an administrator, and installed the plugin from the command line as you described. Opening Visual Studio shows everything working as expected. I'll update the thread if it reverts back again later after a reboot
Re: VS2017/Vault not binding
Failed again this morning. It's odd, it's almost like it happens every 24 hours. I shut down yesterday, restarted last night and worked without issue. When I open a project, the following appears
Re: VS2017/Vault not binding
Before you reinstall, can you please confirm the following:
Once an extension is installed, it will show up in the VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\<some-nonsensical-hash-name> directory. Searching the VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\** for VaultLib.dll should show.
Is this information getting deleted from your system?
Thanks,
Tonya
Once an extension is installed, it will show up in the VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\<some-nonsensical-hash-name> directory. Searching the VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\** for VaultLib.dll should show.
Is this information getting deleted from your system?
Thanks,
Tonya
Re: VS2017/Vault not binding
Back from vacation, and need to continue this.
Most of our issues were fixed with reinstalling, but 1-2 computers are still having issues.
For those computers which are fixed, there does not seem to be a problem with losing the info on reboots, but we will monitor.
In my case (in addition to the errors mentioned previously):
1) VaultLib.dll does not appear in VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\**
2) When I try to install the Extension VSIX Installer, I get the following error: 3) I cannot uninstall the file in the Windows tool 'Change or Remove a Program'. When I look for the file, only the standard version appears (the following is sorted by Publisher). (I do use VS2012 on my computer also, so I do need the standard version....)
4) I was able to get the 'VSIXInstaller.exe /?' to work, and I see a bunch of options. I will start trying them, but do you have any recommendations (or additional examples)? I can only see about one page length of the options... so many of the arguments (and probably examples) are effective invisible. Generally i can also see down to '/culture'.
E.g.: /u requires the vsixID. What is the vsixID? I assumed it was '10.0.2.936', but that does not work. I tried the /f, but that requires the vsix_path... which I guess is the directory of VS2017? Could you confirm?
5) Tools->Options->SourceControl 6) Help->About So, diagnosis for my case: VS2017 and Vault think that the Extension version is installed... but, it is not 'successfully' installed... and cannot currently be uninstalled (though perhaps it can with the correct 'command prompt' statement). So somehow I need to successfully uninstall (or clean something up) before I can again install.
Thank you for your time and help.
Sincerely,
Michael M.
Most of our issues were fixed with reinstalling, but 1-2 computers are still having issues.
For those computers which are fixed, there does not seem to be a problem with losing the info on reboots, but we will monitor.
In my case (in addition to the errors mentioned previously):
1) VaultLib.dll does not appear in VS 2017-install-directory \<Edition>\Common7\IDE\Extensions\**
2) When I try to install the Extension VSIX Installer, I get the following error: 3) I cannot uninstall the file in the Windows tool 'Change or Remove a Program'. When I look for the file, only the standard version appears (the following is sorted by Publisher). (I do use VS2012 on my computer also, so I do need the standard version....)
4) I was able to get the 'VSIXInstaller.exe /?' to work, and I see a bunch of options. I will start trying them, but do you have any recommendations (or additional examples)? I can only see about one page length of the options... so many of the arguments (and probably examples) are effective invisible. Generally i can also see down to '/culture'.
E.g.: /u requires the vsixID. What is the vsixID? I assumed it was '10.0.2.936', but that does not work. I tried the /f, but that requires the vsix_path... which I guess is the directory of VS2017? Could you confirm?
5) Tools->Options->SourceControl 6) Help->About So, diagnosis for my case: VS2017 and Vault think that the Extension version is installed... but, it is not 'successfully' installed... and cannot currently be uninstalled (though perhaps it can with the correct 'command prompt' statement). So somehow I need to successfully uninstall (or clean something up) before I can again install.
Thank you for your time and help.
Sincerely,
Michael M.