日本国产亚洲-日本国产一区-日本国产一区二区三区-日本韩国欧美一区-日本韩国欧美在线-日本韩国欧美在线观看

當前位置:雨林木風下載站 > 辦公軟件教程 > 詳細頁面

Sharepoint 如何處理Reference web service in Sharepoint出錯

Sharepoint 如何處理Reference web service in Sharepoint出錯

更新時間:2024-02-08 文章作者:未知 信息來源:網絡 閱讀次數:

SharePoint發行版本有SharePoint2003、SharePoint2007、Sharepoint 2010、SharePoint2013和SharePoint2016。SharePoint提供了功能強大的團隊協作環境,使得組織能夠在整個組織內部實現整合、組織、查找和提供 SharePoint站點。

當我們在VS或網頁中引用Sharepoint 網站的Web service時,可能會遇到如下報錯
The document at the url http://server:port/_vti_bin/UserGroup.asmx was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'XML Schema' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'http://server:port/_vti_bin/UserGroup.asmx' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'DISCO Document' is 'There was an error downloading http://server:port/_vti_bin/UserGroup.asmx?disco'.'.
? - The request failed with HTTP status 404: Not Found.
- Report from 'WSDL Document' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
Metadata contains a reference that cannot be resolved: 'http://server:port/_vti_bin/UserGroup.asmx'.
Metadata contains a reference that cannot be resolved: 'http://server:port/_vti_bin/UserGroup.asmx'.
If the service is defined in the current solution, try building the solution and adding the service reference again.
那么可以從以下幾個方面來試著解決此問題
1.在你的URL后面鍵入 ?wsdl
? 如:(http://server:port/_vti_bin/UserGroup.asmx?wsdl)
2.點擊service description如下圖


?Sharepoint 如何解決Reference web service in Sharepoint出錯_本站


3.url地址應指向為Central Admin site而不是你創建的 site collection。如此也可解決
例如我們有如下web Applications
1. Sharepoint Central Administration v4 port:-110? http://server:110/_vti_bin/UserGroup.asmx
2. sharepoint port:-80?? http://server:80/_vti_bin/UserGroup.asmx
3. sharepoint port:-220?? http://server:220/_vti_bin/UserGroup.asmx
那么就把url指向http://server:110/_vti_bin/UserGroup.asmx,而不是其它兩個你自己創建的site collection

4.找到正確的url地址。
如果你鍵入的url有錯,你也會遇到此問題,
例如:如果 http://moss2010:810/sites/YourSite/_vti_bin/list.asmx 是你的webservice真正所在的的url地址
而你卻引用 http://moss2010:810/YourSite/_vti_bin/lists.asmx (removed the folder sites) ,如此雖然還是可以產生asmx page 但是卻無法產生disco或 wsdl文件。
你會得到 404報錯或類似錯誤 Report from 'DISCO Document' is 'There was an error downloading 'http://server:port/_vti_bin/list.asmx?disco'.'.
? - The request failed with HTTP status 404: Not Found.


Sharepoint 可以幫助企業用戶輕松完成日常工作。

溫馨提示:喜歡本站的話,請收藏一下本站!

本類教程下載

系統下載排行

主站蜘蛛池模板: 久久国产精品2020免费m3u8 | www.在线免费观看 | 国色天香精品亚洲精品 | 国产一级持黄大片99久久 | 久久夜色精品国产飘飘 | 欧美ay| 亚洲国产在 | 国产亚洲一区二区三区在线观看 | 骚虎影院桃红国产在线观看 | 日韩中文字幕在线看 | 四虎网址在线 | 欧美激情αv一区二区三区 欧美激情第1页 | 69视频在线播放 | 久久影院中文字幕 | 久久99精品久久久久久青青日本 | 一区二区三区福利视频 | 婷婷六月久久综合丁香76 | 欧美不卡激情三级在线观看 | 日本jizz强视频69视频 | 一区二区三区在线免费视频 | 中文字幕视频一区二区 | 华人91| 模特视频一二三区 | 日本小视频网站 | 亚洲成a人v欧美综合天 | 免费精品| 色老头一区二区三区在线观看 | 亚洲视频欧洲视频 | 免费午夜影片在线观看影院 | 精品久久一区 | 国产日韩欧美在线 | 国产精品欧美亚洲韩国日本久久 | 亚洲影院在线播放 | 国产精品久久久久久永久牛牛 | 日本高清wwww免费视频 | 久久久久久夜精品精品免费啦 | 99热久久66是国产免费 | 欧美成人综合视频 | 成人爱爱网站在线观看 | 日本高清不卡一区 | 69堂国产成人综合久久精品 |