Click here to Skip to main content
15,792,386 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Network are blocking remote connection(definitely failed ping to the server), but i have to access to the server, any connection string attribute can bypass the blocking ?? Any way can solve my issue ???

What I have tried:

I have try few attribute like: IntegratedSecurity = true, MultipleActiveResultSets=true; TrustedSecurity=true, and et cetera but still not able to connect to the server
Updated 27-Oct-22 19:46pm

1 solution

No. SQL Server can be configured to refuse remote connections - ones from outside it's local LAN group - for security reasons, and if that is set you cannot bypass it with a connection string change.

You would have to talk to the DB Admin, but the chances are that it will not be changed as this is a global setting, and can;t be applied only to specific databases with Sql Server.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900