title: The network path was not found Error / MVC-Entity Framwork
body: <blockquote>
    <p>Server Error in '/' Application.</p>
    
    <p>The network path was not found</p>
    
    <p>Description: An unhandled exception occurred during the execution of
    the current web request. Please review the stack trace for more
    information about the error and where it originated in the code. </p>
    
    <p>Exception Details: System.ComponentModel.Win32Exception: The network
    path was not found</p>
    
    <p>Source Error: </p>
    
    <p>An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of
    the exception can be identified using the exception stack trace below.</p>
    
    <p>Stack Trace: </p>
    
    <p>[Win32Exception (0x80004005): The network path was not found]</p>
    
    <p>[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)]<br>
    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
    exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    +6573870    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
    stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +717</p>
  </blockquote>
  
  <hr>
  
  <p>Hello,</p>
  
  <p>I have database connection error above as you can see. But my connectionstring is fine, because i used same connectionstring on different site published another port on IIS. Furthermore, i can read data from sql but can't insert anything. I searched lots of time on google but i didnt work. I think i am missing something.</p>
  
  <p>Thanks.</p>