.net core web api sql error error while profiling
When i click on start profiling browser open with localhost:5000. When i do the soap request /curl request to thiis endpoint (with localhost:5000) profiling happens. But response came with 500 internal error.
When i checked the application log .Its giving sql error. (Sql server in another system/server. )
System.Data.SqlClient.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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
My question here is i am using trusted connection string. Is it because of any permission isuue.
Which account ants profiler is trying to connect sql server. Please help me on this?