I can not run queries from my system in IIS, when I run in Visual Studio I get the result quietly.
The error I get when trying to do something is as follows:
System.Data.Entity.Core.ProviderIncompatibleException: An error occurred while getting information provider from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct. --- > System.Data.Entity.Core.ProviderIncompatibleException: The provider did not return the ProviderManifestToken string. --- > System.Data.SqlClient.SqlException: Network or specific error instance when you connect to SQL Server. O server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 50 - An error occurred Local Database Runtime. Can not create an automatic instance. See the Windows Application event log for error details. )
EDIT
This is my connection string:
<add name="db" connectionString="Data Source=(localdb)\V11.0;Initial Catalog=HomeAutomexdb;Integrated Security=True" providerName="System.Data.SqlClient"/>
If you need more information, please just let us know.