locked
linkedin ( OAuth ) - HTTP Error 404.0 - Not Found - "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable" RRS feed

  • Question

  • User-1267130120 posted

    Hi All,

    I have a question and I have been googling and I haven't found any case as mine or I haven't search enough well..

    So..I have a website where the people sign up with a form or the people can sign up using their linkedin accounts.

    I have development all thinks about "Authenticating with OAuth 2.0" (https://developer.linkedin.com/docs/oauth2).
    All running well in local. I sign up using my linkedin account all is well..the website get the token from linkedin...

    but, when I deploy to the 1&1 hosting (Spain, 1&1 Spain), I get the error:

    HTTP Error 404.0 - Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    Requested URL http://www.mywebsite.es:80/linkedinCallBack.aspx?oauth_token=VALUE1&oauth_verifier=VALUE2


    Please, same idea for which return to the track..?

    thanks from Spain

    Félix

    Monday, March 21, 2016 1:41 PM

Answers

All replies

  • User-2057865890 posted

    Hi Willis314,

    Error message

    Server Error in Application "ApplicationName"

    HTTP Error 404.0 - Not Found

    HResult: 0x80070002

    Description of HResult: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    Possible causes Resolutions
    The specified directory or file does not exist on the Web server. Make sure that the requested resource is at the location that the URL points to.
    The URL contains a typographical error. Review the URL that you open in the Web browser.
    A custom filter or a custom module restricts access to the file. The filter or the module sends the "HTTP Error 404.0" error message back to the client as a response. Make sure that no custom filters or modules restrict access to the file that you want to browse.

    reference: https://support.microsoft.com/en-us/kb/942041

    Best Regards,

    Chris Zhao

    Tuesday, March 22, 2016 5:29 AM
  • User-1267130120 posted

    >The specified directory or file does not exist on the Web server.

    I am sure that the .asp file are in the server.

    >The URL contains a typographical error.

    The url is returned (or is sent) by Linkenid, so I supposed is a well formed url and is well constructed.

    >A custom filter or a custom module restricts access to the file. The filter or the module sends the "HTTP Error 404.0" error message back to the client as a response.

    Well, I am not sure if 1&1 has a filter module and restrict the access to the aspx files when the sender is not a browser¿?¿?¿?

    I will send them a email to 1&1 support.

    thank you very much.

    Tuesday, March 22, 2016 8:48 AM
  • User-1267130120 posted

    Hi,

    After a few days, I get this.

    The url A, generate the error: 

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    URL A: http://www.mapjobs.es/LinkedinRegister.aspx?oauth_token=77--f5efd8af-c0cd-43cb-b0fc-24a42e515fd5&oauth_verifier=68228

    but, If I change the URL A to this URL :

    URL A: http://www.mysite.es/LinkedinRegister.aspx?oauth_token=77-f5efd8af-c0cd-43cb-b0fc-24a42e515fd5&oauth_verifier=68228

    The error dissapears. What have I changed? I have removed one hypthon, "77--...." to "77-...."

    So.... the IIS in the 1&1 hosting is wrong configurate? the IIS can not be able to read query string with tow hyphen followed?

    best

    Félix

    Thursday, March 24, 2016 8:45 PM
  • User-2057865890 posted

    Hi Willis314,

    The only characters you can reliably use for the actual name parts of a URL are a-z, A-Z, 0-9, -, ., _, and ~. Any other characters need to be Percent encoded.

    reference: What characters are allowed unencoded in query strings?

    Best Regards,

    Chris Zhao

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 28, 2016 1:49 AM