Error Message: Passport Does Not Recognize the Site You Just Came From (302652)



The information in this article applies to:

  • Microsoft Passport 1.3
  • Microsoft Passport 1.4

This article was previously published under Q302652

SYMPTOMS

When users attempt to sign in with their Passports, they may receive one of the following error messages:
Passport Does Not Recognize the Site You Just Came From
-or-
E_Invalid_Return_URL

CAUSE

This problem indicates that there is a mismatch between the RootURL provided when you registered the Site ID that is being used and the return URL parameter that your code is passing.

RESOLUTION

Verify that the RootURL that you registered is fully contained within the server name that is provided in the return URL parameter that is passed to methods or set as default, and that the Site ID that is provided on the query string is the same one that you were issued upon registration. The RootURL that is specified at registration should resemble a server host name. It should not contain path information, port numbers, "http://", "https://", or "/".

If you are running Passport in one of the Preproduction (PREP) environments, make sure that the URL of the Login server makes sense for the environment in which your site is registered. For example, if you are pointing to the "passport.com" Login servers when you thought you were running against one of the test clusters using "passporttest.com" URLs, your Component Configuration Document (CCD) may have been replaced with a Production version rather than a PREP version. Check the value of the CCDRemoteFile subkey in the Passport node of the registry. For more information on switching or correcting the current environment, see the following Passport Web site:

Modification Type:MajorLast Reviewed:9/30/2003
Keywords:kbprb KB302652