Cant able to create database locally in visual studio RRS feed

  • Question

  • I struggling with network related issue while trying to create sqlserver database inside my App_folder in asp.net webapplication and In asp.net core webapplication ,while am creating migrations, at the time updating databse with "Update-Database" command  in package manager console am getting stuck with this error.Tried to fix this issue by doing changes in services and also enabled TCP/IP connection

    Here is the error statement

    " 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"

    Thursday, May 14, 2020 6:14 AM

All replies