Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hey all ...

i have a little problem ... im connecting to a remote computers over the internet sql, we use windows server 2008 r2, any way i know how to connect to the server using the normal sqlconnection cn ... but for some reason my connection to the sql is slow and it gets slower every time ... so what is the correct way to connect to a hosted sql and call data and also my remote connection to the server is also getting slower with every connect ... what can i do, google has failed me

thanks in advance.
Posted
Comments
[no name] 25-Sep-14 9:51am    
Get a better server, get a better network. Could be lots of things slowing your connection that do not have anything to do with your code.
ZurdoDev 25-Sep-14 11:33am    
It could be anything. You'll have to troubleshoot your connection and your db.

Or check DB load by Activity Monitor[^]
 
Share this answer
 
i kinda got it ... i was connecting directly to the sql and if it was just me sure that would be exceptionable but not correct ... so now im using wcf service and i hope it will work better ...
 
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