を呼び出す:SharePointのSoapServerExceptionが、私は私のコードで次のステートメントを持つGetListItems Webサービス
System.Xml.XmlNode items = lstWebs.GetListItems(
"Tasks", string.Empty, listQuery, listViewFields,
string.Empty, listQueryOptions, WorkspaceId);
これを実行すると、次の例外が発生します。
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown. Exception Source is: System.Web.Services Stack Trace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at ImpersonationConsoleApp.MossLists.Lists.GetListItems(String listName, String viewName, XmlNode query, XmlNode viewFields, String rowLimit, XmlNode queryOptions, String webID) in C:\Documents and Settings\david\My Documents\_Dew02SiteCreator\DeWProjectStarter\ImpersonationConsoleApp\Web References\MossLists\Reference.cs:line 435 at ImpersonationConsoleApp.Program.DeleteTasksIfNotExist(DataRow[] drTasksdel, String siteURL) in C:\Documents and Settings\david\My Documents\_Dew02SiteCreator\DeWProjectStarter\ImpersonationConsoleApp\Program.cs:line 1384
私はサイトのURLを確認しているし、それがあります良い。
例外が発生している理由を教えてください。 IISをリセットする必要はありますか?
詳細をご覧ください。
SoapException.InnerException is Null.
However the soapExcetion.Detail.InnerText is showing: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
SoapExceptionのInnerExceptionとSoapException.Detailプロパティをチェックアウトして、ここに投稿できますか? – Colin
"listQuery"の値として、パラメータに関する情報を追加できますか?どのようなタイプのアプリケーションを実装していますか? – jaloplo