Invalid WS-Security Header when calling service

Discussion in 'Site Programming, Development and Design' started by Todd, Dec 13, 2019.

  1. Have sites set up as 2 separate projects under one account. Both use same core EICannex projects in VisualStudio to make calls and return data. Sites have worked flawlessly for 2+ years. Made simple html + css change and mistakenly republished using FTP method. Now when form submits to grab data, we get

    Invalid WS-Security Header
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ServiceModel.FaultException: Invalid WS-Security Header​

    This does not occur localhost, and tests fine, returning data and painting page.

    I remember we had this issue when setting account up 2017, and WinHost corrected @ server level config over the phone. No more phone tech support. Something in my FTP publish seems to have wiped this out. They have restored to yesterday backup, but error remains. Both projects were working yesterday, and form post returned correct data.

    I did not personally create these projects, and was written by 3rd party, although I have done moderate development for corporate in .NET....

    Any assistance as to what/how to get the server configured to get these working again is deeply appreciated...
     
  2. ComputerMan

    ComputerMan Winhost Staff

    The application that is working perfectly on your local computer. Are you able to web deploy it? If so there is an option to "remove additional files at destination". Can you please enable that and then try to web deploy.

    I'm wondering if you are not uploading all of the necessary files.

    Make sure you backup your site files before web deploying. You can use an FTP client to backup your site files.

    You can use an FTP client like FileZilla. FileZilla can be downloaded here: https://filezilla-project.org/

    To learn how to connect to your site using FileZilla please read our knowledge base article here: http://support.winhost.com/KB/a660/configuring-filezilla-to-access-your-web-site.aspx
     
  3. thanks for your helpful response. All questions answered
     

Share This Page