<?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>cdm</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/cdm/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/cdm/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 04:10:47 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Getting details from SSIS logging</title>
      <link>https://docs.microsoft.com/archive/blogs/cdm/getting-details-from-ssis-logging</link>
      <pubDate>Tue, 07 Jun 2011 11:53:35 GMT</pubDate>
      <dc:creator><![CDATA[Cathy Mi - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cdm/2011/06/07/getting-details-from-ssis-logging/</guid>
      <description><![CDATA[I thought I should step back a moment before continuing to the second most common reason for the...]]></description>
      <content:encoded><![CDATA[<p>I thought I should step back a moment before continuing to the second most common reason for the <em>AcquireConnection method call failed </em>error and discuss how to get information from SSIS logging.</p>  <p>Logging is not configured by default so it has to be set up in BIDS. Even with logging configured, however, not all details will be logged to the log provider used. For instance, in my previous post where I discussed the <em>AcquireConnection method call failed </em>error, I talked about one cause being related to 32 bit providers in 64 bit environments. In the video embedded in that particular post, I showed the following error message from the BIDS Execution Results window:</p>  <p><em>[Connection manager &quot;c:\ssis\ExcelFile.xlsx&quot;] Error: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_64BIT_ERROR.&#160; The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered -- perhaps no 64-bit provider is available.&#160; Error code: 0x00000000.</em></p>  <p>However, for the person investigating a package failure by analyzing SSIS log files, for instance, the above error detail won’t be found. Instead, all they will see is the error:</p>  <p><em>SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.&#160; The AcquireConnection method call to the connection manager &quot;c:\ssis\ExcelFile.xlsx&quot; failed with error code <font style="background-color: #ffff00">0xC0209303</font>.&#160; There may be error messages posted before this with more information on why the AcquireConnection method call failed.</em></p>  <p>Note, however, the highlighted error code, 0xC0209303.&#160; If investigating purely from what has been provided in the log file, this error code will need to be manually interpreted by searching for it in the following article:</p>  <p><a title="https://msdn.microsoft.com/en-us/library/ms345164.aspx" href="https://msdn.microsoft.com/en-us/library/ms345164.aspx">SSIS Error and Message Reference</a></p>  <p>Here is what the article provides in reference to the 0xC0209303 error code:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/13/metablogapi/3060.image_3C2E0C5D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-13-metablogapi/3060.image_5F00_3C2E0C5D.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/13/metablogapi/8662.image_thumb_34A29CF0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-13-metablogapi/8662.image_5F00_thumb_5F00_34A29CF0.png" width="552" height="71" /></a></p>  <p>If the Diagnostic logging event has been selected when the logging was configured for the Package, the log should include clues before the <em>AcquireConnection method call failed</em> error to help in determining provider details.&#160; In this case, the following Diagnostic events were logged:</p>  <p>&#160;<em>ExternalRequest_pre: The object is ready to make the following external request: 'IDataInitialize::GetDataSource(NULL, CLSCTX_INPROC_SERVER, ConnectionString: Data Source=c:\ssis\ExcelFile.xlsx;Provider=Microsoft.ACE.OLEDB.12.0;Persist Security Info=False;Extended Properties=&quot;Excel 12.0;HDR=YES&quot;;,...)'.</em></p>  <p><em>ExternalRequest_post: 'IDataInitialize::GetDataSource failed'. The external request has completed.</em></p>  <p>So, with a little effort, you can get more details from the log files than may actually be included in them.</p>]]></content:encoded>
    </item>
    <item>
      <title>Why can’t my package acquire a connection from its connection manager?</title>
      <link>https://docs.microsoft.com/archive/blogs/cdm/why-cant-my-package-acquire-a-connection-from-its-connection-manager</link>
      <pubDate>Wed, 11 May 2011 14:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Cathy Mi - MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cdm/2011/05/11/why-cant-my-package-acquire-a-connection-from-its-connection-manager/</guid>
      <description><![CDATA[I work as a Support Escalation Engineer in CTS at Microsoft, specializing in the SQL Server...]]></description>
      <content:encoded><![CDATA[<p>I work as a Support Escalation Engineer in CTS at Microsoft, specializing in the SQL Server Developer area.&#160; Within this area, I do a lot of work with SQL Server Integration Services (SSIS). This post is part one in a series pertaining to connection manager related problems in SSIS. One of the topics we get calls on the most for SSIS involves the error message:</p>  <p>DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER</p>  <p><em>The AcquireConnection method call to the connection manager &quot;__&quot; failed with error code __. There may be error messages posted before this with more information on why the AcquireConnection method call failed.</em></p>  <p>One of the most common reasons for this error is the lack of a 64 bit driver for the provider used by the connection manager mentioned in the error. The developer of SSIS packages/solutions should consider the environment to which their solution will ultimately be deployed long before the deployment stage. Whether or not the production environment is 64 bit or 32 bit is extremely important for several reasons – one being the availability of drivers in both environments.</p>  <p>There is common confusion around the drivers used by the Business Intelligence Development Studio (BIDS) environment verses the runtime environment. </p>  <h4>BIDS</h4>  <h1></h1>  <p>BIDS uses 32 bit drivers at design time when testing connectivity, previewing data, etc. When running/debugging a package in BIDS, the drivers used are determined by the <strong>Run64BitRuntime</strong> project property and whether or not the machine on which BIDS is running is 64 bit or 32 bit. If the development machine is 32 bit, 32 bit drivers will be used at design time and while running/debugging in BIDS. If the development machine is 64 bit, 32 bit drivers are used at design time and 64 bit drivers are used while running/debugging in BIDS by default, since the <strong>Run64BitRuntime</strong> property defaults to True. That is why it is possible to test a connection in BIDS and see it succeed, only to see the <em>AcquireConnection method call failed</em> error when running the package in BIDS. In that scenario, the 32 bit drivers are installed and working; but the 64 bit drivers are not.</p>  <p>Whether to change the default <strong>Run64BitRuntime</strong> setting depends on how you would like debugging to simulate the production environment. If ultimately the package will be deployed to a 64 bit environment and 64 bit drivers are available for the chosen providers, leave the default setting of True on 64 bit development machines and ensure that both 64 bit and 32 bit drivers are installed. Otherwise, change it to False. Keep in mind, however, that this setting, <strong>Run64BitRuntime</strong>, does not stay with the package once it is deployed. It is a BIDS project property which only impacts how the package is executed in BIDS. </p>  <p>Here is a quick demo of the <strong>Run64BitRuntime</strong> setting and its impact in a 64 bit development environment when using an Ole Db connection manager connecting to an Excel file:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:7b749414-173b-4612-b9b3-cd3dfcb4852c" class="wlWriterEditableSmartContent"><div><object width="460" height="345"><param name="movie" value="https://www.youtube.com/v/wxbzcxzpzic?hl=en&amp;hd=1"></param><embed src="https://www.youtube.com/v/wxbzcxzpzic?hl=en&amp;hd=1" type="application/x-shockwave-flash" width="460" height="345"></embed></object></div></div>  <h4>&#160;</h4>  <h4>SQL Server Agent</h4>  <p>By default, the SQL Server Integration Services Package job step type in SQL Server Agent will run a package using 64 bit Dtexec.exe on a 64 bit server. Therefore, the same <em>AcquireConnection method call failed</em> error will occur when the job step runs if no 64 bit driver is correctly installed for the providers used by the connection managers in the package. </p>  <p>In SQL Server 2008 and later, a check-box is available to specify “Use 32 bit runtime” when the job step runs. This check-box is on the Execution Options tab in the New Job Step dialog:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/13/metablogapi/3187.image_61BA12E2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-13-metablogapi/3187.image_5F00_61BA12E2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/13/metablogapi/4670.image_thumb_59C27080.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-13-metablogapi/4670.image_5F00_thumb_5F00_59C27080.png" width="871" height="507" /></a></p>  <p>Another option to use, especially in SQL Server 2005, is the Operating System (CmdExec) SQL Server Agent job step type, specifying the path to 32 bit Dtexec.exe in the command line:</p>  <p>C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtexec.exe /FILE &quot;C:\SSIS\Package.dtsx&quot; /CHECKPOINTING OFF /REPORTING E</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/13/metablogapi/7317.image_6FC8DC12.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-13-metablogapi/7317.image_5F00_6FC8DC12.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/13/metablogapi/4276.image_thumb_75374CB6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-13-metablogapi/4276.image_5F00_thumb_5F00_75374CB6.png" width="876" height="485" /></a></p>  <p>&#160;</p>  <p>The 64 bit/32 bit provider mismatch is one of the most common reasons for receiving the <em>AcquireConnection method call failed </em>error.&#160; I will be explaining and, hopefully, clarifying other scenarios for that error in future posts.&#160; </p>]]></content:encoded>
    </item>
  </channel>
</rss>