<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>All About SSIS</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/debarchan/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/debarchan/feed.xml</link>
    <description>As the Name says... ALL ABOUT SSIS</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:40:06 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>The SQL CE and IIS 7.5 story:</title>
      <link>https://docs.microsoft.com/archive/blogs/debarchan/the-sql-ce-and-iis-7-5-story</link>
      <pubDate>Tue, 06 Jul 2010 13:52:47 GMT</pubDate>
      <dc:creator><![CDATA[Debarchans]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/debarchan/2010/07/06/the-sql-ce-and-iis-7-5-story/</guid>
      <description><![CDATA[Last week I thought I should migrate my SQL CE 3.5 sample applications connecting and opening a Sql...]]></description>
      <content:encoded><![CDATA[<p>Last week I thought I should migrate my SQL CE 3.5 sample applications connecting and opening a Sql Compact Edition Database from Windows Server 2003 to Windows 7. In fact, I tried migrating them both to Win 7 and Win 2008 R2 and straight away ran into issues. I worked on it further on figured out that he same code runs just fine when I connect through a Windows/Console application, its only when going through IIS, its throwing the below error:</p>  <p>“SqlCEException: The operating system does not support the Encryption Mode provided”</p>  <p>Honestly, it did not make much sense to start with as the same Web application works like a charm on my Windows Vista and Windows 2003 machines. Surely, it had to do something with IIS as the web server is the only component that has the change across my version of Windows.</p>  <p>Note: In Windows 2003/Vista/Windows 2003 R1, the version of IIS that comes bundled is IIS 7; however, in Windows 7/Windows 2008 R2, the IIS version is 7.5.</p>  <p>Of course, I have tried connection string variations inside my code to attempt to use the proper encryption mode, and all three options (engine default, platform default, ppc32003 compatibility) yielded the same results, that SqlCeException being thrown which in fact I was expecting because logically there should not be anything that I need to change in the code as the same piece works perfectly in IIS 7.</p>  <p>Resolution:</p>  <p>I continued my research and figured out that in IIS 7.5 the Default Application Pool (My Sql CE app is running under the Default App Pool) runs under an identity called Application Pool Identity. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/18/75/metablogapi/8473.clip_image002_0605058E.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-18-75-metablogapi/8473.clip_5F00_image002_5F00_0605058E.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/18/75/metablogapi/6327.clip_image002_thumb_02B393B3.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-18-75-metablogapi/6327.clip_5F00_image002_5F00_thumb_5F00_02B393B3.jpg" width="244" height="120" /></a></p>  <p>This is a virtual user account that is introduced to simplify user management and it seems to lack the required privileges to connect to Sql CE Database. Please read more about this below:</p>  <p><a href="https://learn.iis.net/page.aspx/624/application-pool-identities/">https://learn.iis.net/page.aspx/624/application-pool-identities/</a></p>  <p>To confirm on my understanding, I compared the working IIS and found that in all the working scenarios, my application pool was running under NetworkService account. I changed the App pool identity in my IIS 7.5 Server, recycled it and when I re-ran my application voila!! It works !!</p>  <p>I am yet to figure out what exactly are the differences in terms of permission/authentication when we use the new Virtual User identity in IIS 7.5 and yet to do the root cause analysis of the error (may be granting some permissions/roles to the Virtual User would also resolve this error and run it successfully under Application Pool Identity as well), but I hope that this post is going to help our users to at least resolve the error and get everything up and running in a timely manner. Once I do the RCA and figure out the actual reason for the error, I would update my post.</p>]]></content:encoded>
    </item>
    <item>
      <title>How to enable SQL*Net Client Side Tracing</title>
      <link>https://docs.microsoft.com/archive/blogs/debarchan/how-to-enable-sqlnet-client-side-tracing</link>
      <pubDate>Tue, 06 Jul 2010 13:49:56 GMT</pubDate>
      <dc:creator><![CDATA[Debarchans]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/debarchan/2010/07/06/how-to-enable-sqlnet-client-side-tracing/</guid>
      <description><![CDATA[How many times we have run into issues with client applications/SSIS Packages connecting to Oracle...]]></description>
      <content:encoded><![CDATA[<p>How many times we have run into issues with client applications/SSIS Packages connecting to Oracle Databases and erroring out intermittently? Well, I have run into such scenarios on numerous occasions and the intermittent nature of the error makes it really difficult to figure out the root cause of such issues. In such cases I have found out Sql*Net client side tracing extremely useful in narrowing down the issue which often boils down to a simple Network Connectivity issue or a connectivity issue due to a configuration or protocol error on the Oracle side.   <br />In plenty of cases we need to collaborate with Oracle support as the error might be coming from the Oracle Data Access Layer as well as the Connection/Command Timeout settings in the Oracle Configuration files. The purpose of this write up is NOT to discuss the possible issues and their troubleshooting methods but I would focus mainly on enabling the tracing (Detailed Tracing is turned OFF by default), discuss a few of the tracing switches available and their significances so that we are able to dig deep into the actual error message and consider possible resolution options.</p>  <p>The aim of this document is to overview SQL*Net, Net8, Oracle Net Services <b>tracing</b> and logging facilities. Although only basic information on how to enable and disable <b>tracing</b> and logging features is described, the document also serves as a quick reference. The document provides the reader with the minimum information necessary to generate <b>trace</b> and log files with a view to forwarding them to Oracle Support Services (OSS) for further diagnosis. The article does not intend to describe <b>trace</b>/log file contents or explain how to interpret them. For detailed information about all the switches and their implementations, please refer to: <a href="https://download.oracle.com/docs/cd/A57673_01/DOC/net/doc/NWTR23/ch3trc.htm">https://download.oracle.com/docs/cd/A57673_01/DOC/net/doc/NWTR23/ch3trc.htm</a></p>  <p>As I mentioned earlier, detailed Level of Sqlnet tracing is turned OFF by default. As a result, when a connection error occurs, we see entries similar to the following in the sqlnet.log file:</p>  <p><font color="#ff0000">Fatal NI connect error 12560, connecting to: (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=SFTNETAPP1)(USER=svcsys_qrmdms))))</font></p>  <p><font color="#ff0000">VERSION INFORMATION:      <br />TNS for 32-bit Windows: Version 11.1.0.7.0 – Production      <br />Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 – Production      <br />Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 – Production      <br />Time: 03-MAR-2010 10:13:39      <br />Tracing not turned on.      <br />Tns error struct:       <br />ns main err code: 12560</font></p>  <p><font color="#ff0000">TNS-12560: TNS: protocol adapter error     <br />ns secondary err code: 0      <br />nt main err code: 530 </font></p>  <p><font color="#ff0000">TNS-00530: Protocol adapter error     <br />nt secondary err code: 126      <br />nt OS err code: 0</font></p>  <p>In the error description section we can see the program name (In my case I was connecting through a web App; so it is w3wp.exe). The error reported above is really kind of generic stuff and there could be numerous reasons for such an error. The solutions for such a generic error may vary on a wide range and could even include different types of TIMEOUT settings that could be configured in the Sqlnet.ora file. Notice the highlighted text in the above error message which says “Tracing not turned on”. So, the bottom line being, collecting a detailed Sqlnet trace is always a good option to track down the actual issue.</p>  <p>First of all, we need to choose the component we would be tracing. Of the various components available like Client, Server, Listener etc. we would only focus on <b>Client Side tracing.</b>    <br />For any component, you can invoke tracing by editing the component configuration file<a name="index0075"> <font color="#000000">that corresponds to the component traced. The component configuration files are SQLNET.ORA</font></a><a name="index0076"><font color="#000000">, LISTENER.ORA</font></a><a name="index0078"><font color="#000000">, and NAMES.ORA</font></a> etc.; for client side tracing we would only concentrate on SQLNET.ORA file which is typically found in: “%ORACLE_HOME%\Network\Admin” directory.    <br /><b>     <br />Below are the steps to configure Sql*Net verbose Client side tracing: </b>    <br />(1) Open the SQLNET.ORA file typically found in the installation location (or simply do a Search):</p>  <p>(2) Add the following parameters at the end of the file:</p>  <p>#CLIENT-SIDE SQL*NET TRACE PARAMETERS   <br />#====================================    <br />TRACE_UNIQUE_CLIENT = ON    <br />TRACE_LEVEL_CLIENT = 16    <br />TRACE_DIRECTORY_CLIENT = C:\temp    <br />TRACE_FILE_CLIENT = SQLNetTrace    <br />TRACE_TIMESTAMP_CLIENT = ON    <br />#TRACE_FILELEN_CLIENT = 2048    <br />#TRACE_FILENO_CLIENT = 2</p>  <p>Parameters prefixed with“#” are interpreted as comments and will not affect tracing.</p>  <p>If you want to change the location where the trace file will be saved modify the following two parameters:</p>  <p>(a) TRACE_DIRECTORY_CLIENT</p>  <p>Set this parameter to the folder where you want the trace file to be saved.</p>  <p>WARNING: Do not end the path with a “\”. This is not necessary and may prevent the trace file from being generated.</p>  <p>(b) TRACE_FILE_CLIENT</p>  <p>Set this parameter to the filename of the trace file that will be created. The actual trace filename may contain additional information appended to the end of the filename such as</p>  <p>SQLNetTrace_ _&lt;#&gt;.trc</p>  <p>Where_ _ is the application’s process id while it was running and &lt;#&gt; distinguishes different client connections established from the same process id (or session) to the database. This occurs since the   <br />parameter TRACE_UNIQUE_CLIENT is set to ON.</p>  <p><b>The parameter TRACE_LEVEL_CLIENT=16 ensures that maximum trace information is logged.</b></p>  <p>NOTE: If you think the size of the trace file will exceed the free space on the drive where TRACE_DIRECTORY_CLIENT is saving the file, then uncomment the last two parameters which will have the following effect:</p>  <p>(a) TRACE_FILELEN_CLIENT - will create trace files of the size specified in kilobytes (KB).</p>  <p>(b) TRACE_FILENO_CLIENT - will write to multiple trace files up to the maximum size specified by   <br />TRACE_FILELEN_CLIENT and then cycle through the files again overwriting previously written trace information.</p>  <p>The default values specified above for these two parameters will cycle the trace output between two trace files with a maximum size of 2MB each.</p>  <p>Once you have made the appropriate changes to the SQLNET.ORA file be sure to SAVE the file.</p>  <p>NOTE: If the application you are tracing is running from inside a web server environment, such as Microsoft’s Internet Information Server (IIS), you will need to RESTART THE WEB SERVER at this   <br />point in order for these changes to be seen by the web server. This is due to the fact that web servers may cache the SQLNET.ORA file.</p>  <p>(3) Immediately run the application that uses one of the programmatic interfaces and generate the error.</p>  <p>(4) Immediately go back to the SQLNET.ORA file and turn tracing off by using any of the following methods:</p>  <p>(a) Modify the following parameter:</p>  <p>TRACE_LEVEL_CLIENT = OFF</p>  <p>(b) Remove all the tracing parameters you added to this file or </p>  <p>(c) Comment all the tracing parameters out by placing the “#” character before each one.</p>  <p>Save the changes to the SQLNET.ORA file.</p>  <p>(5) Retrieve the “.trc” file(s) from the location “C:\temp\SQLNetTrace\” or wherever you have saved the file(s) based on what was specified in the parameters TRACE_DIRECTORY_CLIENT and TRACE_FILE_CLIENT. If you did not specify a location please check the location of the directory where the application was run from or search your hard drive for all “.trc” files. Chec(1) Open the SQLNET.ORA file typically found in the following location:</p>  <p>ORACLE_BASE\ORACLE_HOME\Network\Admin (7.3.x, 8.1.x or later)   <br />ORACLE_BASE\ORACLE_HOME\Net80\Admin (8.0.x)</p>  <p>(2) Add the following parameters at the end of the file:</p>  <p>#CLIENT-SIDE SQL*NET TRACE PARAMETERS   <br />#====================================    <br />TRACE_UNIQUE_CLIENT = ON    <br />TRACE_LEVEL_CLIENT = 16    <br />TRACE_DIRECTORY_CLIENT = C:\temp    <br />TRACE_FILE_CLIENT = SQLNetTrace    <br />TRACE_TIMESTAMP_CLIENT = ON    <br />#TRACE_FILELEN_CLIENT = 2048    <br />#TRACE_FILENO_CLIENT = 2</p>  <p>Parameters prefixed with a “#” are interpreted as comments and will not   <br />affect tracing.</p>  <p>If you want to change the location where the trace file will be saved   <br />modify the following two parameters:</p>  <p>(a) TRACE_DIRECTORY_CLIENT</p>  <p>Set this parameter to the folder where you want the trace file to be   <br />saved.</p>  <p>WARNING: Do not end the path with a “\”. This is not necessary and may   <br />prevent the trace file from being generated.</p>  <p>(b) TRACE_FILE_CLIENT</p>  <p>Set this parameter to the filename of the trace file that will be   <br />created. The actual trace filename may contain additional information    <br />appended to the end of the filename such as</p>  <p>SQLNetTrace_ _&lt;#&gt;.trc</p>  <p>where is the application’s process id while it was running and   <br />&lt;#&gt; distinguishes different client connections established from the    <br />same process id (or session) to the database. This occurs since the    <br />parameter TRACE_UNIQUE_CLIENT is set to ON.</p>  <p>The parameter TRACE_LEVEL_CLIENT=16 ensures that maximum trace   <br />information is logged.</p>  <p>NOTE: If you think the size of the trace file will exceed the free space   <br />on the drive where TRACE_DIRECTORY_CLIENT is saving the file, then    <br />uncomment the last two parameters which will have the following    <br />affect:</p>  <p>(a) TRACE_FILELEN_CLIENT - will create trace files of the size   <br />specified in kilobytes (KB)</p>  <p>(b) TRACE_FILENO_CLIENT - will write to multiple trace files up   <br />to the maximum size specified by    <br />TRACE_FILELEN_CLIENT and then cycle    <br />through the files again overwriting    <br />previously written trace information</p>  <p>The default values specified above for these two paramters will   <br />cycle the trace output between two trace files with a maximum size    <br />of 2MB each.</p>  <p>Once you have made the appropriate changes to the SQLNET.ORA file be   <br />sure to SAVE the file.</p>  <p>NOTE: If the application you are tracing is running from inside a web   <br />server environment, such as Microsoft’s Internet Information    <br />Server (IIS), you will need to RESTART THE WEB SERVER at this    <br />point in order for these changes to be seen by the web server.    <br />This is due to the fact that web servers may cache the SQLNET.ORA    <br />file.</p>  <p>(3) Immediately run the application that uses one of the programmatic   <br />interfaces and generate the error.</p>  <p>(4) Immediately go back to the SQLNET.ORA file and turn tracing off by using   <br />any of the following methods:</p>  <p>(a) Modify the following parameter:</p>  <p>TRACE_LEVEL_CLIENT = OFF</p>  <p>(b) Remove all the tracing parameters you added to this file or</p>  <p>(c) Comment all the tracing parameters out by placing the “#”   <br />character before each one.</p>  <p>Save the changes to the SQLNET.ORA file.</p>  <p>(5) Retrieve the “.trc” file(s) from the location “C:\temp\SQLNetTrace\” or   <br />wherever you have saved the file(s) based on what was specified in the    <br />parameters TRACE_DIRECTORY_CLIENT and TRACE_FILE_CLIENT. If you did not    <br />specify a location please check the location of the directory where the    <br />application was run from or search your hard drive for all “.trc” files.    <br />Check the size of the “.trc” file(s) and make sure they do not have a    <br />size of 0 bytes but do have the current time and date. Zip the file up    <br />and upload it to support.</p>  <p>Check the size of the “.trc” file(s) and make sure they do not have a size of 0 bytes but do have the current time and date. Zip the file up and upload it to the respective support group for further diagnosis.</p>]]></content:encoded>
    </item>
    <item>
      <title>SSIS Attunity Teradata Connector 1.0</title>
      <link>https://docs.microsoft.com/archive/blogs/debarchan/ssis-attunity-teradata-connector-1-0</link>
      <pubDate>Wed, 02 Sep 2009 05:36:00 GMT</pubDate>
      <dc:creator><![CDATA[Debarchans]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/debarchan/2009/09/02/ssis-attunity-teradata-connector-1-0/</guid>
      <description><![CDATA[Folks,
&nbsp;
I just worked on an issue where one of our partners were not able to run SSIS...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Folks,</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>I just worked on an issue where one of our partners were not able to run SSIS Packages using the Attunity Teradata Connector 1.0 for SSIS. Details of the error message is documented below:</FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Connectivity to Teradata is fine, in SSIS designer we can also “Preview” the data and map the Columns. At runtime, BIDS reports: “[Teradata Source [22]]Error: The Teradata TPT registry key cannot be opened. Verify that the TPT API 12.0 for Windows x86 is installed properly.”</FONT></P>
<P><FONT size=3 face=Calibri>During my research it seemed following the pre-requisites before using this SSIS Connector:</FONT></P>
<P><SPAN style="FONT-FAMILY: wingdings; mso-fareast-font-family: wingdings; mso-bidi-font-family: wingdings"><SPAN style="mso-list: ignore"><FONT size=3>v</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><FONT size=3 face=Calibri>Teradata Parallel Transporter (TPT) version 12.0 <BR></FONT><SPAN style="FONT-FAMILY: wingdings; mso-fareast-font-family: wingdings; mso-bidi-font-family: wingdings"><SPAN style="mso-list: ignore"><FONT size=3>v</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><FONT size=3 face=Calibri>Teradata ODBC driver (version 12 recommended) <BR></FONT><SPAN style="FONT-FAMILY: wingdings; mso-fareast-font-family: wingdings; mso-bidi-font-family: wingdings"><SPAN style="mso-list: ignore"><FONT size=3>v</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><FONT size=3 face=Calibri>If using a 64-bit platforms as a designer client&nbsp; (i.e.; using the Microsoft Business Intelligence Development Studio) both 64 and 32-bit clients should be installed.</FONT></P>
<P><FONT size=3><FONT face=Calibri>I searched in partner's box and also did not see any registry keys and program directories relating to TPT (By Default they should be HKLM</FONT><SPAN style="FONT-FAMILY: wingdings">à</SPAN><FONT face=Calibri>Software</FONT><SPAN style="FONT-FAMILY: wingdings">à</SPAN><FONT face=Calibri>Teradata and %Program Files%\TeraData). I suggested my partner to install Teradata Client Tools and Utilities as I believe TPT 12.0 APIs are the part of the Client Tools and Utilities. Customer however reported that still after the Client tools installation he is not able to get TPT 12.0.</FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>I confirmed the fact that TPT API 12.0 indeed comes as a part of TTU (Teradata Tools and Utilities) installation, but for some reason we were not able to find it in the installer CD that was given to my partner by Teradata. We installed the TPT APIs separately and were able to execute the Package successfully. Teradata confirms that TPT APIs DOES COME as a part of TTU installer.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Anyway: Teradata should drive the issue further if the issue is because of Teradata installation pieces.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT color=red size=3 face=Calibri><STRONG>Phase 1 Update Dec 12, 2009:</STRONG></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>I just went thru the Teradata Tools and Utilities installer and found that Typical install does not put in the TPT APIs required for SSIS. You need to do a Custom Install. I will shortly upload the screenshot of the installer with the required components selected in the Installer Wizard in Phase 2 Update.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal>Cheers !</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal>Debs</P>]]></content:encoded>
    </item>
    <item>
      <title>SSIS SAP BI Connector 1.0</title>
      <link>https://docs.microsoft.com/archive/blogs/debarchan/ssis-sap-bi-connector-1-0</link>
      <pubDate>Wed, 02 Sep 2009 04:51:00 GMT</pubDate>
      <dc:creator><![CDATA[Debarchans]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/debarchan/2009/09/02/ssis-sap-bi-connector-1-0/</guid>
      <description><![CDATA[Folks,
&nbsp;
I just handled a&nbsp;scenario with Customer using SAP BI Connector 1.0 for SSIS....]]></description>
      <content:encoded><![CDATA[<FONT size=3 face=Calibri>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal>Folks,</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: white" class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">I just handled a&nbsp;scenario with Customer using SAP BI Connector 1.0 for SSIS. I wanted to share the known issue I have encountered and the steps to resolve this. While the SAP BI side configurations continue to remain a sort of a black box for us, I am seeing that most Customers are having SAP consultants on their site who are making sure that SAP configurations are okay and it is sending data to the SSIS Engine.&nbsp;</SPAN>&nbsp;Below is the case study.</FONT></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: white" class=MsoNormal><FONT size=3 face=Calibri></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: white" class=MsoNormal><FONT size=3 face=Calibri>Case Study:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Symptoms:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>========================</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>#.&nbsp;Using SSIS 2008 (10.0.2723 Sql 2008 SP1 CU3)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>#.&nbsp;Using the SAP BI Connector 1.0 and SAP BI Source Task</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>#. When the SSIS Package is run from BIDS the Package hangs on the source task and never completes. In package Progress tab, the last message we see is "The component is waiting for a notification"</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>#. When run from command line using DTEXEC.exe we may or may not get this message. Sometimes it will throw the error depending on the environment:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>In <STRONG><U>x86 environment</U></STRONG> the error message and the call stack would be:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B><FONT size=3><FONT face=Calibri>System.OutOfMemoryException<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>at System.String.PadHelper(Int32 totalWidth, Char paddingChar, Boolean isRightPadded)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>at Microsoft.SqlServer.Dts.SapBw.Connectivity.RFCStructure..ctor(RFCTableColumnCollection Columns)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>at Microsoft.SqlServer.Dts.SapBw.Connectivity.RFCParameter.RetrieveColumnsByStructure(R3Connection Connection, String StructureName)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>at Microsoft.SqlServer.Dts.SapBw.Connectivity.R3Connection.AddParametersAndTablesToUndefinedFunctionObject(RFCFunction&amp; Dest, String Name)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>at Microsoft.SqlServer.Dts.SapBw.Connectivity.R3Connection.CreateFunction(String Name)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>at Microsoft.SqlServer.Dts.SapBw.Components.OHSExtractor.CheckMetadata()</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>at Microsoft.SqlServer.Dts.SapBw.Components.OHSExtractor.ExtractNow(Boolean InRuntimeMode, String GatewayHost, String GatewayService, String ProgramID, String ProcessChain, String DestinationName, String ExecutionMode, String PropertyRequestID, Int32 Timeout)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>In <STRONG><U>x64 environment</U></STRONG>, the error message and the call stack would be:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B><FONT size=3><FONT face=Calibri>Description: System.ArgumentOutOfRangeException: Non-negative number required.<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B><FONT size=3><FONT face=Calibri>Parameter name: totalWidth<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>&nbsp;&nbsp; at System.String.PadHelper(Int32 totalWidth, Char paddingChar, Boolean isRightPadded)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>&nbsp;&nbsp; at Microsoft.SqlServer.Dts.SapBw.Connectivity.RFCStructure..ctor(RFCTableColumnCollection Columns)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>&nbsp;&nbsp; at Microsoft.SqlServer.Dts.SapBw.Connectivity.RFCParameter.RetrieveColumnsByStructure(R3Connection Connection, String StructureName)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>&nbsp;&nbsp; at Microsoft.SqlServer.Dts.SapBw.Connectivity.R3Connection.AddParametersAndTablesToUndefinedFunctionObject(RFCFunction&amp; Dest, String Name)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>&nbsp;&nbsp; at Microsoft.SqlServer.Dts.SapBw.Connectivity.R3Connection.CreateFunction(String Name)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>&nbsp;&nbsp; at Microsoft.SqlServer.Dts.SapBw.Components.OHSExtractor.CheckMetadata()</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>&nbsp;&nbsp; at Microsoft.SqlServer.Dts.SapBw.Components.OHSExtractor.ExtractNow(Boolean InRuntimeMode, String GatewayHost, String GatewayService, String ProgramID, String ProcessChain, String DestinationName, String ExecutionMode, String PropertyRequestID, Int32 Timeout)</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Cause:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>===================</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>#. There is a reported bug for this component in the <STRONG>Microsoft.SqlServer.SapBiComponents.dll</STRONG>.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>BUG DETAILS:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>============</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>BUG in SAP Data Connector 1.0</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>RFC#313260</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Promoted RFC to QFE 329507</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Bug #: 117545</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Bug DB: Content Maintenance</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>#. This bug exists till <STRONG>Sql Server 2008 SP1 CU3 build:10.0.2723</STRONG></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Resolution:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>==============</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>#. We have a private Fix from the Product group which is available at PSS.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>#. The version of the Microsoft.SqlServer.SapBiComponents.dll would be upgraded to&nbsp;<STRONG>10.0.2729.0</STRONG></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>#. We tested this fix for both x86 and x64 systems and the issue was resolved.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri><STRONG>HOWEVER,&nbsp;IT&nbsp;IS STRONGLY&nbsp;NOT&nbsp;RECOMMENDED TO USE SUCH PRIVATE BUILDS IN PRODUCTION. EVERYONE SHOULD WAIT FOR THE OFFICIAL RELEASE OF THIS FIX WHICH WOULD BE SHIPPED WITH SQL SERVER 2008 SP1 CU4!</STRONG></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri><STRONG></STRONG></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri><STRONG>HOWEVER, IF ANYONE IS FACING THE ISSUE AND WANT TO TEST OUT THE PRIVATE FIX, CONNECT WITH ME OFFLINE TO GET THE PATCHED DLL!</STRONG></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Steps to install the Fix:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>===========================</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Uncompress the attached fix-64bit-release.zip (or the 32 BIT one) to d:\tmp (or any other directory). Run “cmd” under administrator mode:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>“gacutil /if d:\tmp\Microsoft.SQLServer.SapBiComponents.dll”</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Gacutil.exe is a .Net utility you could find in your system disk.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>If you see feedbacks like “Assembly successfully added to the cache”, it means the dll has been replaced:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Now the connector should work. To verify it, we will print a log at the beginning of extraction or loading: “This is the private build from PCU Main”.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Possible Errors and solutions during replacing the dll</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>=======================================================</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>1. “Access Denied”: Please make sure run “cmd” under administrator mode if your UAC is on.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>2. “failed to validate strong name”: Since the dll is a private build, it has not been fully signed. We should set a flag to let .Net CLR skip the strong name validation. Run the following command:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>“sn -Vr *” and then re-run the gacutil command. Sn.exe is also a .net utility you can find in your system disk.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>3. If there are some other strange error happens after you replace the dll, make sure what you installed is the latest SAP BI Connector version (April 2009, not October 2008):</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><A href="https://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;displaylang=en" mce_href="https://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;displaylang=en"><FONT color=#0000ff size=3 face=Calibri>https://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;displaylang=en</FONT></A></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal mce_keep="true"><STRONG><FONT color=red>Phase 1 Update&nbsp;Dec 12, 2009:</FONT></STRONG></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal mce_keep="true">CU4 for Sql Server 2008 SP1 is available now:</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal mce_keep="true"><A href="https://support.microsoft.com/kb/973602">https://support.microsoft.com/kb/973602</A>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal mce_keep="true">This has the Dll patched !!</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal>Cheers !</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal>Debs</P>]]></content:encoded>
    </item>
    <item>
      <title>SSIS - An OLEDB Error Has Occurred</title>
      <link>https://docs.microsoft.com/archive/blogs/debarchan/ssis-an-oledb-error-has-occurred</link>
      <pubDate>Mon, 13 Apr 2009 18:43:00 GMT</pubDate>
      <dc:creator><![CDATA[Debarchans]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/debarchan/2009/04/13/ssis-an-oledb-error-has-occurred/</guid>
      <description><![CDATA[Title:: DTS_E_OLEDBERROR&nbsp;This is a very generic error and can occur due to multiple reasons....]]></description>
      <content:encoded><![CDATA[<DIV class=ExternalClassFA20411FA1504C69AF8094EFDCB0356B>
<DIV><FONT color=#ff0000>Title::</FONT> DTS_E_OLEDBERROR<BR>&nbsp;<BR>This is a very generic error and can occur due to multiple reasons. I am documenting as much as of them based on Case studies. Refer to the description and the error codes for each of the unique errors. </DIV>
<DIV>&nbsp;</DIV>
<DIV>A:</DIV>
<DIV>+++</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>Error:&nbsp;</FONT> </DIV>
<DIV>&nbsp;</DIV>
<DIV>"DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB <BR>record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D <BR>Description: "Login failed for user '&lt;User_Name&gt;'."</DIV>
<DIV>&nbsp;</DIV>
<DIV>Symbolic Name: DTS_E_OLEDBERROR</DIV>
<DIV>The hexadecimal value for this error number = 0x80040E4D.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>Cause: </FONT></DIV>
<DIV><FONT color=#ff0000></FONT>&nbsp;</DIV>
<DIV>When you create a package on your local machine and create a connection in it, you have the option to save the password of that connection. However by default it encrypts this password so that in can only be decrypted when you' re running the package on the same machine, with the same account. This holds good only if the Connection&nbsp;Manager uses SQL Authentication or connects to a Database which does not support Windows Integrated Authentication (e.g. Oracle).</DIV>
<DIV>&nbsp;</DIV>
<DIV>So, in the above scenario, if the package is deployed to a Remote Sql Server, it fails with the "Login failed.." error as it is not able to decrypt the password. (Note: It runs fine if deployed in the local Sql Server)</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>Resolution:</FONT></DIV>
<DIV><FONT color=#ff0000></FONT>&nbsp;</DIV>
<DIV>To correct the problem, you should opt between either of the two options:</DIV>
<DIV>1. Encrypt the package with "EncryptSensitiveWithPassword" or "EncryptAllWithPassword" and provide a package password each time User wants to edit/manipulate the package.</DIV>
<DIV>2. Create a configuration file to provide the connection information during Package runtime.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>References:</FONT></DIV>
<DIV><FONT color=#ff0000></FONT>&nbsp;</DIV>
<DIV>How to: Add a Package Configuration: <A href="https://technet.microsoft.com/en-us/library/ms140213.aspx" mce_href="https://technet.microsoft.com/en-us/library/ms140213.aspx">https://technet.microsoft.com/en-us/library/ms140213.aspx</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Setting the Protection Level of Packages: <A href="https://msdn.microsoft.com/en-us/library/ms141747.aspx" mce_href="https://msdn.microsoft.com/en-us/library/ms141747.aspx">https://msdn.microsoft.com/en-us/library/ms141747.aspx</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>B:</DIV>
<DIV>+++</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>Error:&nbsp;</FONT> </DIV>
<DIV>&nbsp;</DIV>
<DIV>0xC0202009 at Package, Connection manager "&lt;NAME&gt;": SSIS Error <BR>Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040154.<BR>An OLE DB record is available. Source: "Microsoft OLE DB Service Components" <BR>Hresult: 0x80040154 Description: "Class not registered".</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>Symbolic Name: DTS_E_OLEDBERROR</DIV>
<DIV>The hexadecimal value for this error number = 0x80040154.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>Cause: </FONT></DIV>
<DIV><FONT color=#ff0000></FONT>&nbsp;</DIV>
<DIV>This is a very common error when a package is deployed in a 64-BIT environment and the package is using Microsoft Providers that is not available in 64-BIT (e.g. Microsoft JET provider and Microsoft provider for Oracle).</DIV>
<DIV>&nbsp;</DIV>
<DIV>The Integration Services design environment is a 32-bit environment and you see only 32-bit providers while you are designing a package. Therefore, you can only configure a connection manager to use a specific 64-bit provider if the 32-bit version of the same provider is also installed. At run time, the correct version is used, and it does not matter that you specified the 32-bit version of the provider at design time. The 64-bit version of the provider can be run even if the package is run in Business Intelligence Development Studio. Both versions of the provider have the same ID. To specify whether the Integration Services runtime uses an available 64-bit version of the provider, you set the Run64BitRuntime property of the Integration Services project. If the Run64BitRuntime property is set to true, the runtime finds and uses the 64-bit provider; if Run64BitRuntime is false, the runtime finds and uses the 32-bit provider.</DIV>
<DIV>&nbsp;</DIV>
<DIV>When the package is deployed as a job in a 64-BIT Sql Server, it would fail with the above error as it will use the 64-BIT DTExec.exe (C:\Program Files\Microsoft Sql Server\DTS\Binn\DTExec.exe) to run the job and it will not be able to recognize the 32-BIT providers.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>Resolution:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>1. When the package fails as a job, we can provide two resolutions:</DIV>
<DIV>&nbsp;&nbsp;&nbsp; A) Modify the job step of the failing package, change the "Type" to Opearting System (cmdExec) and edit the command line manually to run it through the 32-BIT DTExec.exe. You need to prefix the full path of 32-BIT DTExec.exe before the command (Typically, under default installation, the path would be (C:\Program Files (x86)\Microsoft Sql Server\DTS\Binn\DTExec.exe).</DIV>
<DIV>&nbsp;&nbsp; B) Change the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTS\Setup\DTSPath” to point to the 32-BIT DTExec.exe. This way it would invoke all the jobs through this 32-BIT DTExec.exe.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Note: The method A) applies to a specific job while method B) would apply to all the jobs deployed in Sql Server. In SQL Server 2008, there is an option in the job step properties page to use 32-bit instead of 64-bit. Under 2005, though, the only way to control it is to use a CmdExec step to call the 32-bit version of DTEXEC.</DIV>
<DIV>&nbsp;</DIV>
<DIV>2. There would be scenarios where this error is encountered when a package is executed through a .NET program using the SSIS APIs(using LoadFromSqlServer(), Execute()). In that scenario, we need to change the Target Platform to "x86" from the Project Properties.</DIV>
<DIV>&nbsp;</DIV>
<DIV>3. There might be scenarios where the providers&nbsp;used in&nbsp;the connection managers would be missing from the System where the package is run. In that case, the execution of the package would fail BOTH from BIDS as well as from Sql and the resolution would be install the appropriate provider.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>References:</FONT></DIV>
<DIV><FONT color=#ff0000></FONT>&nbsp;</DIV>
<DIV>Integration Services Considerations on 64-bit Computers: <A href="https://msdn.microsoft.com/en-us/library/ms141766(SQL.90).aspx" mce_href="https://msdn.microsoft.com/en-us/library/ms141766(SQL.90).aspx">https://msdn.microsoft.com/en-us/library/ms141766(SQL.90).aspx</A></DIV>
<DIV>MSDN Social Link that has a good discussion regarding this error: <A href="https://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/b1d5de28-b80b-4f34-a135-c68e87039c58/" mce_href="https://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/b1d5de28-b80b-4f34-a135-c68e87039c58/">https://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/b1d5de28-b80b-4f34-a135-c68e87039c58/</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>C:</DIV>
<DIV>+++</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>Error:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000>An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available.The AcquireConnection method call to the connection manager "&lt;Name&gt;" failed with error code 0xC0202009.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Symbolic Name: DTS_E_OLEDBERROR</DIV>
<DIV>The hexadecimal value for this error number = 0x80004005.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>Cause:</FONT></DIV>
<DIV><FONT color=#ff0000></FONT>&nbsp;</DIV>
<DIV>The owner of the job determines the security context in which the job is run. If the job is owned by a SQL Server login account that is not a member of the Sysadmin fixed server role, the SSIS package runs under the context of the SQL Server Agent proxy account. </DIV>
<DIV>If you want the SQL Server Agent proxy to run jobs that connect to an instance of SQL Server, the SQL Server Agent proxy account must have correct permissions to the instance of SQL Server. </DIV>
<DIV>If you want the SQL Server Agent proxy account to run a job that runs as an SSIS package, the SQL Server Agent proxy account must have the Read permission and the Write permission to the Temp directory of the SQL Server Agent Service startup account.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>Resolution:</FONT></DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000>To resolve this issue, you must change the permissions for the Temp directory of the SQL Server Agent Service startup account. Grant the Read permission and the Write permission to the SQL Server 2005 Agent proxy account for this directory. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#ff0000>References:</FONT></DIV>
<DIV><FONT color=#ff0000></FONT>&nbsp;</DIV>
<DIV>Error message when an SSIS package runs that is scheduled to run as a SQL Server Agent job: "An OLE DB error has occurred. Error code: 0x80004005": <A href="https://support.microsoft.com/kb/933835" mce_href="https://support.microsoft.com/kb/933835">https://support.microsoft.com/kb/933835</A><A href="https://msdn.microsoft.com/en-us/library/ms141747.aspx" mce_href="https://msdn.microsoft.com/en-us/library/ms141747.aspx"></A></DIV></DIV>]]></content:encoded>
    </item>
    <item>
      <title>Good Old Connectivity Issue with Oracle in x64 Environment</title>
      <link>https://docs.microsoft.com/archive/blogs/debarchan/good-old-connectivity-issue-with-oracle-in-x64-environment</link>
      <pubDate>Tue, 03 Feb 2009 18:46:00 GMT</pubDate>
      <dc:creator><![CDATA[Debarchans]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/debarchan/2009/02/03/good-old-connectivity-issue-with-oracle-in-x64-environment/</guid>
      <description><![CDATA[When you try to develop an SSIS package in x64 Environment&nbsp;in BIDS&nbsp;that&nbsp;connects to a...]]></description>
      <content:encoded><![CDATA[<P>When you try to develop an SSIS package in x64 Environment&nbsp;in BIDS&nbsp;that&nbsp;connects to a Oracle Database, you will invariabely run into connectivity issues if the installed Oracle Client tools version is <FONT size=3><FONT face=Calibri><STRONG><EM>10.2.0.1 (x86).</EM></STRONG> You will obviously need to install the 32-BIT version of Oracle Client to communicate with BIDS which is a 32-BIT application !</FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><STRONG>Subject</STRONG>:</FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>ORA-12154 or ORA-6413 Running 32-bit Oracle Software on 64-bit Windows OS.</FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></I>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><STRONG>Applies to:</STRONG> <o:p></o:p></FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Oracle Net Services - Version: 8.1.7.0 to 10.2.0.2</FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Oracle Data Provider for .NET - Version: 8.1.7.0 to 10.2.0.2</FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Oracle Objects for OLE - Version: 8.1.7.0 to 10.2.0.2</FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Oracle Provider for OLE DB - Version: 8.1.7.0 to 10.2.0.2</FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Oracle ODBC Driver - Version: 8.1.7.0 to 10.2.0.2</FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Microsoft Windows XP (64-bit Itanium)<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Microsoft Windows Server 2003 (64-bit Itanium)<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Microsoft Windows XP (64-bit AMD64 and Intel EM64T)<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Microsoft Windows Server 2003 (64-bit AMD64 and Intel EM64T)<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri></FONT></FONT></SPAN></I></B>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Symptoms:<o:p></o:p></FONT></FONT></SPAN></I></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3 face=Calibri></FONT></o:p></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>You are attempting to connect to the Oracle database from a Windows platform using one of the following programmatic interfaces<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><EM>· ODBC</EM> <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>· OLEDB <o:p></o:p></FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>· OO4O <o:p></o:p></FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>· ODP.NET</FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><o:p></o:p></FONT></FONT></SPAN></I>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>After installing 32-bit Oracle client software on a 64-bit Windows operating system (OS) you receive one of the following errors: </FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><STRONG>ORA-12154: TNS:could not resolve the connect identifier specified<o:p></o:p></STRONG></FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><STRONG>or<o:p></o:p></STRONG></FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><STRONG>ORA-6413: Connection not open. </STRONG></FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><o:p></o:p></FONT></FONT></SPAN></I>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><STRONG>Cause:<o:p></o:p></STRONG></FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>64-bit Microsoft OS's install 32-bit applications into the following location <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>"C:\Program Files (x86)\..."<o:p></o:p></FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>rather than the typical location of<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>"C:\Program Files\..."<o:p></o:p></FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>This causes an existing networking bug to occur where the networking layer is unable to parse program locations that contain parenthesis in the path to the executable which is attempting to connect to Oracle.<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>The following bug has been filed to correct this behavior:</FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN><STRONG>Bug 3807408</STRONG> <EM>&lt;</EM><A href="https://metalink.oracle.com/metalink/plsql/showdoc?db=Bug&amp;id=3807408" mce_href="https://metalink.oracle.com/metalink/plsql/showdoc?db=Bug&amp;id=3807408"><FONT color=#0000ff><EM>https://metalink.oracle.com/metalink/plsql/showdoc?db=Bug&amp;id=3807408</EM></FONT></A><EM>&gt;</EM> </SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN></SPAN>&nbsp;</P><SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="COLOR: #1f497d; mso-ansi-language: EN-US; mso-themecolor: dark2" lang=EN-US><FONT size=3><FONT face=Calibri>NOTE: You will be able to view this bug details in the Metalinks site only if you have a Metalink login ID which comes with a support agreement with Oracle</FONT></FONT></SPAN></I></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><I><SPAN style="COLOR: #1f497d; mso-ansi-language: EN-US; mso-themecolor: dark2" lang=EN-US><FONT size=3><FONT face=Calibri></FONT></FONT></SPAN></I>&nbsp;</P><SPAN style="COLOR: #1f497d; mso-ansi-language: EN-US; mso-themecolor: dark2" lang=EN-US><FONT size=+0><FONT face=Calibri>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000><STRONG>Additional Information:<o:p></o:p></STRONG></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>The reason you receive an ORA-12154 vs. an ORA-6413 is generally due to which programmatic interface you have chosen to use to connect to Oracle.<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>The ORA-12154 is the typical error seen when connecting with up-to-date interfaces using the latest version of the Oracle Call Interface (OCI):<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>· Oracle ODBC Driver <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>· Oracle Provider for OLE DB <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>· Oracle Objects for OLE <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>· Oracle Data Provider for .NET (ODP.NET) <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>· Microsoft's .NET Managed Provider for Oracle<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>The ORA-6413 is typical of using older interfaces which make legacy API calls such as Oracle's OCI Version 7 API:<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>· Microsoft ODBC Driver for Oracle <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>· Microsoft OLE DB Provider for Oracle<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000><EM></EM></FONT></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000><STRONG>Solution:</STRONG></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000>To resolve this problem try the following solution:</FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000></FONT></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000><STRONG><U>The Best possible solution is to upgrade to Oracle 11G Release 1 version of Client tools (Build: 11.1.0.6.0)<o:p>&nbsp;rather than applying the series of patches over the 10G client which may not produce desired results. The 11G version of the Client tools are tested and confirmed to include a FIX for the above error.&nbsp;If it is absolutely necessary to stick to the 10G version of the client (it shouldn't be), refer to the following:</o:p></U></STRONG><o:p>&nbsp;</o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><EM></EM></FONT></FONT></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="COLOR: #1f497d; mso-ansi-language: EN-US; mso-themecolor: dark2" lang=EN-US><FONT size=3><FONT face=Calibri><STRONG><FONT color=#000000>For 32-BIT Oracle Client:</FONT></STRONG></FONT></FONT></SPAN></P><SPAN style="COLOR: #1f497d; mso-ansi-language: EN-US; mso-themecolor: dark2" lang=EN-US><FONT color=#000000 face=Calibri>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>1. Install 10.2.0.2 upgrade - You need to select the correct Oracle Home path of previous 10.2.0.1 install<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This install might fail at copying gacutil.exe... <o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To Fix this search for gacutil* in C drive and you will find gacutil.exe anc gacutil.exe.config files in some directory<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copy them to C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\Bin<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Some times you can't find gacutil.exe then copy this file from some other server<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>2. Rerun the previous install after copying gacutil files - Install will be successful, After that&nbsp;you need to install a patch(<SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-IN; mso-bidi-language: AR-SA" lang=EN-US>5383042</SPAN>) for 10.2.0.2</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>3. To install the patch for 10.2.0.2:</FONT></SPAN></P><SPAN style="mso-ansi-language: EN-US" lang=EN-US>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create folder Patches in&nbsp; D:\oracle\product\10.2.0\client_1<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copy folder 5383042 from D:\Oracle32bit\Patchfor10202\p5383042_10202_WINNT TO D:\oracle\product\10.2.0\client_1\Patches<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Go to command prompt<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd D:\oracle\product\10.2.0\client_1<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set oracle_home=D:\oracle\product\10.2.0\client_1<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd D:\oracle\product\10.2.0\client_1\Patches\5383042&gt;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D:\oracle\product\10.2.0\client_1\OPatch\opatch apply<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The above command calls opatch.bat and you are in the patch folder so "apply" will apply the current patch folder you are in<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; It will prompt you for y/n ...say y<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p></o:p></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create folder Patches in&nbsp; D:\oracle\product\10.2.0\client_1<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copy folder 5383042 from D:\Oracle32bit\Patchfor10202\p5383042_10202_WINNT TO D:\oracle\product\10.2.0\client_1\Patches<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Go to command prompt<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd D:\oracle\product\10.2.0\client_1<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set oracle_home=D:\oracle\product\10.2.0\client_1<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd D:\oracle\product\10.2.0\client_1\Patches\5383042&gt;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D:\oracle\product\10.2.0\client_1\OPatch\opatch apply<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The above command calls opatch.bat and you are in the patch folder so "apply" will apply the current patch folder you are in<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; It will prompt you for y/n ...say y<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To check if the patch has been applied<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D:\oracle\product\10.2.0\client_1\OPatch lsinventory</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><o:p></o:p></FONT></SPAN>&nbsp;</P></FONT></SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="COLOR: #1f497d; mso-ansi-language: EN-US; mso-themecolor: dark2" lang=EN-US><FONT size=3><FONT face=Calibri><SPAN style="COLOR: #1f497d; mso-ansi-language: EN-US; mso-themecolor: dark2" lang=EN-US><FONT size=3><FONT face=Calibri><STRONG><FONT color=#000000>For 64-BIT Oracle Client:</FONT></STRONG></FONT></FONT></SPAN></FONT></FONT></SPAN></P><SPAN style="COLOR: #1f497d; mso-ansi-language: EN-US; mso-themecolor: dark2" lang=EN-US><FONT size=+0><FONT face=Calibri><o:p>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT color=#000000></FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000>1. Install 64bit 10.2.02 upgrade - Select the correct Oracle Home.<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000>2. Install 64bit 10.2.03 upgrade - Select the correct Oracle Home.<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000>3. Copy TNSNAMES folder from other servers to D drive.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p></o:p></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT color=#000000></FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000>4. Create an Environment variable TNS_ADMIN to path D:\TNSNAMES</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><STRONG><U>However, It is strongly recommended to upgrade to Oracle 11G Release 1 version of Client tools (Build: 11.1.0.6.0)<o:p>&nbsp;rather than applying the series of patches over the 10G client which may not produce desired results. The 11G version of the Client tools are tested and confirmed to include a FIX for the above error.&nbsp; </o:p></U></STRONG></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p>&nbsp;</o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p><STRONG>NOTE</STRONG>: This will allow you to create and run the package successfully from BIDS, but not as a Sql Job (in a x64 version of Sql Server). The reason being x64 version of Sql Server will always invoke x64 version of the DTEXEC.exe to run a job which will cause it to fail. We can confirm that by running the job successfully from command line using the 32-BIT DTEXEC.exe. (Running it from the C:\Program Files (x86) directory). So, to workaround this problem, we can choose one of the following solutions:</o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p>&nbsp;</o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p><STRONG>Solution 1:</STRONG></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p>Run the Job under the cmdExec subsystem and modify the command line so that the 32-BIT DTEXEC.exe is invoked to execute the job.</o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p></o:p></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=red><o:p><STRONG>Phase 1 Update Dec 12, 2009:</STRONG></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p>Note: In Sql Server 2008 onwards&nbsp;you can still run the Job under Integration Services subsystem and use 32-BIT DTEXEC.exe. You need to go to "Execution options" in the Job Step properties and check "Use 32-BIT Runtime"</o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p>&nbsp;</o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p><STRONG>Solution 2:</STRONG></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p>Install the 64-BIT Oracle Client tools side by side with the 32-BIT one (Make sure you either apply the patch if you install 10G version or STRONGLY recommended to use the 11G Release 1 version)</o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p>&nbsp;</o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p><STRONG>Solution 3:</STRONG></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p>Modify the following Registry key to run the job under the Integration Services subsystem but to invoke the 32-BIT DTEXEC.exe to execute the package:</o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000><o:p><SPAN style="COLOR: #1f497d; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri" lang=EN-US><SPAN style="mso-list: Ignore"><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-ansi-language: EN-US" lang=EN-US><EM>HKLM<SPAN style="COLOR: #1f497d"> </SPAN>-&gt;SOFTWARE-&gt;MICROSOFT-&gt;MSDTS-&gt;SETUP-&gt;DTSPATH</EM>. Change the value of the <EM>DEFAULT</EM> key to point to the 32-BIT DTEXEC.exe. Typically, under Default installation, that path will be <STRONG>C:\Program Files (x86)\Microsoft SQL Server\90\DTS\</STRONG></SPAN></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT color=#000000><o:p><SPAN style="mso-ansi-language: EN-US" lang=EN-US><STRONG>NOTE: You will need to restart the Sql Server Agent Service for the registry change to take effect.</STRONG></SPAN></P></o:p></FONT></FONT></SPAN>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT color=#000000><o:p><STRONG></STRONG></o:p></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal></o:p></FONT></FONT></SPAN>Cheers,</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal>Debs !!</P></SPAN>]]></content:encoded>
    </item>
  </channel>
</rss>