index > Team Foundation Server - General > TFS errors after enabling SP1 ISAPI filter

TFS errors after enabling SP1 ISAPI filter


I'm trying to get this SP1 ISAPI filter working, but when I enable it I have connection problems with the TFS. I can still connect, but can't see work items or source control.

I have the ISAPI filter configured like this:
[config]
RequireSecurePort=true
ProxyIPList=192.168.1.1;

There is an event log entry that says it has started correctly with that configuration.

matheny
  • Is this error when you're connecting through the proxy?
  • Do you get the same error if you're connecting (still with https) directly (not through the proxy)?
  • Is 192.168.1.1 also an IP address of the TFS server? (I'd assume not, but wanted to check)

The connection that's failing is an internal TFS-to-TFS connection - you hit a Version Control API, but to dig up the connection string for that database, it contacts the GetRegistrationEntries web method from the Registration.asmx web service (under Services). The errors causing that internal call to fail don't appear, off-hand, to be related to the initial connection being a Basic-auth'd ISAPI-filter'd connection, so checking it on internal connections would be a good data point. If it's still failing, taking the ISAPI filter out of the picture would be useful, too.




Team Foundation Server - http://blogs.msdn.com/jmanning/
James Manning - MSFT

As James points out, it looks like a problem with the TFS-to-TFS web service calls. You should probably also check to see that you have correctly configured your system to use SSL/HTTPS (independent of the ISAPI filter).

The instructions are in http://msdn2.microsoft.com/en-us/library/ms242875.aspx.

Thanks,




Dan Kershaw [msft]
Dan Kershaw

This error occurs when I connect using any method with the ISAPI filter installed. I didn't even try going through a proxy with the ISAPI filter because it wasn't working at all.

My router has the ip address of 192.168.1.1, so all traffic coming in from the web should come through that address. The server is at 192.168.1.100.

Since I was unable to get the ISAPI filter working, I have now switched back to SSL+NTLM without the filter - which works fine.

The way I setup TFS was to put the 'Team Foundation Server' website on port 443 and force it to use SSL. The Default and Sharepoint websites are NOT using SSL in our setup. The reason for only setting up one site with SSL is that we spend a lot of time working behind a couple of different firewalls and one of them limits SSL connections to port 443 only.

Also, I initially installed the ISAPI filter to try and work around the proxy authentication problems I was having, but now that is working with the 'Start Page' work-around.

matheny

Did you just put the TFS website on port 443 and force it to use SSL? What about the additional instructions as indicated in the MSDN help topic? Did you follow these as well?

Also can you send us the filter configuration file, plus are there any errors in the event log to do with the filter?

Thanks,




Dan Kershaw [msft]
Dan Kershaw

Just to help out a little:

  • The ini file contents are in the first post in the thread
  • TFS is indeed on 443 and forced to use SSL. He can't force the other sites into SSL due to firewall problems they have, only allowing SSL traffic through 443

Matheny - any chance you forgot to leave "Integrated Windows Authentication" enabled when you had the ISAPI filter in place? We still need NTLM enabled for these TFS-to-TFS calls to work - if IWA was turned off, you'd get this kind of failure on the internal call. It's unfortunate that we still need NTLM enabled even when you don't want external users to use it, but it's a limitation of the current implementation. Hopefully that'll do the trick.




Team Foundation Server - http://blogs.msdn.com/jmanning/
James Manning - MSFT

I did follow the instructions on the MSDN help topic and this does work with SSL enabled. I don't think it would work at all if I hadn't followed those steps, right?

I also did leave the integrated windows authentication enabled as well as turning on the basic authentication option.

One thing I did do different from the steps on MSDN was to change the URLs in the database and registry to be externally visible. For example, I changed all the references to http://tfs:### to http://tfs.domain.net:###. I did the same with the SSL URLs, so they are now https://tfs.domain.net:443. (I wasn't sure what parts of TFS ended up using those URLs, the client or the server.) Would this cause the problem I'm seeing with the filter?

matheny

It could be a problem if those url's don't also work internally. Heck, if nothing else it's worth trying to back those out to internal URL's and see if that works. I wish I had a better answer, but doing the usual debug "change one thing at a time, see what fixes it" is the route to go here. :)

Thanks!




Team Foundation Server - http://blogs.msdn.com/jmanning/
James Manning - MSFT

Sounds good, I'll try that out and let you know how it works. It sounds like my assumption of those URLs being used by clients was probably wrong:).

matheny

I played around with changing all of those internal URLs back and was finally able to find a working combination.

Here are the changes I had to make:

  1. I set RequireSecurePort=false because I could never get it working the other way
  2. I disabled the 'Require SSL' option on the Team Foundation Server web site
  3. I changed all the URLs from https://tfs.domain.net to http://tfs:8080 except for the TFSUrlPublic value in 'Web Services\web.config'. Without the filter, these needed to be set to the fully qualified name.

Anyway, it looks like everything is working perfectly now. Thanks again for the help on these issues. I have to say that this product is really turning out to be pretty impressive.

matheny
reply 10

You can use google to search for other answers

 

More Articles

Reporting Services failure
My Work Items
migration a code analysis policy settings to solution
TFS Build: Building multiple solutions
TeamBuild Error If Website Has Impersonation in Web.Config
Zombie Version Control 'Project'
Team project creation failure. Initialization for plugin "M...
Replacing Labels using MSBUILD and TFS RC
Bring up Team Portal into Visual Studio view
Error while generating 'Issues' report
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

TFS Licensing Scenario
Failed to Create Team Project
HowTo Update AreaPath through OM
I Want Explorer 6 back
Query result does not show all the work …
Errors when performing a check-in with T…
Workgroup TFS
tfsredirect.aspx missing
Cannot see commands in Source Control
build resources
Disabling Adding New Files to a Visual S…
Show Differences
Registration of a custom datawarehouse a…
Solution.vsscc files
Unable to access Team Foundation Source …

Hot Articles

Code Analysis
Project Management Walkthrough
Team Build vs MSBuild
Modifying the default.aspx template
How to make TFS recognize my new WSS tem…
VersionControl.xml and checkin policy
List a user's activity...
Problem with Team Build and invalid conf…
How permission for groups work?
timestamp on local files during tf get
PK Violation on Branch
Changeset versions: repository vs team p…
Project Server and Team Foundation Server
Can't upload process templates based on …
Setup does not find the database server

Recommend Articles

Unversioned Files View
Master solution in TFS
TFS and Visual Source Safe 2005
can VS2005 Team Suite and VS2002/2003.NE…
TFS without VS Team System edition?
Continuous integration
Download Team Foundation Server
How to transition a team to TFS source c…
TFS puts the files an which path?
Visual Studio Solution/Project and VCS t…
Unknown Folder In TeamExpler when view e…
Slow when open 2 Instances of Visual Stu…
How to find the selected node in Team Ex…
Get ProjectData
TFS Install failed!!!