|
I have the following code in the code-behind C# file of an ASP.NET application:
TeamFoundationServer tfs = TeamFoundationServerFactory.GetServer(m_strTeamSystemServer, new UICredentialsProvider();
tfs.EnsureAuthenticated();
Works fine when in my development environment inside the Visual Studio solution. Well, the connection to tfs works anyway. I don't get prompted for credentials.
The problem is when I copy the website to my deployment environment. When tfs.EnsureAuthenticated(); is called, the site just "hangs". It sits there in a loading state (this code is called in my Page_Load) forever, or at least until I got tired of waiting (5 minutes or so).
Any ideas what could be the problem here? Why don't I get a credentials dialog? I checked to make sure there was no popup blocker or anything running, and I see other javascript alert() dialogs without any issue.
Rob |