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

C dll integration with C# SSIS Custom Component

$
0
0

I have created an SSIS data flow custom component which performs postal address cleansing using webservice which is integrated with a 3rd party C dll.  The web service works fine but its completely under performing.  It's taking around 20 minutes to cleanse 2.5 thousand addresses which is far to slow. Using an old GUI interface it can process around 400,000 records in 20 minutes.  So I've been asked to see if I can integrate the 3rd party C dll into the SSIS control flow component.

I've transfered the required code from the web service into the SSIS custom component but when it comes to making the first call to the 3rd party dll.  I get this error.

[QAS PAF [338]] Error: System.BadImageFormatException: An attempt was  made to load a program with an incorrect format. (Exception from  HRESULT: 0x8007000B)    at UnifyQAS.PAFTask.QABatchWV_Clean(Int32  iHandle, String stSearchAddress, Int32& iSearchHandle, String&  stReturnedPostCode, Int32 iPostCodeLength, String& stIso, String&  stReturnedCode, Int32 iCodeLength)    at  UnifyQAS.PAFTask.CleanAddress(String Address)    at  UnifyQAS.PAFTask.ProcessInput(Int32 inputID, PipelineBuffer buffer)
  at  Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100  wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr  bufferWirePacket)

I did receive a similar error when I first published the Web Service but this was fixed by setting the "Enable 32 bit applications" setting to true.  The 3rd party dll is 32 bit.  I'm trying to run the SSIS custom component on a 64 bit windows 7. I'm at a total loss as to what I can try next.  I dont have access to the source code for the 3rd party dll so I can't compile it to a 64 bit application.  If anyone has any experience with this type of scenario, I would love to hear your suggestions.  Apart from banging my head off the desk I'm at a total loss.  Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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