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

Commented Issue: Buffer error appearing in SharePoint List Source for one SiteURL [19409]

$
0
0
I am applying the SharePoint List Source adapter in an SSIS package running under SQL Server 2008 R2. In this package the SharePoint List Source is located in a loop in which I am passing to it a Site List Name, Site List View Name, and a Site URL for nearly 30 different SharePoint sites. These are provided from a table, which are pulled from a SQL Task and provided to an expression applied by the SharePoint List Source. This works great for all but one of the sites, where the following error is returned.


[SharePoint List Source [1]] Error: Microsoft.SqlServer.Dts.Pipeline.DoesNotFitBufferException: The value is too large to fit in the column data area of the buffer.
at Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetString(Int32 columnIndex, String value)
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.PrimeOutput(Int32 outputs, Int32[] outputIDs, PipelineBuffer[] buffers)
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPrimeOutput(IDTSManagedComponentWrapper100 wrapper, Int32 outputs, Int32[] outputIDs, IDTSBuffer100[] buffers, IntPtr ppBufferWirePacket)


The number of sites being read from the table does not make any difference, the error appears for the same site even when it is the only one being read by the SSIS package.

I noticed in the Data Flow that is stops at 150 records with the problem site. Other sites are pulling more records, so I don't know if this is an issue. Also, I ran a test in which I hardcoded in the SiteListName, SiteListViewName and SiteURL for the problem site under the Component Properties tab. It connected with no problem and displayed the SharePoint fields under Column Mappings. I tried the most recent beta version of this adapter with the same error result listed above. I also tried filtering down the result set using a CamlQuery, which made the process run faster, but the same error still takes place.

Any ideas how to work around this buffer issue?

Thanks
Comments: ** Comment from web user: RajVee **

Hi,
Please help me on how to pass the multiple URL's to the Sharepoint list source. I have refered the following link but the steps are not given clearly.

1) I have all the subsite url's in SQL table.
2) i am retrieving it using Execute SQL task and storing the URL in variable.
3) But assigning that variable as expression to Sharepoint List Source.SiteURL not working.
4) I have tested by entering the Site URL in variable value, then it is working fine.
5) but passing dynamic URL to the Sharrepoint list source is not working.
6) FYI... The site list name and metadata is same for all URL.

Please help.....


Viewing all articles
Browse latest Browse all 582

Latest Images

Trending Articles



Latest Images

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