Web サービスにアクセスしようとしており、リクエスト パラメータを渡すメソッドを呼び出しています。以下を使用して、資格情報をプログラムで設定しています。
service.Credentials =
new NetworkCredential("username", "password", "domain_url");
上記のコードで を渡すdomain_url
と、この Web Exception が発生します。
Unable to automatically step into the server. Connecting to the server machine "ServerUrl" failed. Invalid access to memory location.
合格しない場合domain_url
:
service.Credentials = new NetworkCredential("username", "password");
Web Exception をスローするのではなく、エラー コードのない「Internal Error」のみを示す Soap Exception をスローします。
なぜこうなった?