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

How to Import and export cubes

$
0
0

Hi,

I have a Production Server and Development server. I have a Cube in Production server Called "Sales" i want to move this cube data from production server to development server by using a SSIS package Because i want to Create a Job for this package and run it daily. Please Help asap

Thanks in advance


umesh





Running scheduled job for SSIS package on importing data from Excel to DB causes errors

$
0
0
I am receiving the following error when running a scheduled job for SSIS package on importing data from Excel to DB. The SQL server version that I am using is 2008 R2 64 bit edition. I appreciate any help on this problem.

ate 21/01/2013 15:01:46
Log Job History (Import_DCM_Swaps)

Step ID 1
Server DBSQL
Job Name Import_DCM_Swaps
Step Name Import DCM Swaps
Duration 00:00:00
Sql Severity 0
Sql Message ID 0
Operator Emailed 
Operator Net sent 
Operator Paged 
Retries Attempted 0

Message
Executed as user: Comp\admin. Microsoft (R) SQL Server Execute Package Utility Version 10.0.5500.0 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 15:01:46 Error: 2013-01-21 15:01:46.66 Code: 0xC0202009 Source: ImportDCMSwaps Connection manager "Excel Connection Manager" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft Office Access Database Engine" Hresult: 0x80004005 Description: "Failure creating file.". End Error Error: 2013-01-21 15:01:46.66 Code: 0xC020801C Source: Data Flow Task GCC Protfolio [1] Description: 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. End Error Error: 2013-01-21 15:01:46.66 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline Description: component "GCC Protfolio" (1) failed validation and returned error code 0xC020801C. End Error Error: 2013-01-21 15:01:46.66 Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2013-01-21 15:01:46.66 Code: 0xC0024107 Source: Data Flow Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 15:01:46 Finished: 15:01:46 Elapsed: 0.609 seconds. The package execution failed. The step failed.

"The HTTP request was forbidden with client authentication scheme Ntlm. the remote server returned an error (403) forbidden"

$
0
0

  I have SharePoint 2010 claims mode Applications. Also SQL server 2008 r2.

 I can create SSIS package for Classic Mode SharePoint Application. But I could not create SSIS for Claims based SharePoint Applications. I require SSIS for Claims Based Application only.

I got the error "The HTTP request  was forbidden with client authentication scheme Ntlm. the remote server returned an error (403) forbidden". Please refer the below link which shows  my error msg.

     christianbahnsen.com/sharepoint_source_error_message.pdf

kindly solve my issue. Is there any extra configuration required for Claims Based SharePoint 2010 Application to create SSIS package?

Send Mail Task in the package deployment?

$
0
0

Hi all,

i create package.In package the data flow task is execute success \ failure  the information is send to the mail using  a Send Mail Task . When i run this package from SSIS Solution it is working fine  but when it is deployed to SQL server and try to run from SQL agent job it is not working. it give the  following error

Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  4:09:59 PM  Package execution on IS Server failed. Execution ID: 120092, Execution Status:4.  To view the details for the execution, right-click on the Integration Services Catalog, and open the [All Executions] report  Started:  4:09:59 PM  Finished: 4:10:27 PM  Elapsed: 28.641 seconds.  The package execution failed.  The step failed.

How to execute the package?


sreekanth kancharla

how to move cube.

$
0
0

Hi,

 I want to move a cube from one database to another database. Please help me ASAP.

Thanks in advance.


umesh

Error code = 80004002 No such Interface Supported

$
0
0

Hello All,

Iam  getting this  Error "No such Interface Supported"   when iam trying to access multiple clients remotely to SQL Server2008Ri.

Error Message:

Error code = 80004002 No such Interface Supported

lpsStatement;provider=SQLNLI10;Server=Esxsql2008;Database=Sec;DataTypeCompatiabilty=80;MARS...SE_ON_COMMIT=OFF;

* Iam able to connect one client and I can run the applliaction remotley.

* Iam working  on VMware ESX Mahines.

Any ideas on this problem ?

Mahesh KJ


How to check whether the file exists or not in the respective path using ssis?

$
0
0

Hi All,

I have scenario,where I have shared path in which customers will keeps the daily file.Now my requirement is I should know whether the file exists in the respective folder or not.I have to do that through ssis package.If the file exists or not i should get the mail saying that

"File exists or file doesn't exists."

Regards,

Sudha


sudha

SSIS Exec SQL Task

$
0
0

New to SSIS so can someone help me with the following and give me an example ??

1. Call a DB2 SP by using a Exec SQL Task on Control Flow. Return the Full Result Set and pass to a Data Flow Task.  ** I know how to call the SP but not sure how to return the Result Set and pass to Data Flow.     


Send mail task when look up task has no matching column

$
0
0

Hello everyone.

I was wondering how can i send an email using SSIS when a look up task has found atleast one no matching record. Also, when a look up has found a no matching error the dataflow task stops inserting the records to the destination and send an email telling the package stops because there is no matching error in one or many records from the source data.

i hope you can answer my question. thanks everyone..

create user account using API function in SSIS

$
0
0

hi All

I need to use one webservice function that is ADDUSER using SSIS.

that create user account one of website.

http://www.livedrive.com/ResellersService/ResellerAPI.asmx?op=AddUser

I have one table in SQl SERVER i need to take all input values from there thiose are needed for this API Function call.

here i'm attaching a asmx link.

Kindly help me .

thanks

With Regards

BI_group

search where a table is used

$
0
0

hello everyone,

i hpe anyone can help me with this issue

i'm working on documentation of an existing project

i'm trying to determine for each package if there is a package that has to run before it

for each source in each package i need to check if that table appears in another package

if so, i check if that package has to run before according to project's logic which i know

is there a way to automaticlly retrieve for a specific table a list of all packages that the table is a source/destination?

i know ther's an option in SSIS 2012to create a catalog and query but i'm using visual studio 2008 and ms sql 2008

thanks


Derived column transformation - removing embedded spaces

$
0
0

Hi,

After a few hours of fruitless searching I give uo and call upon the gurus ;)

I am trying to remove embedded spaces as part of a Derived column transformation for a name field, eg "Mr      Fred       Smith" should become "Mr Fred Smith", initially I thought REPLACE(Customer_Name,"  "," ") but of course that only reduces the number of occurences. The TSql equivalent would be:

While CHARINDEX('  ',Customer_Name) > 0
 set Customer_Name = REPLACE(Customer_Name,'  ',' ')

How do I iterate to replace ALL occurences aS a Derived column transformation?

Help most appreciated

Mark

what is the minimum permission needed to import package into msdb?

$
0
0

I have a package saved on a file system and I want to import it into msdb. RIght now I have very little previlege on the SQL Server. The server role is public and on msdb I have public and db_ssisoperator roles.

When I try to import the packge while logged into SSIS on Management Studio, I get this error message.

TITLE: Import Package
------------------------------

Access to Integration Services package 'MD_BBG_Daily_Basket_AYI' is denied. (Microsoft SQL Server Native Client 10.0)

------------------------------
BUTTONS:

OK
------------------------------

Doing some research online, it seems there are a bunch of other SSIS related roles in msdb, like

db_ssisadmin, db_ssisoperator, db_ssisltduser

but I am NOT able to see these roles. Do I need one of these roles to be able to import packages into msdb and if so how do I get these roles granted to me.


Importing with SSIS then updating a field

$
0
0
Hi

I'm currently importing a number of excel files into a SQL database with SSIS

I have now added a field "draft" to the table.

Is it possible to do the import as normal then within SSIS get the user to input a number the update the "draft" field with that number ?

Thanks for your help.

Andy

Excel Destination out of sync in data flow

$
0
0

My package currently takes a query from an access database and copies it to a table in a different access database. In the next data flow it takes the table and puts it into an excel spreadsheet. However when I try to run the whole package the MS Access to Excel data flow just hangs (see image) and returns the warning:

Warning: 0x800470C8 at ToExcel, Excel Destination [263]: The external columns for component "Excel Destination" (263) are out of synchronization with the data source columns. The external column "BUY" needs to be updated.
The external column "BUY_30" needs to be updated.
The external column "BUY_60" needs to be updated.
The external column "BUY_90" needs to be updated.
The external column "BUY_120" needs to be updated.
The external column "BUY_TOTAL" needs to be updated.
The external column "OFF_LOT_BILLED_CURRENT" needs to be updated.
The external column "OFF_LOT_BILLED_PAST_30" needs to be updated.
The external column "OFF_LOT_BILLED_PAST_60" needs to be updated.
The external column "OFF_LOT_BILLED_PAST_90" needs to be updated.
The external column "OFF_LOT_BILLED_PAST_120" needs to be updated.
The external column "OFF_LOT_BILLED_TOTAL" needs to be updated.
The external column "OFF_LOT_UNBILLED_CURRENT" needs to be updated.
The external column "OFF_LOT_UNBILLED_PAST_30" needs to be updated.
The external column "OFF_LOT_UNBILLED_PAST_60" needs to be updated.
The external column "OFF_LOT_UNBILLED_PAST_90" needs to be updated.
The external column "OFF_LOT_UNBILLED_PAST_120" needs to be updated.
The external column "OFF_LOT_UNBILLED_TOTAL" needs to be updated.
The external column "ON_LOT_CURRENT" needs to be updated.
The external column "ON_LOT_PAST_30" needs to be updated.
The external column "ON_LOT_PAST_60" needs to be updated.
The external column "ON_LOT_PAST_90" needs to be updated.
The external column "ON_LOT_PAST_120" needs to be updated.
The external column "ON_LOT_TOTAL" needs to be updated.
The external column "AUTO_DED_ALL_CURRENT" needs to be updated.
The external column "AUTO_DED_ALL_PAST_30" needs to be updated.
The external column "AUTO_DED_ALL_PAST_60" needs to be updated.
The external column "AUTO_DED_ALL_PAST_90" needs to be updated.
The external column "AUTO_DED_ALL_PAST_120" needs to be updated.
The external column "AUTO_DED_ALL_TOTAL" needs to be updated.
The external column "TOTAL" (463) needs to be removed from the external columns.

I had previously deleted the column "total" so I am not sure why that is even in the warning.

When I run just the data flow task it fails and I recieve the above warning along with the following error:

Error: 0xC0202009 at ToExcel, -zqryfinal_ [633]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
Error: 0xC02020E8 at ToExcel, -zqryfinal_ [633]: Opening a rowset for "tbl_fee" failed. Check that the object exists in the database.
Error: 0xC004706B at ToExcel, SSIS.Pipeline: "component "-zqryfinal_" (633)" failed validation and returned validation status "VS_ISBROKEN".
Error: 0xC004700C at ToExcel, SSIS.Pipeline: One or more component failed validation.
Error: 0xC0024107 at ToExcel: There were errors during task validation.

I have tried deleting the data flow and redoing it, but i continually recieve the same error.

Any suggestions?


How create Excel Destination dynamiclly on fly using SSIS

$
0
0

Hi Techies,

I created a package, in that i placed ForEach Loop Container inside that i placed DFT. I am using Excel Source and Excel Destination.

For reading the multiple files we used Foreach loop container component and we are able to read the multiple files dynamically,  up to here everything is fine.

But the problem is that we need to create the files(.xls or .csv) dynamically with the name as input file name at destination.

Is there any way to create EXcel Destination file Dynamically?

Thanks in advance...


Chandu

Dynamic set ConnectionString of Connection Manager programmatically

$
0
0

Hi all,


I want to set programmatically the ConnectionString property of an ConnectionManager object with the value of an user-definied variable . In this variable I've set the ConnectionString for my database (like Data Source=bla;User ID=blub;...).

Therefore I want to use following code:

Package current = _app.LoadFromSqlServer(_rootFolder + "\\" + folder + "\\" + packagename, _server, _username, _pw, null);
            current.Variables.Add("SourceConnString", false, "User", "Data Source=localhost;User ID=bla; Initial Catalog=Blub;Provider=SQLNCLI10.1;Persist Security Info=True;Auto Translate=False;");
Variable v = current.Variables[connStringVar];


foreach (ConnectionManager c in current.Connections)
{ 
   c.DelayValidation = true; 
   c.ConnectionString = "@[User::SourceConnString]";
}

But I get following error message:

"The connection string format is not valid. It must consist of one or more components of the form X=Y, separated by semicolons. This error occurs when a connection string with zero components is set on database connection manager.\r\n".

Why can I set the ConnectionString from one variable? When i go into Property Expressions Editor in VS I can set only one user variable for ConnectionString.

I hope, somebody can help me. Thanks.

Agent Job's Run As for SSIS Job Type

$
0
0

I'm trying to figure out how the content in the "run as" drop down box in an Agent Job affects the permissions needed when trying to run a SSIS package.

The job owner in this case is not a sysadmin (and from what I understand the job owner is the user that will run the job). Now, all the DB permissions needed for the package are within the connection managers inside the package so once the package gets going it should have all the access it needs to the various DB.

But when I run this job, I get an error saying I need a proxy account. So my question is, what permission implications does this "run as" thing have on running my package when all the permissions needed for the various DB access are in the connection managers?

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

$
0
0

Good Morning All,

I want to import data from Excel spread sheets into a SQL Server db. I'm developing this package on Windows 2008R2 (64bit machine) server. I created an EXCEL connection in the connection manager and then in the data flow task when i tried to use the same excel connection, i'm getting the following error.

"

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine."

Please need help.

Thanks


SV

Not possible to set Data type on Output Column and Script Component Text Editor just ends withou a message

$
0
0

good morning,

I have a script component with an Asynchronous output.  It had five columns in it and was working perfectly.  I needed to add another column to the output.  When I do, I am unable to change the datatype and seems to default to int.  there is a black strip in the dropdown and when I click on it it just goes back to my data flow without any message.

It seems like a bug.  Is there a work around.

My next step will be to delete the output and re enter the columns.  Not a difficult thing to do, however, this has happened before and I'm curious to see if I'm doing something  or it's a bug.  I'm on SSIS 2005.

Thanks for any and all help.


shash

Viewing all 24688 articles
Browse latest View live


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