好,做一些研究後,我在MSSQL服務器創建的數據庫(2014),並可以得到與客戶端,通過使用通過SqlConnection的連接:通過遠程客戶端連接到MSSQL Server和C#
SqlConnection cn = new SqlConnection("user id = myUSER; password=myPASSWORD;server=mySERVER; Trusted_Connection=yes; database=myDatabase; connection timeout=30");
的connecion當我的客戶端是本地的,並且與MSSQL服務器在同一臺機器上運行時存在,但是當我在遠程PC上時,我無法使用sqlconnection連接到MSSQL服務器。 我怎樣才能連接到遠程使用sqlconnection - c#服務器?
https://www.google.com/search?q=sql%20server%20allow%20remote%20connections%202014 –
Beleive我,我試過整個網絡,不幸的是我找不到任何好的解決方案.. –
那麼怎麼樣的錯誤信息或什麼給我們一些跡象表明問題是什麼? –