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

New Post: Using the SSISMSBUILD extention

$
0
0
I'm trying to setup a build server on my local machine using the TFS Build in visual studio 2010. The build will be using a XAML file (company standard).

I'm at point where I can build a normal c# project and have my build controller, agent and definition setup correctly.

When I try to build a SSIS solution, I get the following error.
C:\Builds\10\Something.dtproj.metaproj: The project file "Something.dtproj" is not supported by MSBuild and cannot be built.

It seems that the SSISMSBUILD project in the code can resolve my issue. I'm not sure how to include it in MSBUILD and SSIS solution.


I can build the dlls with the Microsoft.SqlServer.IntegrationServices.Build.csproj file. How do I include it in MSBUILD and/or SSIS solution?

Any suggestions or advice would be appreciated.

Commented Issue: Getting Error while trying to configuere the site URL: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. [19265]

$
0
0
I'm using a SharePoint List Destination in SQL Server Integration Services. When I try to configure the site URL, via the advanced editor, I get the message see below.
I can access the Sharepoint via Browser or with the HTTP Connection Manager for HTTP Connections without any problems. Visual Studio is running as an Administrator. All Our Servers are running with NTLM authentification, i don'T know why the package is trying to establish a 'Negotiate' Connection. I'm looked in to the server with my AD-Account.

Any Ideas so solve this Issue?

Error at Data Flow Task [SharePoint List Source [1]]: System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'NTLM'. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
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.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory factory)
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.GetListAndView(GetListAndViewRequest request)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.ListsService_ListsSoap_GetListAndView(GetListAndViewRequest request)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.GetListAndView(String listName, String viewName)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointList(String listName, String viewId)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointFields(String listName, String viewId)
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)
Comments: ** Comment from web user: paddyprash **

I am getting this error even when we start building the data flow. Any solutions found?

New Post: List Rows are filtered

$
0
0
I have list with 75 items. My data flow source has no filter on it, yet 14 items are omitted. The 14 missing rows originally all correlated to two particular values in a lookup column. Wondering if the issue was related to those values, though, I created additional values and new rows that are tied to the new values, and the rows are still missing in the output.

It's a calendar, and each entry has a start/end date, a person, and a team. The original set of missing rows are associated with two particular teams. I created new teams in the team lookup list, and created new rows in the calendar for the same people with the same start/end dates but associated with the new teams. Those new rows are also omitted by the SSIS data source. I created a new row for a different person associated with one of the new team rows. That row comes through fine. So the problem isn't the team value, and the probably isn't the person, because those people have other rows for other teams that are not omitted in the output.

Clear as mud? It doesn't make any sense to me either, but I could sure use a straw to grasp.

New Post: The HTTP request is unauthorized with client authentication scheme 'Ntlm'

$
0
0
I'm getting the same kind of errors on a system where I don't have admin access for troubleshooting or even to view logs. I need to tell my SharePoint admins what needs to be changed but don't have a way to verify which permisions or which systems, IE or SP, need the fix.

New Post: SharePoint List Adapter on SP 2013 and SQL 2012 Execution Failure

$
0
0
When executing the SSIS package from SQL 2012 Management Studio I get the following error: "...sharepoint credential is not recognized as a valid connection manager type..."

We have packages running successfully on SQL 2008R2 using Custom Credentials (domain) and setting ProtectionLevel to EncryptAllWithPassword

SQL 2012 Setup:
  • SharePointListAdaptersSetup-Beta-2012-01-28.msi installed on the SQL 2012 server
  • VS 2012 with SQL Data Tools also installed on SQL server (for issue resolution)
  • Package built with VS 2012 with SharePoint List Source adapter (simple SP 2013 list)
  • Package executes inside VS 2012 (on the SQL Server) w/o issues
  • Deploy using VS to SSIS Catalog
  • Errors during manual execution of the Package.dtsx
  • Verified SharePointListAdapters.dll in C:\Program Files (x86)\Microsoft SQL Server\110\DTS\PipelineComponents
  • Verified SharePointUtility in GAC
On SharePoint 2013:
  • Everyone has Full Access rights
  • The service account we use for Agent job proxy has Full Access rights
Also tried:
  • Using Credentials of Existing Process and a scheduled Job with Proxy
  • Using Custom Credentials (domain) and setting ProtectionLevel to EncryptAllWithPassword
Any help will be greatly appreciated!

New Post: SharePoint List Adapter with SQL Proxy

$
0
0
I believe my situation is unique and I'm not quite sure how to approach at this time.

My SharePoint sites are housed by a separate server than the SQL server. They are also on two different domains and they aren't linked in any way at all. When I log into my computer, I log into it using the same credentials that are used for the SharePoint sites, but when I log into SQL I have a SQL user ID and password that I use and I access the SQL server from an IP Address internally.

If I run my package on my local computer it runs beautifully, however, I want to set up the package to run as a Job Server SSIS Package. The Job Server requires my SQL Log in information and is not linked in any way to the SharePoint list.

I've tried setting up a proxy SSIS Package Execution, but I'm not able to use Credentials for the SharePoint site as Credentials. It's stating an error of "Directory\User.Name" is not a valid Windows user, but it wouldn't be a Windows user.

Any direction would be appreciated...this noob is getting frustrated.

New Post: SharePoint List Adapter with SQL Proxy

$
0
0
The error I'm getting is:

[SharePoint List Source [133]] Error: System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Ntlm'. The authentication header received from the server was 'NTLM'.


[SSIS.Pipeline] Error: SharePoint List Source failed validation and returned error cod 0x80131501

New Post: Using the SSISMSBUILD extention

$
0
0
I've found my own solution and decided to share.

http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/37398f4f-530e-4561-8d1b-79cd303fdbd2/

DS19 provides a solution that works well for me

~~~~~~~
So I renounced to build it with devenv.exe command and now I'm investigating the MSBuild path: the tasks are from http://sqlsrvintegrationsrv.codeplex.com/ (main/SSISMSBuild), the build script is from http://pastebin.com/kbj8tRUz and the build command looks like below:


MSBuild SSISMSBuildDemo.msbuild /t:SSISBuild,SSISDeploy /p:SSISProj="fooProj",Configuration="Development",ProtectionLevel="EncryptSensitiveWithPassword", ProjectPassword="fooPass",SSISServer="fooServer",ProjectName="fooProjFolder"
~~~~
~~~

Reviewed: SharePoint List Source and Destination (May 15, 2013)

$
0
0
Rated 1 Stars (out of 5) - Why has this not been updated to work with SQL Server Data Tools and SQL Server 2012? All of the fixes I have been able to find involve tabs that don't exist in the Tool any more. This is totally inadequate. I told my people that there was a Sharepoint solution and now I have to walk that back because it doesn't even install correctly.

Closed Issue: Potential metadata corruption [19239]

$
0
0
__SharePointListAdaptersSetup - 2013-01 Beta__

gives the following error on SSDT2012 against SP2013:

Title: Editing Component

The component has detected potential metadata corruption during validation.
Error at Data Flow Task 1 [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.ValidateSharePointColumns()
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.Validate()
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate(IDTSManagedComponentWrapper100 wrapper)

Created Unassigned: Error: Invalid Hyperlink value in the data being updated. [19735]

$
0
0
I am using SSDT and running a package locally connecting to my DEV DB server.
I am trying to update SharePoint List Destination and insert into the same list from OLEBD Source which is running a SQL command selecting all the columns.
For both insert and update I am getting error "Error: Error on row ID="1": 0x81020020 - Invalid Hyperlink value in the data being updated."

Detailed error for Insert:
Error: Error on row ID="1": 0x81020020 - Invalid Hyperlink value in the data being updated.
Error: Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.PipelineProcessException: Errors detected in this component - see SSIS Errors
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)
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component XXXXX failed with error code 0x80131500 while processing input "Component Input" (276). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.

Detailed error for Update:
Error: Error on row ID="1": 0x81020020 - Invalid Hyperlink value in the data being updated. (SP ID=7868)
Error: Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.PipelineProcessException: Errors detected in this component - see SSIS Errors
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)
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component XXXX failed with error code 0x80131500 while processing input "Component Input" (676). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.

I have tried to process a single row by changing the SQL command in the Source but it is throwing the same error.
I have analyzed the data and made sure that 1 row does not contain any invalid hyperlink in it.

Please help.

Thanks
Soumyadeb

New Post: Error: Invalid Hyperlink value in the data being updated.

$
0
0
I am using SSDT and running a package locally connecting to my DEV DB server.
I am trying to update SharePoint List Destination and insert into the same list from OLEBD Source which is running a SQL command selecting all the columns.
For both insert and update I am getting error "Error: Error on row ID="1": 0x81020020 - Invalid Hyperlink value in the data being updated."

Detailed error for Insert:
Error: Error on row ID="1": 0x81020020 - Invalid Hyperlink value in the data being updated.
Error: Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.PipelineProcessException: Errors detected in this component - see SSIS Errors
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)
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component XXXXX failed with error code 0x80131500 while processing input "Component Input" (276). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.

Detailed error for Update:
Error: Error on row ID="1": 0x81020020 - Invalid Hyperlink value in the data being updated. (SP ID=7868)
Error: Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.PipelineProcessException: Errors detected in this component - see SSIS Errors
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)
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component XXXX failed with error code 0x80131500 while processing input "Component Input" (676). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.

I have tried to process a single row by changing the SQL command in the Source but it is throwing the same error.
I have analyzed the data and made sure that 1 row does not contain any invalid hyperlink in it.

Please help.

Thanks
Soumyadeb

New Post: Binary code in the script is not found

$
0
0
Hi all,

I am trying to use the new EzScript component. My C# code looks like this:
        EzScript BuildNaturalKey = new EzScript(DataFlowTask1);
        BuildNaturalKey.ScriptLanguage = "CSharp";
        BuildNaturalKey.ReadOnlyVars = "User::NaturalKey";
        BuildNaturalKey.AttachTo(LoggingInfo);
        Console.Write("Script Input - " + BuildNaturalKey.InputCount.ToString());
        BuildNaturalKey.LinkAllInputsToOutputs();
        BuildNaturalKey.InitNewScript();
        BuildNaturalKey.PutSourceFile("main.cs", codeString);
       BuildNaturalKey.InsertOutputColumn("NaturalKey");
        BuildNaturalKey.SetOutputColumnDataTypeProperties("NaturalKey", DataType.DT_WSTR , 700, 0, 0, 0);
        BuildNaturalKey.Build();
Everything works fine, code runs, package is generated, but when I open it in BIDS I get the error "Binary code for the scriptis not found." When I open the script editor, the code I placed in main.cs is there, and when I simply close the window and hit okay, the script compiles.

The key difference, of course, is now the BinaryCode element of the script task's XML in the package has the binary code in it, when the original generated package is blank.

I thought the Build() command generated the BinaryCode? I see the thing in there with the BinaryCodeIndexer, but I have no how idea how to use this, and well, you guys aren't the best about documentation : )

Source code checked in, #100610

$
0
0
Fix for EzConditionalSplit when there are multiple output paths. Potential API break if code is expecting uint.

New Comment on "SharePoint List Adapters"

$
0
0
Even after install you do not see the "Sharepoint Connection manager' after installing your package on your deployment server then check that this file exists C:\Program Files\Microsoft SQL Server\100\DTS\PipelineComponents\SharePointListAdapters.dll For me it failed to install so I created an Administrator command prompt and re-ran the installation and this time it worked. Thanks 'DavidBridge ' for the comment. Hi Team Please add this in the FAQ.

New Post: Could not connect to HTTPS SharePoint site

$
0
0
Hello,

I am trying to connect to my secure HTTPS site url using SharePoint List Adaptor. I get following error when I am trying to connect. I can connect to another non https site without any issues. Does any one know if this connector can work with HTTPS site url ? any workaround for this issue ? Any help will be greatly appreciated. Thank you so much for your time.

-Bhavesh


Error at Data Flow Task [SharePoint List Source [1]]: System.ServiceModel.Security.SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel with authority 'sitename'. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.TlsStream.CallProcessAuthentication(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
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.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
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.GetListAndView(GetListAndViewRequest request)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.ListsService_ListsSoap_GetListAndView(GetListAndViewRequest request)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.GetListAndView(String listName, String viewName)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointList(String listName, String viewId)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointFields(String listName, String viewId)
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, Dictionary2 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)

New Post: returning more than one field in a list..?

$
0
0
I have some code to return data from a list:
        var listPath = new Uri(string.Format("{0}/forms/", SitePath));
        var fieldNames = new List<string> {"Id","UserName", "FullName"};
        var query = XElement.Parse(@"<Query/>");
        var listData = ListServiceUtility.GetListItemData(listPath, listName, string.Empty, fieldNames, query, false, 50);
However when parsing through the variable listData i only see data for FullName. Is this a bug? Granted I based this on the VB example code in the documentation by Kevin Idzi.... Just wondering if there is a way to bring back all the indicated columns in the list (fieldNames)?

thanks

Created Unassigned: Problem with SharePoint List Destination Adaptor when deploying to SSIS Catalog [19801]

$
0
0
I created a SSIS project to extract data from a SharePoint list (2010) and store it to a SQL Server 2012 Data Warehouse. I am using the SharePoint List Destination adaptor (for 2012) with success when running from Visual Studio. Unfortunately, I am unable to deploy the project to SSIS Catalog. I get an obscure error. To diagnose the problem, I removed some parts of the code and basically the deployment of the project fails as soon as the SharePoint connection is added to the project.
Is it possible to deploy the SharePoint List and Destination adaptor to SSIS Catalog?
Thank you for your help.
Environment:
• SharePoint 2010
• VS 2012
• SQL Server 2012

New Post: SQL Agent SPCRED Issue

$
0
0
I'm having this issue with 2008 R2. I tried removing the connection manager, but that throws another error. "The exception was: Could not load file or assembly 'SharePointListAdapters, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4b3011e1ece9d47' or one of its dependencies. The system cannot find the file specified."

I tried reinstalling the adapters, restarted all the services, etc.. Any ideas?

Reviewed: SharePoint List Source and Destination (Jun 12, 2013)

$
0
0
Rated 4 Stars (out of 5) - Thanks! I have even refered to this page in my blog: http://afsawaf.blogspot.com/2013/06/options-for-accessing-sharepoint-lists.html
Viewing all 582 articles
Browse latest View live


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