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

Created Issue: System.TypeInitializationException [18401]

$
0
0
Hello, I get the following message when trying to run my package in Production.

The component has detected potential metadata corruption during validation.
Error at DFT - Leer parametros de NODOS desde Sharepoint [SPL - Acceder a lista de NODOS en Sharepoint [1]]: System.TypeInitializationException: The type initializer for 'System.ServiceModel.DiagnosticUtility' threw an exception. ---> System.MethodAccessException: System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)
at System.ServiceModel.DiagnosticUtility.InitDiagnosticTraceImpl(TraceSourceKind sourceType, String traceSourceName)
at System.ServiceModel.DiagnosticUtility.InitializeTracing()
at System.ServiceModel.DiagnosticUtility..cctor()
--- End of inner exception stack trace ---
at System.ServiceModel.DiagnosticUtility.get_ShouldUseActivity()
at System.ServiceModel.Channels.CommunicationObject.set_TraceOpenAndClose(Boolean value)
at System.ServiceModel.ChannelFactory`1..ctor(Type channelType)
at System.ServiceModel.ChannelFactory`1..ctor(Binding binding, EndpointAddress remoteAddress)
at System.ServiceModel.ClientBase`1..ctor(Binding binding, EndpointAddress remoteAddress)
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.ValidateSharePointColumns()
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.Validate()
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate(IDTSManagedComponentWrapper90 wrapper)

New Post: SSIS sharepoint list control issue

$
0
0

Hi all,

I downloaded share point adapter from below site for 32 bit (setup_86.MSI)

http://sqlsrvintegrationsrv.codeplex.com/releases/view/17652

 

After that i added share point list source and destination to the tool list but still i can't access existing package. And when create brand new project and try to open SharePoint list source editor it has 4 tabs instead of 3 that is connection manager it looks wired to me since i Google it every where i see only 3 tabs. I did check in GAC i can see below versions

 

SharePointListAdapters  1.2005.0.0

SharePointListAdapters  1.0.0.0

SharePointListConnectionManager  1.2005.0.0

SharePointListConnectionManager  1.0.0.0

SharePointUtility  2.0.0.0

 

 

 So i was trying to delete 1.2005.0.0 and wants to keep only 1.0.0.0 but its not allowing me to uninstall.

I have 32 bit O.S.

So please suggest me appropriate set of file for my machine and what might be the issue i have with existing share point list control.

 

Thanks in advance,

Jyo

New Post: SSIS is not using the provided custom Sharepoint credentials

$
0
0

Hello,

I have multiple packages that need to access a Sharepoint server. So I am using the Sharepoint List Source/Destination plugin I found here.

The way I have it set up, is that there is a job in SQL Server that runs multiple packages every day, however when it tries to run them, it does not work. I am getting authentication and validation errors.

When I run the packages locally, it works fine.

After investigating, I found out that the credentials I provide to connect to Sharepoint are not used. The package uses my windows account even if I specifically set it to use custom credentials. To test this, I simply created a new account on my computer and ran the package with correct custom credentials and found that it didn't work. If I do the same on the account that has access to Sharepoint, it works.

I would like to know if there is a fix or a workaround for this ? 

Thank you,

 

Yan

New Post: SSIS is not using the provided custom Sharepoint credentials

$
0
0

Just to clarify, my packages all use the EncryptSensitive security level.

New Post: Compatibility with SQL2012

$
0
0

I'm just getting started with SSIS and will only go deep enough to refactor an existing schema to another. I'd love to be able to script the migration and hence find references that point here but since other development is 2012-based I'd really like to avoid working with different version of sql if i can avoid it.

Will EzAPI work with SQL2012?

 

thx

New Post: Error Updating NTEXT Column in SharePoint List Using SP List Destination

$
0
0

I am getting an error when I try to update (or insert) data into a SharePoint List Multi-Row field. The field's property is set to NTEXT. I have tried changing the datatype of the data being written to that field from WSTR to NTEXT and everything in between, but it always throws an error. If I omit sending data to those columns, my task runs fine.

[SharePoint List Destination [653]] Error: System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoap.UpdateListItems(UpdateListItemsRequest request) at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.ListsService_ListsSoap_UpdateListItems(UpdateListItemsRequest request) at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.UpdateListItems(String listName, XElement updates) at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.ExecuteSharePointUpdateBatch(String listName, String viewId, XElement batchXml, Int16 batchSize) at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.UpdateListItems(Uri sharepointUri, NetworkCredential credentials, String listName, String viewName, IEnumerable`1 fieldValueList, Int16 batchSize) at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.ProcessInput(Int32 inputID, PipelineBuffer buffer) at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)

 

How do you update SharePoint Lists NTEXT Columns using the SP List Destination?

Thanks, Lee 

New Post: SharePoint List Adapter Source Not Working

$
0
0

I created a list in SP and connected the SP List adapater. It worked just fine. I then had to redo the list, so I made a new list, created a new SP List Adapter and now I can't get the SP List adapter to work. I am getting the following error. I have changed the batch size to 1 and even selected only 1 column, to no avail. I saw another post about SP permissions, so I made sure I explicitly gave myself full control, but that didn't work either.

[SharePoint List Source [1]] Error: Microsoft.Samples.SqlServer.SSIS.SharePointUtility.SharePointUnhandledException: Unspecified SharePoint Error.  
A possible reason might be you are trying to retrieve too many items at a time (Batch size) ---> System.ServiceModel.FaultException: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoap.GetListItems(GetListItemsRequest request)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.ListsService_ListsSoap_GetListItems(GetListItemsRequest request)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.GetListItems(String listName, String viewName, XElement query, XElement viewFields, String rowLimit, XElement queryOptions, String webID)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointListItems(String listName, String viewId, XElement queryXml, XElement viewXml, Int16 pagingSize, XElement queryOptionsXml)
   --- End of inner exception stack trace ---
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointListItems(String listName, String viewId, XElement queryXml, XElement viewXml, Int16 pagingSize, XElement queryOptionsXml)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointListItemData(String listName, String viewId, IEnumerable`1 fieldNames, XElement query, Boolean isRecursive, Int16 pagingSize)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetListItemData(Uri sharepointUri, NetworkCredential credentials, String listName, String viewName, IEnumerable`1 fieldNames, XElement query, Boolean isRecursive, Int16 pagingSize)
   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)


[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "SharePoint List Source" (1) returned error code 0x80131500.  
The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.

I urgently need some assistance, so if anyone has and suggestions I would be most appreciative.

Thanks,

Lee

New Post: Using Sharepoint List Source with Basic Authentication? (pending review)

$
0
0

I've been receiving a similar error after moving my SSIS project from one machine to another.  I now receive the following error:

The component has detected potential metadata corruption during validation.
Error at Data Flow Component [xxxxx]:
System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Ntlm'. The authentication header received from the server was 'NTLM'. --->
System.Net.WebException: The remote server return an error: (401) Unauthorized.
  at ...

The only difference I see between the client scheme and the server's request is a difference in case between 'Ntlm' and 'NTLM'.

I'm using the 17 Oct 2011 version and have not yet looked into the source code.  However, this same package was working with no error on the first machine, but now it is failing when loaded into a different environment.


Created Issue: VSTAScriptingLib missing in 2012 [18451]

$
0
0
I'm trying to build EZApi from the source and getting the following error:

Error 1 Assembly 'Microsoft.SqlServer.TxScript, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' uses 'Microsoft.SqlServer.VSTAScriptingLib, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' which has a higher version than referenced assembly 'Microsoft.SqlServer.VSTAScriptingLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' c:\Program Files\Microsoft SQL Server\110\DTS\PipelineComponents\Microsoft.SqlServer.TxScript.dll EzAPI

Basically, I'm still referencing the 10.0.0.0 version of VSTAScriptingLib even though the project file requests the 11.0.0.0 version (that I can't find!). I've got the 2012 SDK installed. What am I missing?

New Post: Currently this adapter works with English (en-US) SharePoint server culture settings only...

$
0
0

Hi,

I've been using your great SSIS List Source connector in a dev environment for months now using English (en-AU) Sharepoint and have gone to move it to a production environment, only to be knocked back because your site has this text on it...

"Currently this adapter works with English (en-US) SharePoint server culture settings only. "

Can you please verify that the control works against other "English" besides American and would be supported the same way.

Thanks,
Andrew.

 

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

$
0
0
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.

System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme 'Ntlm'. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.

The same package, with the adapters pointing to lists in a SharePoint farm that does not use Claims works perfectly.

Commented Issue: EzAPI broken build - VSTAScriptingLib missing in 2012 [18451]

$
0
0
I'm trying to build EZApi from the source and getting the following error:

Error 1 Assembly 'Microsoft.SqlServer.TxScript, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' uses 'Microsoft.SqlServer.VSTAScriptingLib, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' which has a higher version than referenced assembly 'Microsoft.SqlServer.VSTAScriptingLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' c:\Program Files\Microsoft SQL Server\110\DTS\PipelineComponents\Microsoft.SqlServer.TxScript.dll EzAPI

Basically, I'm still referencing the 10.0.0.0 version of VSTAScriptingLib even though the project file requests the 11.0.0.0 version (that I can't find!). I've got the 2012 SDK installed. What am I missing?
Comments: ** Comment from web user: sabottaca **

You can find 2012 version of Microsoft.SqlServer.VSTAScriptingLib at C:\Windows\Microsoft.NET\assembly\GAC_MSIL .

In SQL Server 2012, the SSIS assemblies were upgraded to .NET 4 which has it's own GAC (under %WINDIR%\Microsoft.NET\assembly). You can find all of the SSIS assemblies under this path (usually in GAC_MSIL).

As with previous releases of SQL Server, you can also find the core extensibility DLLs for SSIS under <sql install dir>\110\SDK\Assemblies.

New Post: DT_NTEXT from Sharepoint List Unable to Convert or Get Data

$
0
0

I have a SP list that contains a column that is setup as a multi check box field.  When I try to run the codeplex sharepoint package, it complains that the column is DT_NTEXT and needs to be DT_TEXT.  I have tried to send this column through the data conversion and derived column transformations and no luck.

Anyone on here had success with converting DT_NTEXT to anything else that would get me my data into my flat file?

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

$
0
0
Unable to connect to sharepoint site (https) using Sharepoint List source in SSIS from codeplex.
I see the following error while the validation fails:
Error "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' "

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

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?

Please see attachment for the error.

Created Issue: The package failed to load due to error 0xC0010014 [18513]

$
0
0
I installed latest adapters for SharePoint. In design time I can connect to the SharePioint; but when I run the package in BIDS I get below error.

===================================

Failed to start project (Microsoft Visual Studio)

===================================

Exception deserializing the package "The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.
". (Microsoft.DataTransformationServices.VsIntegration)

------------------------------
Program Location:

at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.LaunchVsDebugger(IVsDebugger iVsDebugger, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, DataWarehouseProjectManager manager, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, ProjectItem startupProjItem, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.Launch(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)

===================================

The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.


------------------------------
Program Location:

at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)
at Microsoft.DataTransformationServices.Project.DebugEngine.DtsProgramNode.CreateRuntimePackageInternal(String fileName, IDtsHost& host, Process& process, Package& dtsPackage)

===================================

The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.


------------------------------
Program Location:

at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSApplication100.LoadPackage(String FileName, Boolean loadNeutral, IDTSEvents100 pEvents)
at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)


Then I created new package with just SPCRED connection. I tried to execute the package I get the same error.
Am I missing something?

Commented Issue: The package failed to load due to error 0xC0010014 [18513]

$
0
0
I installed latest adapters for SharePoint. In design time I can connect to the SharePioint; but when I run the package in BIDS I get below error.

===================================

Failed to start project (Microsoft Visual Studio)

===================================

Exception deserializing the package "The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.
". (Microsoft.DataTransformationServices.VsIntegration)

------------------------------
Program Location:

at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.LaunchVsDebugger(IVsDebugger iVsDebugger, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, DataWarehouseProjectManager manager, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, ProjectItem startupProjItem, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.Launch(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)

===================================

The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.


------------------------------
Program Location:

at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)
at Microsoft.DataTransformationServices.Project.DebugEngine.DtsProgramNode.CreateRuntimePackageInternal(String fileName, IDtsHost& host, Process& process, Package& dtsPackage)

===================================

The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.


------------------------------
Program Location:

at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSApplication100.LoadPackage(String FileName, Boolean loadNeutral, IDTSEvents100 pEvents)
at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)


When execute the same with DTExec, i get below error:

Description: Error loading value "<DTS:ConnectionManager xmlns:DTS="www.microsoft.com/SqlServer/Dts">
<DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
<DTS:Property DTS:Name="ObjectName">CN_SP_Proj</DTS:Property>
<DTS:Property DTS:Name="DTSID">{83A68795-C827-4A1C-BF25-9C7" from node "DTS:ConnectionManager".
End Error
Could not load package "D:\Users\misc\TestSharePointSSIS\TestSharePointSSIS\Package.dtsx" because of error 0xC0010014.
Description: The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.


As the error is due to SPCRED connection manager, I created new package with just SPCRED connection. I tried to execute the package again, but I still get the same error.

Am I missing something?
Comments: ** Comment from web user: Yuvaraja **

The issue is resolved after I restared the machine. :-)

Created Issue: Race condition in SetupMaxLengthLookup [18522]

$
0
0
G'day,

If you have two (or more) destinations in the one data flow, you can get an exception "An item with the same key has already been added." (see below for stack trace).

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.



System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.DataObject.ColumnData.SetupMaxLengthLookup()
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter._Closure$__1._Closure$__2._Lambda$__4(XElement l, XElement m)
at System.Linq.Enumerable.<JoinIterator>d__61`4.MoveNext()
at System.Linq.Enumerable.<UnionIterator>d__81`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointFields(String listName, String viewId)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetFields(Uri sharepointUri, String listName, String viewName)
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.GetAccessibleSharePointColumns(String sharepointUrl, String listName, String viewName)
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.ValidateSharePointColumns()
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.Validate()
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate(IDTSManagedComponentWrapper100 wrapper)

New Post: SharePoint List Source not returning records

$
0
0

There is no error message. All fields are visible and have been mapped but no records are loaded. Please direct me to possible issues. thanks!

New Post: Can i use this with Sharepoint 2010?

$
0
0

Hi there,
      I have been using this fantastic component for loading many lists in sharepoint 2007.
Justed wanted to know if it works for SP 2010.

Cheers

New Post: Can i use this with Sharepoint 2010?

$
0
0

Hi

there can anyone answer?
Cheers

Viewing all 582 articles
Browse latest View live


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