The global attribute 'http://www.w3.org/XML/1998/namespace:lang' has already been declared.????
我想這個(gè)問(wèn)題在做webservice時(shí)肯定有朋友遇見(jiàn)過(guò)吧,你們是怎么出來(lái)的,搜了很多外國(guó)的帖子,大概也試了一下,還是不行,在這里求教高手了。
?
因?yàn)樵L問(wèn)沒(méi)有數(shù)據(jù),我登錄webservice服務(wù)器,查看錯(cuò)誤日志,具體如下:
[2013-01-08 15:30:08]??? ErrorPage:======================================
[2013-01-08 15:30:10]??? Error Time: 1/8/2013 3:30:10 PM
[2013-01-08 15:30:10]??? Error Url: http://ades-admin.go.com.hk/WebService/DataSetWebService.asmx
[2013-01-08 15:30:10]??? Error Message: The global attribute 'http://www.w3.org/XML/1998/namespace:lang' has already been declared.
[2013-01-08 15:30:12]?????? at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)?? at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity)?? at System.Xml.Schema.BaseProcessor.AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)?? at System.Xml.Schema.Compiler.Prepare(XmlSchema schema, Boolean cleanup)?? at System.Xml.Schema.XmlSchemaSet.Compile()?? at System.Xml.Serialization.XmlSchemas.Compile(ValidationEventHandler handler, Boolean fullCompile)?? at System.Web.Services.Description.SchemaCompiler.Compile(XmlSchemas schemas)?? at System.Web.Services.Description.WebServicesInteroperability.AnalyzeDescription(ServiceDescriptionCollection descriptions, BasicProfileViolationCollection violations)?? at System.Web.Services.Description.WebServicesInteroperability.CheckConformance(WsiProfiles claims, ServiceDescriptionCollection descriptions, BasicProfileViolationCollection violations)?? at ASP.defaultwsdlhelpgenerator_aspx.Page_Load(Object sender, EventArgs e) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\DefaultWsdlHelpGenerator.aspx:line 1439?? at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)?? at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)?? at System.Web.UI.Control.OnLoad(EventArgs e)?? at System.Web.UI.Control.LoadRecursive()?? at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2 回答

叮當(dāng)貓咪
TA貢獻(xiàn)1776條經(jīng)驗(yàn) 獲得超12個(gè)贊
自己解決了,這個(gè)問(wèn)題實(shí)質(zhì)不是影響數(shù)據(jù)出來(lái)的關(guān)鍵因素, 是因?yàn)槲疫B接了21個(gè)數(shù)據(jù)庫(kù)中一個(gè)連接失敗影響的。
- 2 回答
- 0 關(guān)注
- 444 瀏覽
添加回答
舉報(bào)
0/150
提交
取消