Quantcast
Channel: Microsoft SQL Server Community Samples: Integration Services
Viewing all articles
Browse latest Browse all 582

New Post: Failure when editing the Sharepoint List Source item :System.NullReferenceException: Object reference not set to an instance of an object.

$
0
0

Hello,

i tried for hours to resolve the following problem but now give up. I always get the same error message (see below)

I try to connect our sharepoint 2010 with SQL Server 2008 R2 Std Edt and Visual Studio 2008.
Installation of the package worked fine. I can add the "Sharepoint List Source" to my Data Flow and Create a new SPCred Connection in the Connection Manager,
then i open the Sharepont List Source Item in the Advances Editor and add the SPCred Connection on the first Tab, on the second Tab i enter the SP URL, Listname and Viewname.
Then i click on the third tab and get the error message, same massage appears when i click on refresh button.

I need help!


Error at Data Flow Task [SharePoint List Source [1]]: System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.ResetConnection()
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.InitializeObject(Uri sharepointUri, NetworkCredential credential)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetFields(Uri sharepointUri, NetworkCredential credentials, String listName, String viewName)
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.GetAccessibleSharePointColumns(String sharepointUrl, String listName, String viewName)
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.CreateExternalMetaDataColumns(IDTSOutput100 output, String sharepointUrl, String listName, String viewName, Dictionary`2 existingColumnData)
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.LoadDataSourceInformation(IDTSOutput100 output, Dictionary`2 existingColumnData)
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.ReinitializeMetaData()
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostReinitializeMetaData(IDTSManagedComponentWrapper100 wrapper)


Viewing all articles
Browse latest Browse all 582

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>