首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 企业软件 > 行业软件 >

Web Service 开发 - 遭遇到 Microsoft.SharePoint.SoapServer.SoapServerException解决方案

2012-11-15 
Web Service 开发 - 遭遇到 Microsoft.SharePoint.SoapServer.SoapServerException请各位指教:我遇到的问

Web Service 开发 - 遭遇到 Microsoft.SharePoint.SoapServer.SoapServerException
请各位指教:

我遇到的问题是Web Service能够read 但是不能够write,并且抛 Microsoft.SharePoint.SoapServer.SoapServerException.

1) Read 的情况

C# code
WebsService.Webs objWebs = new WebsService.Webs();...xnListTemplates = objWebs.GetListTemplates();

2) Write 的情况
C# code
ListsService.Lists objLists = new ListsService.Lists();...objLists.AddList(txtListName.Text, "", listTemplateType);


非常感谢!

[解决办法]
NetWorkCredential
[解决办法]
可能是你登陆sharepoint的账号权限不够,你换一个权限高的用户试试。
[解决办法]
你使用WebService对象的时候对其Credential属性赋值了吗?

热点排行