Hi all, I'm new to MVC3 Development. I have deployed my new application recently. The Business side database is accessed correctly. However, the membership is not. when I tried to log on to forms authenticated to admin it give me the following: The system cannot find the file specified. [Win32Exception (0x80004005): The system cannot find the file specified] [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)] System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5296071
You may want to review this Knowledge Base article which shows you how to setup ASP.NET Membership: http://support.Winhost.com/KB/a619/how-to-configure-the-aspnet-membershiproles-provider.aspx Your connection string might be referring to your local database.
The error you received means there is something wrong with your connection string. For example you're using the incorrect settings or password for the SQL database.