This error may happen when using MS Access or MS SQL CE database files and running application using IIS. To resolve this copy database file inside the application folder .