API

Web.config Issues


Action To Be Taken      

  • Ensure your Web.config has updated to the correct version.
    • This is updated by performing a Reset and Upgrade (NOT just an Upgrade) on the swiftpos Back Office database.  Back Office must be "Run as Admin" to have permission to upgrade the file, and the API files must be in the default Location.
  • Check the current version of the Web.config file by looking for a line like <samfordUpgrade samfordConfigType="1" samfordConfigVersion="11" />
    • To verify it is current for the current swiftpos version, compare it to the bin\Web.WebApi.config file which is shipped with each update.
      • If the versions do not match, then copy and rename the Web.WebApi.config file to replace the old web.config file, and just re-enter the correct Connection string details.

 

End of article.