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

Database Connection error when executing the package from .bat file

$
0
0

Hi..

Need help in fixing the problem.. Not able to find good article to address the issue.

Environment : Windows 2008 R2 64bit machine , Sql Server 2008

Recently we have migrated ssis packages from 2005 32 bit machine to 64 bit machine.

It works fine on windows 7 64 bit machine when executed from VS2008 and .bat file.

The .bat file consists following command.

"C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\DTEXEC.exe" /FILE "D:\XXX\CCC\\DTSX\ONE_LOAD.dtsx" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /SET "\Package.Variables[User::LaunchSystem].Properties[Value]";XXX /REPORTING EWCDI > .\Logs\ABC_log.

Today we have promoted the packages to Dev Server which is 2008 server(64 bit) machine. It has SQL server 2008 R2 installed on it along with VS 2008.

When trying to execute the package from .bat file on this machine i end up with following error.

Using 32 bit Dtexec in .bat file i get the following error

Info: 2013-06-14 03:24:34.77
   Code: 0x4004300A
   Source: DFT - Get Latest Batch_Control_Keys from XXX SSIS.Pipeline
   Description: Validation phase is beginning.
End Info
Error: 2013-06-14 03:24:34.90
   Code: 0xC0202009
   Source: ABC_LOAD Connection manager "XXX"
   Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft OLE DB Provider for Oracle"  Hresult: 0x80004005  Description: "Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.

Provider is unable to function until these components are installed.".
End Error
Error: 2013-06-14 03:24:34.90
   Code: 0xC020801C
   Source: DFT - Get Latest Batch_Control_Keys from ABC OLE_SRC - Get Batch_Control_Keys [1]
   Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "ABC" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
End Error
Error: 2013-06-14 03:24:34.91
   Code: 0xC0047017
   Source: DFT - Get Latest Batch_Control_Keys from ABC SSIS.Pipeline
   Description: component "OLE_SRC - Get Batch_Control_Keys" (1) failed validation and returned error code 0xC020801C.
End Error
Error: 2013-06-14 03:24:34.91
   Code: 0xC004700C
   Source: DFT - Get Latest Batch_Control_Keys from ABC SSIS.Pipeline
   Description: One or more component failed validation.
End Error

and when used 64- bit command inside .bat file i.e 

"C:\Program Files\Microsoft SQL Server\100\DTS\Binn\DTEXEC.exe" /FILE "D:\XXX\CCC\\DTSX\ONE_LOAD.dtsx" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /SET "\Package.Variables[User::LaunchSystem].Properties[Value]";XXX /REPORTING EWCDI > .\Logs\ABC_log.

i end up with following error.

Error: 2013-06-14 03:23:42.45
   Code: 0xC0209303
   Source: ABC_LOAD Connection manager "ABC"
   Description: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_64BIT_ERROR.  The requested OLE DB provider MSDAORA.1 is not registered -- perhaps no 64-bit provider is available.  Error code: 0x00000000.
An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".
End Error
Error: 2013-06-14 03:23:42.46
   Code: 0xC020801C
   Source: DFT - Get Latest Batch_Control_Keys from EDSF OLE_SRC - Get Batch_Control_Keys [1]
   Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "ABC" failed with error code 0xC0209303.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
End Error
Error: 2013-06-14 03:23:42.46
   Code: 0xC0047017
   Source: DFT - Get Latest Batch_Control_Keys from ABC SSIS.Pipeline
   Description: component "OLE_SRC - Get Batch_Control_Keys" (1) failed validation and returned error code 0xC020801C.
End Error
Error: 2013-06-14 03:23:42.46
   Code: 0xC004700C
   Source: DFT - Get Latest Batch_Control_Keys from ABC SSIS.Pipeline
   Description: One or more component failed validation.
End Error

Not able to find what could be the problem.

Also, tried connecting to Oracle source from VS2008 and end up with following error.


Did any one come across this issue. Please let me know what could be the problem.


Sri





Viewing all articles
Browse latest Browse all 24688

Trending Articles



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