我已將odbc數據源配置爲系統DSN。 它本身和Visual Studio工作正常。無法連接到SystemDSN ODBC數據源IIS 7
當我嘗試啓動applicattion的IIS 7下連接上我得到一個錯誤:
ERROR [08001] [Microsoft][SQL Server Native Client 10.0]Named Pipes Provider: Could not open a connection to SQL Server [5].
ERROR [HYT00] [Microsoft][SQL Server Native Client 10.0]Login timeout expired
ERROR [08001] [Microsoft][SQL Server Native Client 10.0]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
感謝這個解決方案解決我的問題 – Kaushik 2014-08-08 05:24:29