AcquireConnection(txn) ???

Oct 7, 2005

In a script task I'm calling AcquireConnection(txn as Object) on a connection manager.

View 7 Replies


ADVERTISEMENT

VSA And ConnectionManager - AcquireConnection

Jan 19, 2006

Hi all

In a SSIS Package I have defined a ConnectionManager to
a SQL Server 2005.
Now I am trying to query data in a Visual Studio for Application Script.

I tried the following:
Dim local_SQLConnectionManager As Microsoft.SqlServer.Dts.Runtime.ConnectionManager
Dim local_SQLConnection As New System.Data.SqlClient.SqlConnection
Dim local_SQLDataReader As System.Data.SqlClient.SqlDataReader
Dim local_SQLCommand As New System.Data.SqlClient.SqlCommand

local_SQLConnectionManager = Dts.Connections("Name of ConnectionManager")
local_SQLConnection = CType(local_SQLConnectionManager.AcquireConnection(null), System.Data.SqlClient.SqlConnection)
local_SQLConnection.Open()
local_SQLCommand.Connection = local_SQLConnection

local_SQLCommand.CommandText = "SELECT something"
local_SQLDataReader = local_SQLCommand.ExecuteReader()
If local_SQLDataReader.Read Then
Dts.Variables("Just a variable").Value = local_SQLDataReader.GetString(0)
End If
local_SQLDataReader.Close()

It always stops on the line with the AcquireConnection:
Unable to cast COM object of type 'System.__ComObject' to class type 'System.Data.SqlClient.SqlConnection'. and so on ....

Thanks for any help

Frank Uray

View 3 Replies View Related

SSIS AcquireConnection From ASP.Net

Feb 3, 2008



I have written some code to programmatically create an SSIS package. The code runs well if I just stick it in a windows form button event handler (e.g. OnClick). The code works well if I wrap it up in a DLL and call the DLL from a windows application. The code works well if I suck the DLL into a Windows Service and a windows client calls the service to create and run the SSIS package. In other words, the code always works when I call from a windows (Forms) application - regardless of how the code is hosted.

Now, if I take the code and stick it in the event handler of a Web Form button - it fails.
If I use my DLL that wraps the code and call the DLL from a web form - it fails.
It I make a remoting call to a windows service that then calls the DLL - it fails.

Note, in my windows service I have taken every possible measure to disassociate the call from the identity of the client. The windows service has a listener thread that places the arguments for the package creation on a queue. The listener thread then signals an event. A different thread then pulls the arguments off of the queue and creates the package.

Mind you, all of this works great if the client to the windows service is a windows application. In fact, as I said, the code always runs if it is called from a windows application (directly or via the windows service). But, if my client to my windows service is an ASP.Net application, then the code always fails. I have no idea why the service would care who its client is - but it seems to. I printed out the identity of the User that owns the thread that the windows service uses to create and execute the package, it is not NETWORK SERVICE or ASPNET or any other user - it is the windows service user - which happens to be the administrator account on my machine.

The package creation always fails in the same place. A call to AcquireConnections for an OleDBDestination fails with COM error 0xC020801C. I assumed this was some sort of permissions error - though with my windows service running as administrator and doing all of the work related to the package, I cannot really understand why.

So, going down the path of permissions, I gave every user on my machine administrative priviliges on the machine and the database. That did not work. I then created a custom ASP.Net Application Pool so I could create a new user. I gave that new user Administrator permissions and it still does not work.

I am running Windows 2003, IIS6, SQL 2005, all 32bit, all on the same local machine which is not part of a domain.

This is truly magical. The code always works when called from windows and it never works when called from ASP.Net - even with a windows service in between.

I am totally stumped. Any help would be greatly appreciated.

View 4 Replies View Related

AcquireConnection Returns Null Value

Mar 18, 2007

I have the following code in my custom source component's AcquireConnection method -

if (ComponentMetaData.RuntimeConnectionCollection[0].ConnectionManager != null)

{

ConnectionManager cm = Microsoft.SqlServer.Dts.Runtime.DtsConvert.ToConnectionManager(ComponentMetaData.RuntimeConnectionCollection[0].ConnectionManager);

ConnectionManagerAdoNet cmado = cm.InnerObject as ConnectionManagerAdoNet;

if (cmado == null)

throw new Exception("The ConnectionManager " + cm.Name + " is not an ADO.NET connection.");

// Get the underlying connection object.
this.oledbConnection = cmado.AcquireConnection(transaction) as OleDbConnection;

if (oledbConnection == null)

throw new Exception("The ConnectionManager is not an ADO.NET connection.");

isConnected = true;

}

The value of oledbConnection is null.

I am trying to invoke the above method within a package that I am trying to create dynamically. Any help ?

private const string ADONETConnectionString = "Provider=SQLOLEDB.1;Data Source={0};Initial Catalog={1};Integrated Security=True;";

ConnectionManager PubTRCM = package.Connections.Add("ADO.NET:OLEDB");

PubTRCM.Name = "PubTR";

PubTRCM.ConnectionString = String.Format(ADONETConnectionString, paramPubServer, paramPubTRDB);

#region Create OLEDB Source Component

//Create a OLEDB Source Component
IDTSComponentMetaData90 Source = dataFlow.ComponentMetaDataCollection.New();
Source.Name = "OLEDBSource";

Source.ComponentClassID = typeof(Microsoft.Samples.SqlServer.Dts.AdoSourceSample).AssemblyQualifiedName;

//Get the design time instance of the source
CManagedComponentWrapper SourceDesignTime = Source.Instantiate();

//Initialize the component
SourceDesignTime.ProvideComponentProperties();

if (Source.RuntimeConnectionCollection.Count > 0)
{
Source.RuntimeConnectionCollection[0].ConnectionManagerID = PubTRCM.ID;
Source.RuntimeConnectionCollection[0].ConnectionManager = DtsConvert.ToConnectionManager90(PubTRCM);
}

SourceDesignTime.SetComponentProperty("SqlStatement", "Select PlantId from PlantDim");

//Reinitialize the metadata
SourceDesignTime.AcquireConnections(null);
SourceDesignTime.ReinitializeMetaData();
SourceDesignTime.ReleaseConnections();

#endregion

View 3 Replies View Related

SSIS AcquireConnection Error

Aug 8, 2006

I have written an SSIS Package that connects to an Oracle database through SQL Authentication. Whenever I execute the package in BIDS it executes without a problem but when I try to schedule the package as a Job I recieve an AcquireConnection Error. Any help?

I have tried the solutions outlined in http://support.microsoft.com/kb/918760 and have read through the KB but have found few solutions that pertain to connecting to remote Oracle databases through SQL Authentication. Any help would be much appreicated.



View 7 Replies View Related

AcquireConnection Returns Null

May 15, 2006

Hi,

we are facing some issue to get the underlying OledbConnection from the runtime ConnectionManager.

below is the code sample that we are using

IDtsConnectionService conService = (IDtsConnectionService)this.serviceProvider.GetService(typeof(IDtsConnectionService));

if (conService == null)

return;

ArrayList conCollection = conService.GetConnectionsOfType("OLEDB");

for (int count = 0; count < conCollection.Count; count++)

{

string conName = ((ConnectionManager)conCollection[count]).Name;

if (conName == conMgrname)

{

conMgr = DtsConvert.ToConnectionManager90((ConnectionManager)conCollection[count]);

ConnectionManager cm = DtsConvert.ToConnectionManager(conMgr);

Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerAdoNet cmado = cm.InnerObject as Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerAdoNet;

OleDbConnection conn= cmado.AcquireConnection(null) as OleDbConnection;

}

}

In the sample above the conn is null.



To this query Darren replied to use the connection of type ADO.NET:System.Data.OleDb.OleDbConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 to create the connection.

Your call to GetConnectionsOfType("OLEDB"); will return native OLE-DB connections, not ADO.NET connections, using the OleDbConnection.

The connection type for the ADo>NET OLE-DB connection is -

ADO.NET:System.Data.OleDb.OleDbConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089


but if user creates an New OLEDB Connection from the Connection Manager panel of the BIDS and selects the same from the custom UI how to get the underlying OLEDBConnection? the CreationName in this case is "OLEDB" and not ADO.NET:System.Data.OleDb.OleDbConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.

View 7 Replies View Related

OLEDB AcquireConnection Issues

Sep 12, 2006

On day 1 of the first package. In playing around with some settings for using variables, I've seemed to have set a few things that are causing issues.

In my dataflow I have a source and target destination with 3 separate lookups. All of these objects utilize the same connection manager. When trying to revert the package to a ProtectionLevel=EncryptSensitiveWithUserKey, I'll see one of the 5 objects fail with a No AcquireConnection issue. I'll stop the debug, test the connection to re-validate it. The next debug run will cause the next object to fail. This repeats in an infinite loop until I get tired of re-validating all of the objects.

What option have I set that has screwed up things?

ControlFlow.Security.ProtectionLevel=EncryptSensitiveWithUserKey

Connection.DelayValidation=False

Connection.RetainSameConnection=False

Any Ideas? Thanks in advance.

View 1 Replies View Related

AcquireConnection Error - Lookup Component

May 10, 2006

Hi,

Trying to get a particular SSIS is package working - while running the Package Installation wizard a package is reported with the following errors:

AcquireConnection method fails with error code 0xC0202009
Then Lookup fails validation and returns code 0xC020801C

The odd thing is the Lookup does not exist in the package, it did exist at one point but was deleted.

I have tried searching the XML and can't find any reference to the Lookup

Any suggestions appreciated...

Thanks,

John



View 4 Replies View Related

Excel 2007 AcquireConnection Error

Mar 14, 2007

I'm creating a small test package that copies a value from an Excel 2007 worksheet into a SQL 2005 database (SP2). When I do an Execute Task, I get the following error:


SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager \loripMandEScorecardsSQLQueryExample.xlsx failed with error code 0xC0202009.

However, if I do a "Preview" in the Editor for this same Excel Source task that fails, the data comes up as I would expect. What am I missing?

Thanks in advance!

View 2 Replies View Related

SSIS AcquireConnection Error Is SQL Server 2005

Oct 11, 2006

I open a package in SSIS I get the following errors.Validation error. Create TestKeys For Scan Records: TestKeys Table in AEISIT Import db [1]:The AcquireConnection method call to the connection manager "AEISIT Upload" failed with error code 0xC0202009. ScanUpload.dtsx 0 0 I open my connections in the connection manager and set them to the (local) server and the errors go away.Then I close and reopen the package and the errors are back.What am I doing wrong??

View 2 Replies View Related

Reading DBASE IV Files (dbf) - AcquireConnection Fails

Apr 14, 2006



Has anyone had any trouble moving a package using a OLE DB Connection Manager reading DBASE IV files? While developing I never had a problem, the confiugration string described int his thread (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=76237&SiteID=1) worked just fine. Since I have enabled Configurations, my package will always fail when trying to read the dbf file. I've gone through just about every setting in the config file that I can think of.



Information: 0x4004300A at MyDataFlow, DTS.Pipeline: Validation phase is beginning.

Error: 0xC0202009 at MyPackage, Connection manager "MyDBASEIVConnManager": An OLE DB error has occurred. Error code: 0x80040E21.

An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".

Error: 0xC020801C at MyDataFlow, OLEDBFileSource [15]: The AcquireConnection method call to the connection manager "MyDBASEIVConnManager" failed with error code 0xC0202009.

Error: 0xC0047017 at MyDataFlow, DTS.Pipeline: component "OLEDBFileSource" (15) failed validation and returned error code 0xC020801C.

Error: 0xC004700C at MyDataFlow, DTS.Pipeline: One or more component failed validation.

Error: 0xC0024107 at MyDataFlow: There were errors during task validation.

View 3 Replies View Related

AcquireConnection Throws COMException (0x80131904) In Custom Component

Mar 25, 2007

We have built a custom component that is run in a dataflow contained in a sequence container, which in turn is contained in a loop. Transactions are enabled on the sequence container in such a way that if one step in the loop fails, that step is rolled back but the loop continues. Now, whenever anything happens causing a rollback in one of the iterations, sometimes the call to AcquireConnection in the next iteration will fail with the following error:

Error: 2007-03-25 09:47:31.98
Code: 0xC0047062
Source: KODPLAN Surrogate Key KO_ID [8204]
Description: System.Runtime.InteropServices.COMException (0x80131904): Exception from HRESULT: 0x80131904
at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager90.AcquireConnection(Object pTransaction)
at Intellibis.SqlServer.Dts.SurrogateKeyTransform.AcquireConnections(Object transaction)
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper90wrapper, Object transaction)
End Error

Is there a way to avoid this? It causes that particular iteration to fail as well as the one causing the rollback.

Regards,
Lars

View 5 Replies View Related

AcquireConnection Method Call To The Connection Manager Failed

Feb 13, 2008

Hi All,
I have a DB2 database on aix server. we had to move some tables to SQL Server 2005. We created individual SSIS files for each table and saved it on the desktop. When I run the package file by double clicking on it the "Execute Package Utility" dialogue box appears and I can click on the "Execute" button and everything goes fine.
But if I try to open the same package using "SQL Server Business Intelligence Devlopment Studio" or to run the same package with DTEXEC /f <Filename> , it gives me below error.
=====================================================================================
Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
=====================================================================================


I am stuck on this error and need help!!!

Shailesh

View 1 Replies View Related

AcquireConnection Error Importing DBaseIV Files Using SQL Agent

Jul 14, 2006

I've got an SSIS package that I've been testing all week and it runs fine in Visual Studio. The package uses an OLE DB connection manager to access the dBase files using the Jet Provider. The dBase files are stored on a remote file share. There are a series of identical files held in different dated folders. I use a ForEach loop to move through the folder list and import the data as I go. When I deploy it to the server and try to run it, I get the following:

The AcquireConnection method call to the connection manager "Aloha" failed with error code 0xC0202009.

Aloha is the ConncetionManager to the dBase files. I've searched everywhere I can for ideas on how to solve this. I've made the SQL Agent Service is running under the same account I used to author the package. I've made sure that the package is using Server Storage. Everything looks like it should be working.

Can anyone give me any other items I can look into?

Thanks!

Barry Austin

View 4 Replies View Related

The AcquireConnection Method Call Failed With Error Code 0xC0202009.

Aug 11, 2005

I have a SQL Server Agent job with a step to execute an SSIS package.  The package has as one of it's connection managers the Connection Manager For Excel Files.  When I run the job it fails every time.  I have implemented logging and in the OnError event it states "The AcquireConnection method call to the connection manager "LOBMappingExcel" failed with error code 0xC0202009". 

View 9 Replies View Related

The AcquireConnection Method Call Failed With Error Code 0xC0202009.

Dec 7, 2005

I've seen the previous threads on this (although maybe not all of them). However, i don't think I'm getting the error for the same reason. The full error I'm getting is:

View 73 Replies View Related

SSIS - AcquireConnection Method Call To The Connection Manager Failed

Aug 30, 2006

Hi all,

I am facing a problem with the connection method, it says,

"[Store [10069]] Error: The AcquireConnection method call to the connection manager "Data Source Destination" failed with error code 0xC001A004. "

(Store - Look up component.)

This problem occurs only when i am using Transaction option, all the component(Look up,Destination etc) says the same error message in the Pre-Execute phase. But i can open the component and can able to see the data in preview.

And also this is not occuring in our testing environment. We have copied the same pakages in our production, the package failed stating the above. I can not simulate the same problem in my testing server.

Has anyone faced this kind of problem? please help me to solve this.

Thanks.

-Swarna.

View 17 Replies View Related

AcquireConnection Method Call Fails When Scheduling A Job With Excel Connection Manager?

May 9, 2006

I have a SSIS package that reads the data from an Excel file using an Excel Connection Manager and imports the data to a table on a SQL Server 2005 DB instance.

When I run this package locally on the server the package being on the file system, the package executes perfectly. Now I upload the package to the msdb database and the run the package from there and the package still executes successfully.

Now I schedule the package to run as a SQL Server Agent job and the package fails and when the logging is enabled I see this in the log file;

OnError,WEB-INTSQL,NT AUTHORITYSYSTEM,Copy to CRN-ALLOCATION_COMMENTS_TEMP,{40A6BF6E-7121-448B-A49D-DED58FDC746A},{BD991566-F4BD-41BC-AEBF-264032D8D0D3},5/9/2006 1:54:52 PM,5/9/2006 1:54:52 PM,-1071611876,0x,The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.

OnError,WEB-INTSQL,NT AUTHORITYSYSTEM,Copy to CRN-ALLOCATION_COMMENTS_TEMP,{40A6BF6E-7121-448B-A49D-DED58FDC746A},{BD991566-F4BD-41BC-AEBF-264032D8D0D3},5/9/2006 1:54:52 PM,5/9/2006 1:54:52 PM,-1073450985,0x,component "Allocation Comments" (1) failed validation and returned error code 0xC020801C.

I am wondering why the AcquireConnection method call is failing when the package is scheduled? I am running the step as a SQL Agent Service Account and it is the Local System account that starts up the SQL Server Agent and Server and is an Administrator on the box.

Any inputs will be much appreciated.

Thanks,

M.Shah

View 7 Replies View Related

Help! AcquireConnection Method Call To The Connection Manager Failed With Error Code 0xC0202009

Feb 17, 2006

The package runs fine if I run it by itself. Unfortunately we want to call it from another package and when we do so it fails everytime with the following error; "AcquireConnection method call to the connection manager "BPCSF" failed with error code 0xC0202009." This package is calling an AS400 and pulling data from it into a staging environment. The task that is failing is 4th task on the list and is the 3rd task to call the AS400 environment. If I need to provide more information I would be happy to do so. Any help would be greatly appreciated. Thanks!

-Krusty

View 1 Replies View Related

Pre-Execute AcquireConnection Method Call Fails Inside Sequence Container (transaction Required)

Jun 1, 2006

I've created an SSIS package that contains a Sequence Container with TransactionOption = Required. Within the container, there are a number of Execute Package Task components running in a serial fashion which are responsible for performing "Upserts" to dimension and fact tables on our production server. The destination db configuration is loaded into each of these packages using an XML configuration file. The structure of these "Upsert" packages are nearly identical, while some execute correctly and others fail. Those that fail all provide the same error messages.

These messages appear during Pre-Execute

[Insert new dimension record [1627]] Error: The AcquireConnection method call to the connection manager "DW" failed with error code 0xC0202009.

[DTS.Pipeline] Error: component "Insert new dimension record" (1627) failed the pre-execute phase and returned error code 0xC020801C.

... which are followed by

[Connection manager "DW"] Error: The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction.".

[Connection manager "DW"] Error: An OLE DB error has occurred. Error code: 0x8004D00A.

While still in debug mode, I can check the properties of the "DW" connection and successfully test the connection within the packages that fail.

The same packages run successfully when tested outside the container (i.e. no transaction) or when the configuration file is modified to point the "DW" connection to a development version of the db which is running on the same server as the source database.

I have successfully used DTCtester to verify that transactions from source to destination server are working correctly. Also tried setting DelayValidation = True with no change. I have opened a case with Microsoft and am awaiting a reply so I thought I'd throw a post out here to see if anyone else has encountered this and might have a resolution. Here's some more on the environment:

Source Server:

Windows Server 2003 Enterprise Edition SP1
SQL Server 2005 Enterprise Edition SP0

Destination Server:

Windows Server 2003 Enterprise Edition SP1
SQL Server 2000 Enterprise Edition SP3 (clustered)

Thank you in advance for any feedback you might be able to provide.

KS

View 4 Replies View Related

The AcquireConnection Method Call To The Connection Manager Myconnection Failed With Error Code 0xC0202009.

Oct 9, 2007

I can run this package in Studio and it works fine, but when I run it from SQL Server Agent, it throws this error. Does anybody know what would cause this problem. This appears to occur during validation for the package because none of the data flow steps run. The connection being used is the same connection used in all of the data flows. If validation is done in order, then prior steps using the same connection are passing validation.

Thanks,

Steve

View 5 Replies View Related

The AcquireConnection Method Call To The Connection Manager Server.Northwind Failed With Error Code 0xC0202009;

Aug 20, 2007

Error at Text Inbound Task [SQL Server Destination [9]]: The AcquireConnection method call to the connection manager "Server.Northwind" failed with error code 0xC0202009.
Error at Text Inbound Task [DTS.Pipeline]: component "SQL Server Destination" (9) failed validation and returned error code 0xC020801C.

Please keep me posted with alternate work around(s) /solution(s).

View 1 Replies View Related

The AcquireConnection Method Call To The Connection Manager &&<Connection Name&&> Failed With Error Code 0xC020200

Feb 14, 2008

Hi All,
I am getting the following error if I am using the package "Transaction Option=Required" while running through Sql Job:
The AcquireConnection method call to the connection manager "<connection name>" failed with error code 0xC0202009.

while I running the SSIS package on BI environment, I am getting the following error:
[Connection manager "<connection name>"] Error: The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction.".

I know the alternative solution is to make the "Transaction Option=Supported", but in my case I have run the whole flow in a single transaction. I came to know that this has been fixed in the service pack1(ref. to http://support.microsoft.com/kb/914375). FYI.. some time it was running successful.

I have taken all the necessary step to run the SSIS package in a distributed transaction(like the steps for MSDTC) and also created the package flow in a sequence.

I was going through the link - http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=160340&SiteID=1 but all those didn't solve my problem.

If anyone can help me it will be great. or it is a bug in SSIS?

Thanks.
Jena

View 5 Replies View Related

The AcquireConnection Method Call To The Connection Manager 'Blah Blah' Failed With Error Code 0xC0202009.

Apr 27, 2007

Hello everyone,



I am struggling with this error and it's starting to get to me!



I have setup a simple project with just a data flow task. In this task, it retrieves a simple record "Select * From Table1 WhereId=1". The connection is an OLE Db connection using Advantage Oledb Provider (a provider for accessing dBase). It is accessing a Novell network drive. I have setup the package to both "EncryptSensitiveWithPassword" and "DontSaveSensitive". Both times i have received this error.



The funny thing is, when I set the package to "EncryptSensitiveWithPassword" and I setup a job to run the package, it never asks me for the password even though I set one up! I have a previous package (few months ago I made) that accessed the same database on the same Network drive and it works! It also asks me for a password when I try to modify or run the package (b/c I set it to "EncryptW/Password").



Can anyone give any light into this problem?



Thansk for all your support,



Adrian



View 1 Replies View Related

Failed To Acquire Connection / The AcquireConnection Method Failed

Nov 11, 2005

I am running the Sept CTP.  I have created a SSIS package that pulls data from a text file and inserts into a database.  When I run the package on the DB server it runs fine.  I have moved the package the the web server (we are attempting to kick off the package from a web site) and we get connections errors. We are running the package using dtexec from the command line.

View 7 Replies View Related

The AcquireConnection Method Call To The Connection Manager Excel Connection Manager Failed With Error Code 0xC0202009

Mar 24, 2008

I am using SSIS 2005 on Windows 2003 server. Using Excel Source to dump the data for staging database.
I am getting following error while I execute it through BI studio's execute button.

Please help.

- Sachin

View 2 Replies View Related

The AcquireConnection Method Call To The Connection Manager Excel Connection Manager Failed With Error Code 0xC0202009

Mar 11, 2008

I have deployed my packages into Sql Server and I am using Configuration File. As my Data Source is Excel, I have changed the connection string during deployment with Server Path. But I am getting the following errors. Actually the File Exist in Path. May I know What is cause of the issue? Do I need to give any permission to execute the package.



SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.



component "Excel Source Service Contract Upload" (1) failed validation and returned error code 0xC020801C.

One or more component failed validation.



There were errors during task validation.

DTS_E_OLEDBERROR, Error Code: 0x80004005 Source: "MS JET DB Engine" Description : Path is not valid


View 27 Replies View Related

Error: The AcquireConnection Method Call To The Connection Manager Excel Connection Manager Failed With Error Code 0xC0202009.

Dec 27, 2007

Hi,

I am working on SQL Server 2005 (x64) with Windows Server 2003 (x64) operating system. I am having a major issue in SSIS. Here is the detailed explanation of the issue :

I have an EXCEL file in 2003 / 2007 version. It contains some data. I want to import the data using SSIS into SQL Server 2005 (x64) database table. I have taken "EXCEL FILE SOURCE" and "SQL Server DESTINATION". It was failed on importing data. Surprisingly it works fine in SQL Server 2005 (x32). Can you please explain why it is NOT woking on (x64) ?

Here is the error code i am getting:

[Excel Source [1]] Error: The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.

Appreciate your time and patience !!

Thanks

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved