I am trying to deploy my application that uses Entity Framework. When publishing, I use Publish Method set to Web Deploy
to localhost (since I deploy it from the server). Then my Visual Studio asks me about Databases, so I point out the databases that the project uses (it is MSSQL Local DB and the other one is SQL Server DB). Whole publish works and and the connections are fine (as Visual Studio validates it). However, after publishing, the web application says:
Error.
An error occured while processing your request.
The application is already on server, seems fine, but whenever I try to access the database, this error shows up. What should I change?