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

Commented Issue: Adapters fail in Claims environment. [18463]

$
0
0
<p>When trying to connect the adapters to SharePoint lists in a SharePoint farm configured to use Claims authentication, the following error message is return when Visual Studio attempts to validate the SSIS package, and also when attempting to run the package.</p>
<p>&nbsp;</p>
<p>System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme &#39;Ntlm&#39;. ---&gt; System.Net.WebException: The remote server returned an error: (403) Forbidden.</p>
<p>&nbsp;</p>
<p>The same package, with the adapters pointing to lists in a SharePoint farm that does not use Claims works perfectly.</p>

Comments: ** Comment from web user: vtang9 **

Thanks for the information! I'm running claims and I'm having this issue.

Once I make these changes, how do I re-deploy this in Visual Studio? Do I need to run the setup again or can I just copy the binaries out? I tried to copy the SharePointListAdapters.dll under c:\Program Files (x86)\Microsoft SQL Server\100\DTS\PipelineComponents and Visual Studio is not too happy about it.


New Post: SharePoint List Source and RootFolder

$
0
0

I need import data from SQL table to SharePoint list, where are used folders. How to use SharePoint List adapter to insert list items into specific folder (I mean insert all item from 1 batch to 1 folder)?

New Post: SharePoint List Destination: System.InvalidCastException: Unable to cast object of type 'System.Data.SqlClient.SqlConnection

$
0
0

Hi everybody

I updated my existing SharePoint List Source/Destination projects to the newest release. When I want to choose/change the Connection within the SharePoint List Destination I get the following error:

[SharePoint List Destination [55]: System.InvalidCastException: Unable to cast object of type 'System.Data.SqlClient.SqlConnection' to type 'System.Net.NetworkCredential'. Instances of type that represent COM components cannot be cast to types that do not represent COM components; however thay can be cast to interfaces as long as the underlying COM component supports QueryInterface call for the IID of the interface.
at Microsoft.Samples.SqlServer.SSIS.SharePointListadapters.SharePointListDestination.Acquireconnections(Object transaction)

I tried different connection types ADO, OLEDB with Windows Authentication and SQL Login, but nothing helps. I saw that someone other had the same problem. But there is no solution mentioned...

It would be great if some can help me.

Thanks in advance.

Thomas

New Post: SharePoint List Destination: System.InvalidCastException: Unable to cast object of type 'System.Data.SqlClient.SqlConnection

$
0
0

Hi All ,

I am getting the error while creating the new data flow task to the existing one.

[SharePoint List Destination [55]: System.InvalidCastException: Unable to cast object of type 'System_ComObject' to type 'System.Net.NetworkCredential'. Instances of type that represent COM components cannot be cast to types that do not represent COM components; however thay can be cast to interfaces as long as the underlying COM component supports QueryInterface call for the IID of the interface.
at Microsoft.Samples.SqlServer.SSIS.SharePointListadapters.SharePointListDestination.Acquireconnections(Object transaction)

I tried all the posiblity not able to find any answer Please help it is urgent.

New Post: SharePoint List Destination: System.InvalidCastException: Unable to cast object of type 'System.Data.SqlClient.SqlConnection

$
0
0

Hi all,

Still have this problem. Can nobobody help here? Can I not use this functionality anymore?

Any help is appreciated!

Regards,

Thomas

 

 

 

New Post: SharePoint List Destination: System.InvalidCastException: Unable to cast object of type 'System.Data.SqlClient.SqlConnection

$
0
0

To get around this error I created a new connection manager of the SPCRED type and then used that.  Hopefully that does it for you.

New Post: SharePoint List Destination: System.InvalidCastException: Unable to cast object of type 'System.Data.SqlClient.SqlConnection

$
0
0

Hi

Thanks for your feedback. That was the problem, in the meantime I found the problem also. I was not aware about this new functionality (SharePoint Connection Manager) and didn't realise that this connection has nothing to do with a database. Like the name itself says it is a SharePoint Connection...

Regards, Thomas

 

Reviewed: MERGE Destination (Dec 07, 2012)

$
0
0
Rated 2 Stars (out of 5) - Near every edit results in validation errors where the properties can no longer be edited via the normal interface, and the advanced editor does not appear to allow modification of the properties causing the validation issues, so you have to delete the component and start over again.

Reviewed: MERGE Destination (Dec 07, 2012)

$
0
0
Rated 1 Stars (out of 5) - Near every edit results in validation errors where the properties can no longer be edited via the normal interface, and the advanced editor does not appear to allow modification of the properties causing the validation issues, so you have to delete the component and start over again.

Commented Issue: Race condition in SetupMaxLengthLookup [18522]

$
0
0
<p>G&#39;day,</p>
<p>&nbsp;</p>
<p>If you have two (or more) destinations in the one data flow, you can get an exception &quot;An item with the same key has already been added.&quot; (see below for stack trace).</p>
<p>&nbsp;</p>
<p>I believe that the code within SetupMaxLengthLookup (SharePointUtility\DataObject\ColumnData.vb) needs to have a threading lock added to the creation and population of the Private Shared _columnLengthLookup field.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>System.ArgumentException: An item with the same key has already been added.</p>
<p> at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)</p>
<p> at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)</p>
<p> at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)</p>
<p> at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.DataObject.ColumnData.SetupMaxLengthLookup()</p>
<p> at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter._Closure$__1._Closure$__2._Lambda$__4(XElement l, XElement m)</p>
<p> at System.Linq.Enumerable.&lt;JoinIterator&gt;d__61`4.MoveNext()</p>
<p> at System.Linq.Enumerable.&lt;UnionIterator&gt;d__81`1.MoveNext()</p>
<p> at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)</p>
<p> at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)</p>
<p> at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointFields(String listName, String viewId)</p>
<p> at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetFields(Uri sharepointUri, String listName, String viewName)</p>
<p> at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.GetAccessibleSharePointColumns(String sharepointUrl, String listName, String viewName)</p>
<p> at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.ValidateSharePointColumns()</p>
<p> at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.Validate()</p>
<p> at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate(IDTSManagedComponentWrapper100 wrapper)</p>

Comments: ** Comment from web user: kmartin **

Attached is a diff file to address this issue.
It locks IF the ColumnData._columnLengthLookup is Nothing, and checks that it is still nothing, and then creates and populates it.
This should prevent the race condition.

New Post: SharePoint List Source not returning records

$
0
0

Were you able to resolve this, I am facing the same issue. No error but no records are loaded from list. The wierd thing is it loads when I run locally but when scheduled on the server as a sql job, it loads no records. Would appreciate help to resolve this.

Commented Issue: Adapters fail in Claims environment. [18463]

$
0
0
<p>When trying to connect the adapters to SharePoint lists in a SharePoint farm configured to use Claims authentication, the following error message is return when Visual Studio attempts to validate the SSIS package, and also when attempting to run the package.</p>
<p>&nbsp;</p>
<p>System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme &#39;Ntlm&#39;. ---&gt; System.Net.WebException: The remote server returned an error: (403) Forbidden.</p>
<p>&nbsp;</p>
<p>The same package, with the adapters pointing to lists in a SharePoint farm that does not use Claims works perfectly.</p>

Comments: ** Comment from web user: Zarepheth **

@vtang9 - we never resolved this is my environment. Instead we found alternatives where we did not need to connect SSIS with a Claims-only SharePoint environment. In our case, we have multiple SharePoint environments, the customer's source data was located in one using standard Windows authentication rather than Claims. Se we run the package there and then send the data to the claims environment. (Originally we were planning to migrate the customer's data and sites from the non-claims environment totally into the claims environment - but no longer)

New Post: 403 Forbidden error while accessing SharePoint FORM BASED AUTHENTICATION site

$
0
0

Did you ever figure this one out?  I'm having the same issue.

New Post: I need assistance in defining SiteListName in the Advanced Editor for SharePoint List Source

$
0
0

I am using SQL Server 2008 R2 with SharePoint 2010 and have just installed the SharePoint adapter along with reading through the Word document.

My SharePoint URL where the files of interest are located is: http://community.myteam.com/i/ABCD/projects/ZZ/Shared Documents/Planning and Tracking

Given this, I provided the following for SiteUrl: http://community.myteam.com

But I do not know what to provide for SiteListName.  On the left side of the SharePoint site is shows a heading of "Libraries" with "Site Pages" and "Shared Documents" listed underneath.  After that it shows, a heading of "Lists" with "Calendar", "Tasks" and "Test Budgets."  But I do not see anything that clearly spells out the Site List Name associated with the first URL above.  Can somebody assist with this?

Thanks,

Grant

 

New Post: I need assistance in defining SiteListName in the Advanced Editor for SharePoint List Source


New Post: Unable to access SharePoint documents in subfolders

$
0
0

Using the SharePoint List Source task I am able to apply a SiteListname, SiteListViewName and SiteUrl in the Component Properties.  Here I also have the IncludeFolders set to True that I am able to see the subfolders using the Data Viewer.  The problem is that I am unable to view the documents within one or more of the subfolders.  I've tried using a subfolder name as part of the SiteListViewName with no luck.  It returns an error.

How do I access the documents within one or all of the subfolders?

New Post: Unable to access SharePoint documents in subfolders

$
0
0

Set IsRecursive = True under Custom Properties of the Component Properties tab.  It brings back everything under all subfolders, but I can narrow that down using a CamlQuery.

Closed Issue: Bind multiple Sharepoint Lists [18930]

$
0
0
Hi, I'd like to load many List on the same time. The idea is to bind the SiteListName to a separated List or to a Variable and run the request in a foreach loop. But both is not possible. Is there an possiblity to do this?

Thanks.
Comments: This is base functionality already provided. The various list names and such are variables which can be looped in a foreach as needed. See the MSDN Documentation for how to use this.

Commented Issue: Unable to connect to Sharepoint site using https [18479]

$
0
0
<p>Unable to connect to sharepoint site (https) using Sharepoint List source in SSIS from codeplex.</p>
<p>I see the following error while the validation fails:</p>
<p> Error &quot;Error at Data Flow Task [Sharepoint List Source for RFCLists [650]]: System.ServiceModel.Security.MessageSecurityException: the HTTP request was forbidden with client authentication scheme 'Ntlm' &quot;</p>
<p>&#160;</p>
<p>However when i use the same sharepoint site with the HTTP instead of HttpS, it succeeds without any problem and I am able to see the data as well</p>
<p>&#160;</p>
<p>Is there any known documented issue while using the Sharepoint List source with htpps? If not, can you please let me what might be going wrong here?</p>
<p>&#160;</p>
<p>Please see attachment for the error.</p>
Comments: ** Comment from web user: kevinidzi **

I use this with HTTP without issue, I have another diff from a user for a change to how the site is authenticated, however, which may address this.

Commented Issue: Issue with SharepointListDestination [18830]

$
0
0
Hi - The sharepointListDestination component is awesome, with the tables and fields other than Guid fields properly, I have a list which pulls data from the Sharepoint loop up tables , where in it holds some LT_UID and LT_STRUCT_UI fields . These type of fields are not getting populated in the List. Since these are of guid type. Because of this . I am not able to use the sharepointlistdestination component. Could someone help to resolve this issue,Showing Guid field in the sharepoint list
Comments: ** Comment from web user: kevinidzi **

For lookups - there is a property on the source control to decode lookups, which will make an id/value column for any lookup columns - which you can then massage back into the destination to repopulate the lookups as needed. Does that work differently with the guids you're describing? Did you know that property was there? Try it out and see if you have some luck with that.

Otherwise, I need some help with how you created your test list and the actual scenario you are using (in a bit more detail) to repro.

Viewing all 582 articles
Browse latest View live


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