私はこのリンクの非saユーザーSQL接続文字列を見ました。
これは、データソース名とユーザーID、およびパスワークとデータベース名を与えています。しかし、私はデータソース名について疑問を持っています:Dynamic GP 2010
。私はこの接続文字列を使用して少し混乱しています:
string connection = "data source=Dynamic GP 2010;initial catalog=TWO;integrated security=False;User ID=client;Password=123";
これはエラーを引き起こしています:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
使用する必要のあるデータソースを教えてください。GP datasource
名前(または)sql datasource
名前です。