Timeout while trying to reach remote SQL Server

0 Answers 104 Views
Report Viewer - ASP.NET
Alexandre
Top achievements
Rank 2
Iron
Iron
Iron
Alexandre asked on 25 May 2022, 09:42 PM

Hello,

I have a report bound to a remote SQL Server, and when I try to run it from my developer machine I always get the same error:

I have tried to increase the timeout limit in the database connection but it made no difference.

Also, I am not being able to change connection strings from developer to production at runtime, wich could avoid this situation.

How should I proceed?

Alexandre

 

Alexandre
Top achievements
Rank 2
Iron
Iron
Iron
commented on 26 May 2022, 03:53 PM

I found the solution by putting DefaultConnection on the DataSource connection string.

No answers yet. Maybe you can help?

Tags
Report Viewer - ASP.NET
Asked by
Alexandre
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or