Local connection Sql Server Express 2017 - Asp.Net MVC

Asked

Viewed 258 times

1

I’m trying to connect in Sql Server Express 2017 via Visual Studio (local connection), but keeps returning me this error always when you try to open:

A connection to the server was successfully established, but a error during logon process. (Preview: Shared Memory Provider, error: 0 - No process at the other end of the pipe.

Connection String:

  <connectionStrings>
    <add name="ConnectionString" connectionString="Data Source=DESKTOP-5UDKJ7M\SQLEXPRESS; Initial Catalog=Dev;Persist Security Info=True;" providerName="System.Data.SqlClient"/>
  </connectionStrings>

I realized there are 2 Web.Config, at the root of the application(2) and at the root of the folders(1), in this case which one must have the connection string ?

inserir a descrição da imagem aqui

  • In the root, do not mess with the web.config views :P

  • Ps.: the error does not seem to be in web.config but in the database configuration

  • https://stackoverflow.com/questions/8075784/error-message-provider-shared-memory-provider-error-0-no-process-is-on-th#8076038

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.