Ensure that the web mapping application and the server hosting it are properly restored. For more information, see your Esri documentation.
If your web mapping application has been moved to a new physical machine, some of your web.config settings may need to be updated to reflect the new settings.