Share via


TFS Code Search Does not Return Results

If code search is setup on a remote server with indexing completed and the results are blank when executing a request, check the event logs for the error message.

image

Detailed Message: TF400703: Unable to initialize the specified service Microsoft.VisualStudio.Services.Search.WebServer.CodeSecurityChecksService.

Inner Exception Details:Exception Message: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. (type InvalidOperationException)

Exception Stack Trace:    at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()

This means FIPS is enabled on the code search server and is impacting the execution of the result set on the search. TFS is not FIPS compliant and is not supported if FIPS is enabled.  This has been the situation from the original version of TFS and extends to the most recent production version and will be the case for the foreseeable future of TFS.

Resolution:

Disable FIPS on the code search server.