Server Error in '/' Application

Discussion in 'Site Programming, Development and Design' started by AbdelKarim, Mar 17, 2013.

  1. 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
     
  2. Elshadriel

    Elshadriel Winhost Staff

    Last edited by a moderator: Oct 14, 2015
  3. ComputerMan

    ComputerMan Winhost Staff

    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.
     

Share This Page