VS 2008 plugin not connecting to server
Hi all,
I have installed the Visual Studio 2008 plugin on 9 computers in my development team. 7 was succesful installed and are working as intended (doing builds and updating information from the server and so on) and 2 are giving me grief. The installation seems to be successful (no errors or warnings) but they can not connect to the TeamCity server. The new menu item shows up inside of Visual Studio 2008 but after I have pressed the connect button and inputed the connection information with username and password it does not connect. The icon becomes grey with the popup text "TeamCity:Connecting...". But it never connects. All computers have the TeamCity Tray notifier running with no problems and all got their Visual Studio addin from the server.
Server: Windows Server 2003 x64bit
OS on the developer machines: XP Professional
When exiting Visual Studio 2008 I get the following error:
--- End of inner exception stack trace ---
LoggerException: Could not get XML settings from the component “JetBrains.UI.Shell.ExceptionReport.ExceptionReportComponent, JetBrains.Platform.TeamCity.UI, Version=4.0.31.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”. Object reference not set to an instance of an object. Object reference not set to an instance of an object.
at JetBrains.ComponentModel.XmlExternalizableComponentContainer.SaveSettings() in c:\Agent\work\b5eba76a2daba6e4\Platform\src\Shell\src\ComponentModel\XmlExternalizableComponentContainer.cs:line 462
at JetBrains.UI.Shell.UIApplicationShell.Shutdown() in c:\Agent\work\b5eba76a2daba6e4\Platform\src\UI\src\Shell\UIApplicationShell.cs:line 586
at JetBrains.VSIntegration.Shell.VSShell.Shutdown() in c:\Agent\work\b5eba76a2daba6e4\Platform\src\VSIntegration\src\Shell\VSShell.cs:line 535
at JetBrains.VSIntegration.AbstractAddIn.<>c__DisplayClassc.<OnDisconnection>b__b() in c:\Agent\work\b5eba76a2daba6e4\Platform\src\VSIntegration\src\AbstractAddIn.cs:line 305
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Agent\work\b5eba76a2daba6e4\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 303
at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action) in c:\Agent\work\b5eba76a2daba6e4\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 336
at JetBrains.Threading.Invocator.ExecuteOrQueue(String name, Action action) in c:\Agent\work\b5eba76a2daba6e4\Platform\src\Shell\src\Threading\Invocator.cs:line 125
at JetBrains.VSIntegration.AbstractAddIn.OnDisconnection(ext_DisconnectMode disconnectMode, Array& custom) in c:\Agent\work\b5eba76a2daba6e4\Platform\src\VSIntegration\src\AbstractAddIn.cs:line 290
What should I do to get the plugin to work? Anu ideas?
Regards
Niklas Ottosson, CM
Admeta.com
Please sign in to leave a comment.
Hello,
Could you plase check VS can access teamcity server and there is no Firewall ban.
Do you use any proxy server?
Does windows tray notifier works?
Thank you for report. The exception in your log is known and does not repates to you issue.
Thanks!
Hi
All the computers are on the same local LAN. There are no firewalls or proxys in between the server and the computers. The tray notifier works on all computers. I have also checked the windows firewall settings on the problematic computers and it looks the same as on the other computers.
What would be the next step? Are there any dependecies for the plugin. like .NET frameworks, java versions or such?
Regards
Niklas Ottosson
I have tried uninstalling/reinstalling. Rebooted between them all but no luck. The connecting icon in Visual Studio 2008 just get stuck saying "connecting" and nothing more. I did however get an error report from the plugin one time: "Could not connect to server. Server not found". How can I verify that the plugin is looking in the right place for the server. The tray notifier works with no problems.
Regards
Niklas Ottosson
Do you write http:// or https:// before the server name?
I've added check for server url. It will be available in the next TeamCity Minor (4.1) EAP
Thanks!
We use 'http://hilda:5555'. hilda is the computer name of the server and 5555 is the port number.
Many thanks for your time
Best regards
Niklas Ottosson
Have you managed to login to TeamCity with server set to http://hilda:5555?
Thanks!
There is no problem loggin into the server via Internet Explorer, Chrome or Firefox with the adress http://hilda:5555
Thanks!
Sorry, I meant to ask you weather you can login to TeamCity from VS plugin using server name starting from http:// or https://
All other computers but the 2 mentioned can log into the server via http://hilda:5555. No computer can connect via https://hilda:5555
Could you please try debugging for exceptions.
Please do the following:
- start VS
- open solution
- start VS and attach to first started vs (the process name is devenv.exe)
- open menu debug/exceptions, select 'Common Language Runtime Exceptions' and put tick to 'Thrown'
- get to the first Visual Studio and start login
Have you fond any exceptions while login?
Thanks!