Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Error while creating SSIS connection

$
0
0

 

I am connecting ADAM[Active directory in application mode] using SSIS using OLEDB connection manager. I have

created SQL/LDAP query

 

"SELECT     cn, displayName, description
FROM         'LDAP://localhost:389/O=myContainer'
WHERE     displayName = 'xxx'

 

This query displays proper data in query builder when I run the query.But when I say OK on OLEDB source manager it gives following error

 

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

Error at Data Flow Task [OLE DB Source [1]]: An OLE DB error has occurred. Error code: 0x80040E21.

 (Microsoft Visual Studio)

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

Exception from HRESULT: 0xC0202009 (Microsoft.SqlServer.DTSPipelineWrap)

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

   at Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass.ReinitializeMetaData()
   at Microsoft.DataTransformationServices.DataFlowUI.DataFlowComponentUI.ReinitializeMetadata()
   at Microsoft.DataTransformationServices.DataFlowUI.DataFlowAdapterUI.connectionPage_SaveConnectionAttributes(Object sender, ConnectionAttributesEventArgs args)

Also if above query is modified to Select * FROM 'LDAP://localhost:389/O=myContainer' , it only returns adsPath.

Can anyone help what is wrong in this?

 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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