data at the root level is invalid. line 1 for SSIS

◇◆丶佛笑我妖孽 提交于 2020-01-03 19:22:14

问题


I need to use VS2015 with SQL Server 2012 in my SSIS project.

When I changed Deployment Target Server Version from SQL Server 2016 to SQL Server 2012 I get following error.

OData V4.

Stack Trace:

Data at the root level is invalid. Line 1, position 1. (System.Xml)


Program Location:

at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at Microsoft.SqlServer.IntegrationServices.OData.UI.ODataConnectionManagerForm.TestConnectionMiddle(Object callback)


回答1:


The endpoint https‍://localhost:44354/odata is not returning any XML.

You need to correct issues with that endpoint or switch to a different one.



来源:https://stackoverflow.com/questions/43227597/data-at-the-root-level-is-invalid-line-1-for-ssis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!