Connection refused error while setting up in asp.net core MVC project
Last Post by Dotnet Report 9 months ago
Sep 01, 2022 9:23 pm
When scoping the video I had some issues setting up in an asp.net core MVC project.
I followed the docs, setting up a connection and adding my local db connection string on the site. Then I added the keys to my appsettings.json file.
I also ensured that I used the dotnetreport.core nudget package.
I tried navigating to the URLs shown in the reader, and I'm getting a connection refused error.
Sep 01, 2022 9:25 pm
Can you please send me the error description? It seems like a connection string issue.
The connection is using OleDbConnection, not SqlConnection, so it needs to be in the right format.
Please make sure you have it in this format:
"Default": "Server=DESKTOP-18776C6\\SQLEXPRESS; Database=TestAppDb; Integrated Security=SSPI"
dotnet Report Team