Skip to content
Connection refused ...
 
Notifications
Clear all

Connection refused error while setting up in asp.net core MVC project

2 Posts
2 Users
0 Reactions
1,712 Views
Posts: 1
Topic starter
(@nick-proud)
New Member
Joined: 2 years ago

Hi,

 
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. 
 
Any ideas? 
 
Thanks,
Nick 
1 Reply
Posts: 33
Admin
(@admin)
Member
Joined: 3 years ago
Hey Nick
 
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"
 
 
Thanks
dotnet Report Team
Reply
Share:
;