I try to use the newest AnkhSVN with svn+ssh, but when I try to add a VS 2010 solution to the repository with URL svn+ssh://some.domain.com/svn/ I get the login window. Then I type the password and I can see the repo.
BUT when I click OK everything hangs and window's title says Not Responding.
Please, do you have any ideas?
Related
Good morning,
I am trying to connect my Visual Studio with my Github account.
But for me some strange behaviour is happening.
I click on the plus and then Github.
[1
After that I am in my Browser where I must log in, which I do and accept the authorization. After that the Microsoft-Website says everything went well and that I can go back to VS.
But in VS nothing happened.
When I go into my Github account into the setting, Applications, Authorized OAuth Apps Visual Studio is listed. But still nothing in VS itself
Does anyone know what I have to do, or did I make a mistake?
Use the latest VSCode. Install gitlens extension to manage GIT from vscode. You will see an icon (accounts) at the sidebar like the one below (above the settings icon)
If you tap on it, it will ask you to log in with your GitHub account.
OR
Check whether "git" is enabled in your vscode settings.
To check that,
Files>preferences>settings
Type "git: enabled" in the search bar
There will be an option "git", it needs to be enabled if it's not already.
Please find the attached screenshot
I am using Visual Studio 2013 on Windows 8.1, I already sign in with my Live ID.
I try to connect to TFS, VS tries to show me login popup but I get a white popup window then a script error popup that says
an error has occurred in the script on this page, it says the value of the property 'evt_LoginMobile_online' is null or undefined, not a function object
Code: 0
URL: https://login.live.com/login.srf?wa=wsignin1.0&wtrealm=https%3a%2f%2faccesscontrol.windows.net%2f&wreply=https%3a%2f%2ftfsprodch1acs01.accesscontrol.windows.net%2fv2%
It asks me if I want to continue running scripts. When i click yes or no, I still get the same white page and nothing happens.
Maybe this solution solves your problem,
Troubleshooting connections from Internet Explorer & Visual Studio to Visual Studio Online
Just update Internet Explorer to the newest version. I updated from version 8 to version 11 and everything went well after that...
IE 11 download link: http://www.microsoft.com/en-us/download/internet-explorer-11-for-windows-7-details.aspx
You need to add Microsoft login website URL to trusted sites from IE. Follow the URL to enable JS and add whatever URL is showing in error popup (here in image it shows as (https://login.live.com/login) open from visual studio to Trusted website, It should work afterwards.
I'm having trouble connecting to the hosted Team Foundation Service using Visual Studio 2012 RC.
Upon my first connect, a window was opened prompting me for my username and password, however I was added to TFS with a different Live ID. I've re-registered a new Live ID and now I can't get access to TFS. When I try to do so, I get this error:
TF31003
If you log out from All Live accounts in your Browser's and then try logging into TFS again you should be prompted for the credentials and you can login with the account that has access to TFS Preview.
I got the tf31003 error while trying to connect to a hosted TFS at https://mycompanyname.visualstudio.com/
I could access the site using my Live Id through Firefox but when trying to connect using VS 2010 I was getting that error.
The issue with my case was that VS2010 was trying to login using Internet Explorer which I was signed in under a different account. To solve this I opened Internet Explorer and logout from Hotmail/Live and went to the about URL and connected to the TFS instance, which connected successfully.
After that I went back to VS 2010 and tried to connect to the server again, this time I was shown the Login window where I was able to enter my login details. Once done my server was successfully added to the 'Team Server Foundation list' and was able to get the list of all my projects.
I had the same problem, except I am running VS2012 Update 2. This is overboard, but this is a thorough list of everything I did that eventually fixed it.
Ensured Visual Studio was not running
I opened Internet Explorer, pressed CTRL+SHFT+DEL, selected everything and clicked "Delete"
I opened Fiddler and navigated to "Tools > Clear WinINET Cache" and "Tools > Clear WinINET Cookies"
I opened the windows Credential Manager and removed all entries (including all Web Credentials, Windows Credentials, and Generic Credentials)
I disconnected my Microsofot account from my Windows account
Opened Visual Studio and connected to TFS, and it finally prompted me to login
Again, this is overboard, and not very surgical, but as I was in a hurry, so I decided to take the shotgun run, and it worked.
I had the same issue, the simplest solution I got was to delete just three cookies.
I found this recommendation in other post. It worked for me.
cookie:*#login.live.com/
cookie:*#visualstudio.com/
cookie:*#tfs.app.visualstudio.com/
To see the cookie files directly so to "Internet Options -> In the Browsing History Section Click "Settings" -> Click "View Files" -> They are all text files.
I received this same error (TF31003 / TF30063) when setting up a new TFS Build Server on Windows Server 2012 because Active Scripting was not enabled in IE.
In order to login - you must enable active scripting to see the login prompt below...
I actually discovered this after installing Visual Studio where the popup dialog specifically informs you of this required setting. Hopefully this will save sometime hours of lost time...
I just installed AnkhSVN. I'm using Visual Studio 2010.
There is an existing Subversion repository on a server that I access via SSL (ex: https://svn.myserver.com/myrepository).
In Visual Studio, I set my source control to "AnkhSVN - Subversion support to Visual Studio" in the tools/options menu.
In the "Add to Subversion" dialog, when I try to add my solution in the repository, I enter https://svn.myserver.com/myrepository in the "Repository URL" field.
Then, https://svn.myserver.com appears under "Subversion Repositories".
When I select it, the "Create Folder..." button stays disabled and when I click OK, I get the message:
Please select a valid location in the repository to add to.
I want to add my solution in https://svn.myserver.com/myrepository/myfolder but it doesn't seem to be possible.
What am I missing?
Also:
In Repository Explorer I add the url https://svn.myserver.com/myrepository and nothing happens. I cannot browse that repository. It looks like I cannot connect to the server.
I wonder why there's no popup asking me for authentication.
Does anybody know where to set username / password?
Solutions:
You can go to Tools - Options - Source Control - Subversion Environment - Authentication Cache to clear the cached username/passwords
or
The authentication data is saved to the following directories
%APPDATA%\Subversion\auth\svn.ssl.server
%APPDATA%\Subversion\auth\svn.simple
Deleting all the files inside these folders will solve the problem. After deleting these files AnkhSVN will prompt you for username and password once again.
or
From the file system right click->tortoise->settings->saved data->Authentication Data-Clear.
References:
http://www.nerdpad.com/how-to/clearing-ankhsvn-saved-username-password-authentication-data
How to change SVN authentication details in AnkhSVN in Visual Studio 2010?
TortoiseSVN not asking for authentication?
Try to add the solution foldwr to repository(with the whole solution).There you will set the username and password. When opening Visual Studio, the ankhsvn should manage it automatically(with no credentials).
Our TFS server has some temporary connectivity issues right now, and as such VS has gone unresponsive, leaving 50+ developers unable to work!
Is it possible to switch TFS into an offline mode in the event of such an issue?
See this reference for information on how to bind/unbind your solution or project from source control. NOTE: this doesn't apply if you are using GIT and may not apply to versions later than VS2008.
Quoting from the reference:
To disconnect a solution or project
from source control
In Visual Studio, open Solution
Explorer and select the item(s) to
disconnect.
On the File menu, click Source
Control, then Change Source Control.
In the Change Source Control dialog
box, click Disconnect.
Click OK.
The 'Go Offline' extension adds a button to the Source Control menu.
https://visualstudiogallery.msdn.microsoft.com/6e54271c-2c4e-4911-a1b4-a65a588ae138
plundberg: The "disconnect" button is only available for the TFS provider starting in VS 2008. Even then, I'm not sure if it's officially supported. The recommended way to use the Go Offline feature is to [re]open the solution.
Martin Pritchard: if you get stuck mid-operation, you can force VS to timeout by pulling the network plug (literally) or running ipconfig /release.
Once you're marked offline, here's a step by step guide to working in that mode: http://teamfoundation.blogspot.com/2007/12/offline-and-back-again-in-vs2008.html
More detailed info on tweaking the behind-the-scenes behavior:
http://blogs.msdn.com/benryan/archive/2007/12/12/when-and-how-does-my-solution-go-offline.aspx
http://blogs.msdn.com/benryan/archive/2007/12/12/how-to-make-tfs-offline-strictly-solution-based.aspx
There are couple of little visual studio extensions for this purpose:
For VS2010 & TFS 2010, try this
For VS2012 & TFS 2010, use this
In case of TFS 2012, looks like there is no need for 'Go offline' extensions. I read something about a new feature called local workspace for the similar purpose.
Alternatively I had good success with Git-TF. All the goodness of git and when you are ready, you can push it to TFS.
Depending on which tool windows you have open, VS may or may not try to hit the team server automatically when it starts up.
For best results try this:
Close all instances of visual studio
Open an empty visual studio (no project/solution)
See which windows are opened by default, if source control explorer or team explorer or any other windows that use team are opened (and activated) by default, close them or switch them to a background tab.
Close visual studio
You should notice now that you can start visual studio without it trying to hit the TFS server.
I know its just an aside to your problem, but I hope you find this helpful!
If you have a solution open, and TFS is down, you might have trouble going into offline mode. If you close and reopen your solution, a nice little dialog will appear asking you if you want to Go Offline.
Alternatively if you don't want to close/reopen the solution, (as suggested by Bernie) you can install the TFS Go-Offline plugin, then click:
TEAM -> Go Offline
Simply, change the root folder name for your solution in your local machine, it will disconnect automatically.
I just wanted to include a link to a resolution to an issue I was having with VS2008 and TFS08.
I accidently opened my solution without being connected to my network and was not able to get it "back the way it was" and had to rebind every time I openned.
I found the solution here;
http://www.fkollmann.de/v2/post/Visual-Studio-2008-refuses-to-bind-to-TFS-or-to-open-solution-source-controlled.aspx
Basically, you need to open the "Connect to Team Foundation Server" and then "Servers..." once there, Delete/Remove your server and re-add it. This fixed my issue.
If the code has already been checked out by the user that if offline and they have the latest version on their local hd, then they just need to browse to the solution location and open the solution by double clicking sln file. The solution will open in disconnected mode.