Hi
I am working with IntelliJ IDEA 9.0.2 and I have some problems in integrating it with the version control.
we used SVN as a version control, but now we are switched to TFS. I started configuring it via following path:
Version Control--> VCSs --> TFS
In "Manage TFS Servers and Workspaces" dialog, I have tried adding a Team server but I couldn't connect to the server.
I have tried in many ways for example, setting serve with ip address (htt://192.168.1.160:8080) or in name (http://tfs:8080), but each time, I encountered with following error messages respectively.
"First Element must contain the local name, Envelope , but found html" and
"Transport error: 401 Error: Unauthorized".
Last time I tried in this way for server name: "tfs://tfs:8080". This time I got no error message, while in the idea log, there is time out error (Connection timed out: connect).
This is while these configuration works in eclipse.
I attached some parts of the related logs.

Thank you in advance.

Regards,
ssadeghi

**************** idea log *************
org.apache.axiom.soap.SOAPProcessingException: First Element must contain the local name, Envelope , but found html
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBu ilder.constructNode(StAXSOAPModelBuilder.java:251)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBu ilder.createOMElement(StAXSOAPModelBuilder.java:20 9)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBu ilder.createNextOMElement(StAXSOAPModelBuilder.jav a:191)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.nex t(StAXOMBuilder.java:172)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBu ilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:15 6)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBu ilder.<init>(StAXSOAPModelBuilder.java:105)
at org.apache.axis2.builder.BuilderUtil.getSOAPBuilde r(BuilderUtil.java:677)
at org.apache.axis2.transport.TransportUtils.createDo cumentElement(TransportUtils.java:182)
at org.apache.axis2.transport.TransportUtils.createSO APMessage(TransportUtils.java:112)
at org.apache.axis2.transport.TransportUtils.createSO APMessage(TransportUtils.java:88)
at org.apache.axis2.description.OutInAxisOperationCli ent.handleResponse(OutInAxisOperation.java:353)
at org.apache.axis2.description.OutInAxisOperationCli ent.send(OutInAxisOperation.java:416)
at org.apache.axis2.description.OutInAxisOperationCli ent.executeImpl(OutInAxisOperation.java:228)
at org.apache.axis2.client.OperationClient.execute(Op erationClient.java:163)
at org.jetbrains.tfsIntegration.stubs.ServerStatusSer verStatusSoapStub.CheckAuthentication(ServerStatus ServerStatusSoapStub.java:207)
at org.jetbrains.tfsIntegration.webservice.WebService Helper$1$1.compute(WebServiceHelper.java:124)
at org.jetbrains.tfsIntegration.webservice.WebService Helper$1$1.compute(WebServiceHelper.java:118)
at org.jetbrains.tfsIntegration.webservice.WebService Helper.runWithPluginClassLoader(WebServiceHelper.j ava:519)
at org.jetbrains.tfsIntegration.webservice.WebService Helper.access$100(WebServiceHelper.java:68)
at org.jetbrains.tfsIntegration.webservice.WebService Helper$1.executeRequest(WebServiceHelper.java:118)
at org.jetbrains.tfsIntegration.webservice.WebService Helper$1.executeRequest(WebServiceHelper.java:116)
at org.jetbrains.tfsIntegration.webservice.WebService Helper.executeRequest(WebServiceHelper.java:355)
at org.jetbrains.tfsIntegration.webservice.WebService Helper.authenticate(WebServiceHelper.java:116)
at org.jetbrains.tfsIntegration.ui.ManageWorkspacesFo rm.addServer(ManageWorkspacesForm.java:287)
at org.jetbrains.tfsIntegration.ui.ManageWorkspacesFo rm.access$400(ManageWorkspacesForm.java:55)
at org.jetbrains.tfsIntegration.ui.ManageWorkspacesFo rm$7.actionPerformed(ManageWorkspacesForm.java:188 )
at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.jav a:6263)
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3255)
at java.awt.Component.processEvent(Component.java:602 8)
at java.awt.Container.processEvent(Container.java:204 1)
at java.awt.Component.dispatchEventImpl(Component.jav a:4630)
at java.awt.Container.dispatchEventImpl(Container.jav a:2099)
at java.awt.Component.dispatchEvent(Component.java:44 60)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4168)
at java.awt.Container.dispatchEventImpl(Container.jav a:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475 )
at java.awt.Component.dispatchEvent(Component.java:44 60)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 599)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.jav a:610)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.jav a:496)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEv entQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl $MyDialog.show(DialogWrapperPeerImpl.java:650)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl .show(DialogWrapperPeerImpl.java:393)
at com.intellij.openapi.ui.DialogWrapper.showAndGetOk (DialogWrapper.java:959)
at com.intellij.openapi.ui.DialogWrapper.show(DialogW rapper.java:944)
at org.jetbrains.tfsIntegration.ui.ProjectConfigurabl eForm$1.actionPerformed(ProjectConfigurableForm.ja va:43)
at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.jav a:6263)
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3255)
at java.awt.Component.processEvent(Component.java:602 8)
at java.awt.Container.processEvent(Container.java:204 1)
at java.awt.Component.dispatchEventImpl(Component.jav a:4630)
at java.awt.Container.dispatchEventImpl(Container.jav a:2099)
at java.awt.Component.dispatchEvent(Component.java:44 60)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4168)
at java.awt.Container.dispatchEventImpl(Container.jav a:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475 )
at java.awt.Component.dispatchEvent(Component.java:44 60)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 599)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.jav a:610)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.jav a:496)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEv entQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl $MyDialog.show(DialogWrapperPeerImpl.java:650)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl .show(DialogWrapperPeerImpl.java:393)
at com.intellij.openapi.ui.DialogWrapper.showAndGetOk (DialogWrapper.java:959)
at com.intellij.openapi.ui.DialogWrapper.show(DialogW rapper.java:944)
at com.intellij.ide.actions.ShowSettingsUtilImpl.a(Sh owSettingsUtilImpl.java:57)
at com.intellij.ide.actions.ShowSettingsUtilImpl.show SettingsDialog(ShowSettingsUtilImpl.java:43)
at com.intellij.ide.actions.ShowSettingsAction.action Performed(ShowSettingsAction.java:53)
at com.intellij.openapi.actionSystem.impl.ActionButto n.a(ActionButton.java:146)
at com.intellij.openapi.actionSystem.impl.ActionButto n.a(ActionButton.java:122)
at com.intellij.openapi.actionSystem.impl.ActionButto n.processMouseEvent(ActionButton.java:282)
at java.awt.Component.processEvent(Component.java:602 8)
at java.awt.Container.processEvent(Container.java:204 1)
at java.awt.Component.dispatchEventImpl(Component.jav a:4630)
at java.awt.Container.dispatchEventImpl(Container.jav a:2099)
at java.awt.Component.dispatchEvent(Component.java:44 60)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4168)
at java.awt.Container.dispatchEventImpl(Container.jav a:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475 )
at java.awt.Component.dispatchEvent(Component.java:44 60)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 599)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.jav a:610)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.jav a:496)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEv entQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
2010-09-25 10:17:05,390 [10612865] INFO - ache.axis2.builder.BuilderUtil - Remaining input stream :[]
2010-09-25 10:40:50,533 [12038008] INFO - nt.auth.AuthChallengeProcessor - ntlm authentication scheme selected
2010-09-25 10:40:50,565 [12038040] INFO - .httpclient.HttpMethodDirector - Failure authenticating with NTLM <any realm>@192.168.1.160:8080
2010-09-25 10:40:50,565 [12038040] INFO - xis2.transport.http.HTTPSender - Unable to sendViaPost to url[http://192.168.1.160:8080/Services/v...erStatus.asmx]
org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
at org.apache.axis2.transport.http.HTTPSender.handleR esponse(HTTPSender.java:296)
at org.apache.axis2.transport.http.HTTPSender.sendVia Post(HTTPSender.java:190)
at org.apache.axis2.transport.http.HTTPSender.send(HT TPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTranspo rtSender.writeMessageWithCommons(CommonsHTTPTransp ortSender.java:371)
at org.apache.axis2.transport.http.CommonsHTTPTranspo rtSender.invoke(CommonsHTTPTransportSender.java:20 9)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine .java:448)
at org.apache.axis2.description.OutInAxisOperationCli ent.send(OutInAxisOperation.java:401)
at org.apache.axis2.description.OutInAxisOperationCli ent.executeImpl(OutInAxisOperation.java:228)