Good evening,
I am trying to register in my application, however it is returning the following error:
Network-specific or instance-specific error when connecting 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: SQL Network Interfaces, error: 50 - A Local Database Runtime error has occurred.It can not create an automatic instance.Please refer to the Windows Application event log for error details.
in the code snippet:
var result = await UserManager.CreateAsync(user, model.Password);
My connection string:
connectionString="Data Source=.\sqlexpress;Initial Catalog=Inventario;Persist Security Info=True;User ID=sa;Password=minhasenha
I can connect normally to my bank, by the connection test by the application tb passes the test, does anyone know what it can be?
Thank you in advance.