2016-05-26 3 views
0

Я создаю пакет SSIS, который импортирует данные из списка SharePoint. У меня проблема с аутентификацией из-за компонента SPCRED, который я думаю. для записи Я использую сервер разработки в домене whitch отличается от Sharepoint One. Поэтому я указываю этот «доменное имя SharePoint Server» в моем SPCRED Her is my configuration. Потому что я не могу использовать свои Credentials для Windows. Я verrified, что с моими удостоверениями я имею роль администратора в отверстии Sharepoint веб-сайта. при настройке моего источника списка SharePoint У меня есть все столбцы, которые я смог выполнить для сопоставления данных. но при выполнении пакета он впадает в ошибку из-за аутентификацией Здесь ошибка:Аутентификация SSIS с источником данных SharepointList

SSIS package "MyPackage.dtsx" starting. Information: 0x4004300A at Liste FPDA, SSIS.Pipeline: Validation phase is beginning. Error: 0xC0047062 at SharepointListName, SharepointListName [193]: System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Ntlm'. The authentication header received from the server was 'Negotiate,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.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 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.GetListAndView(String listName, String viewName) 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.ValidateSharePointColumns() at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.Validate() at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate(IDTSManagedComponentWrapper100 wrapper) Error: 0xC0047017 at Liste FPDA, SSIS.Pipeline: Liste FPDA failed validation and returned error code 0x80131501. Error: 0xC004700C at Liste FPDA, SSIS.Pipeline: One or more component failed validation. Error: 0xC0024107 at Liste FPDA: There were errors during task validation. SSIS package "MyPackage.dtsx" finished: Failure.

Спасибо

ответ

0

У меня была точно такая же проблема, что помогло мне заходило учетные данные во время выполнения, используя руководство Я нашел here

  • Manually set to use Custom Credentials, then enter details of an account that has permissions to read & write to the target Sharepoint list
  • At run time, the account password set in the connection manager will not be used, it must be set by using package configurations.
  • Go to SSIS menu > Package Configurations
  • Enable package configurations if not done already
  • Click Add to create a new configuration
  • Select required configuration location, probably either XML file or SQL Server if available
  • Click next to select properties
  • In the tree of items to configure, expand Connection Managers > SharePoint Credential > Properties
  • Select UserName and Password properties, click Next
  • Set configuration name & click Finish
  • The Password value will not have been saved to the configuration destination because it is secured. You need to open the configuration location and manually set the Password value.
Смежные вопросы