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

A deadlock was detected while trying to lock variables

$
0
0

I put the vbscript in event handler "OnError" for one of my packages (it has sequence container which contain multiple data flow tasks). If any of data flow tasks fail, I want to capture the error message and append to the user variable user::emailText.  However, I received error when I ran it.

   Description: A deadlock was detected while trying to lock variables "System::ErrorDescription" for read access and variables "User::emailText" for read/write access. A lock cannot be acquired after 16 attempts. The locks timed out.

Here is what I do in vbscript.

On property,

set ReadonlyVariables:System::ErrorDescription

set ReadWriteVariables: User::emailText

Dts.Variables("emailText").Value = Dts.Variables("emailText").Value.ToString + Dts.Variables("System::ErrorDescription").Value + vbCrLf


Cannot create an OLE DB accessor

$
0
0

Hi ALL

I'm getting this error;

[OLE DB Destination [16]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E21  Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".

[OLE DB Destination [16]] Error: Cannot create an OLE DB accessor. Verify that the column metadata is valid.

[SSIS.Pipeline] Error: component "OLE DB Destination" (16) failed the pre-execute phase and returned error code 0xC0202025.

Please help me to resolve this issue.

SSIS 2012 Project Deployment Failure to SSIS Catalog

$
0
0

All,

Previously I've been able to deploy projects to the SSIS catalog, but recently I'm getting the following error message when it gets to the 'Deploying project' step of the Integration Services Deployment Wizard.



I've verified CLR is still enabled.  Not sure how else to troubleshoot.


Anthony Martin | www.pivotstream.com

SSIS tool for combining dimension tables into fact table

$
0
0

I am relatively new to SSIS, and am working on a data warehouse product. I have 4 DIM tables set and ready to go, but I am trying to load them into a fact table that takes the 4 surrogate keys, as well as two characteristics, sales-week and sales-day. 

My issue is both with the sourcing of the data from the 4 DIM tables to the FACT table, as well as calculating the two characteristics. I would normally just do this is sql studio and be done, but I am restricted to SSIS for this project.

For reference, my schema and data are as such: 

http://i46.tinypic.com/2eelqx3.png


All tables are created and populated, I'm just stuck on the last data flow step...

Query timeout expired

$
0
0

Hi,

I have written a query in ssis script component which inserts 3,00,000 records into a table. When I run it, I get QUERY TIMEOUT ERROR

[Script Component [1]] Error: System.Data.OleDb.OleDbException: Query timeout expired
   at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e)
   at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.PreExecute()
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPreExecute(IDTSManagedComponentWrapper100 wrapper)

I have changed timeout option to '0'(no timeout) in sql server. It worked fine on day1.

But when I tried it again I am getting same error. PLZ help in this

Thanks

how to debug ssis package in prod enveronment?

$
0
0

Hi,

In my Dev enviroment PaCKAGE is executing fine.

But in production environment it is not executing means package fails and it will tack much time to execute package.

How can i debug package in production?

Thanks & Regards

Ravi


Execute SSIS package from stored procedure

$
0
0

Hi,

I need to execute SSIS package from stored procedure. The SSIS package is stored in Stored Pakages\MSDB\<username>\Package1

I need the dtexec command. Please help.

Thanks

Exporting data to a web service

$
0
0

I have a requirement where we need to take data that is stored in a table or queue and transmit that data one row at a time to a web service (external). The service replies with success or failure and i then need to record that response to a field for that row then I move on to the next row. Is there a way to do this in SSIS? Is this the right approach?

I see a task in SSIS toolbox for web service task but I dont know if this is where I should be looking. Does anyone have samples of what I am attempting to do?

Thanks




SQL DATA BASE

$
0
0

Dear IT professional,

We are using windows 2008 server IA64 SP3 OS ( HP BL870 Blade server ) , Along with MS SQL server 2005 SP3 , our SQL database size is 250GB MDF. 40GB LDF , This serer always working  24/7 with 2700 Live database users . we created Vdisk from HP SAN storage and added to this  Server .

This Vdisk especially only  SQL database MDF, LDF purpose . Last week we have a problem . My server IP is pinging , My SQL database IP is pinging but I couldn't login to my server Local and remotely . Also my database  we couldn't access another server VIA SQl . Also our all branches stopped . finally we did restart my server . then everything is normal ....

Why this problem happened . please save US....

Advance Thanks

Subash 

 

SSIS option to trim all character fields upon import?

$
0
0

Does SSIS have an option to automatically trim (both left and right) all character data before importing it into  a table?

TIA,

edm2

SSIS: all rows are not imported from excel to table using ssis

$
0
0

Hi,

Excel columns are imported into three tables perfectly. After debugging package successfully completed and displays 10224 rows.

But if i see, destination table in database, its showing only 1000 records. Actual records are 10224 in excel sheet. Where is the problem.

SEND MAIL TASK

$
0
0

Hi I am using below link to create package.

http://www.jasonyousef.com/2012/02/ssis-send-e-mail-from-sql-table.html

All I am try to do is sending emails to the users

Sender email: support@xxx.gov

To Email: Select email from table

Subject: Request

Body: Sorry we already process the requests

I followed step by step but some reason I am getting error message "variable cannot be found"

I have 2 variable and looks like Data type is correct , don't know why I getting error message.

The above link doesn't tells Where I can put the body of the email, do I need to put my SMTP server name?

Any help will be appreciated


simam

Failed to import excel files to sql server table

$
0
0

Hi im developping a ssis package that import excel files (.xlsx) from a ftp server to a local folder then they are import to sql server table . im using a for each mapping to the name of files . the import from the ftp server to local work fine , but the import from the local folder to the sql table failed .

it seems that i have a problem in excel source . there is my errors :

Start SSIS package "Package.dtsx."
Information: 0x1 at Script Task, C # My Message: System.Collections.ArrayList
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase begins.
Error: 0xC0202009 at Data Flow Task, Excel Source [1]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E37.
Error: 0xC02020E8 to Flow Task data, Excel Source [1]: Failed to open a rowset for "Sheet1 $". Verify that the object exists in the database.
Error: 0xC004706B to Flow Task data SSIS.Pipeline: validation failed "component" Excel Source "(1)". Returned validation status "VS_ISBROKEN."
Error: 0xC004700C to Flow Task data SSIS.Pipeline: Failed to validate one or more components.
Error: 0xC0024107 at Data Flow Task: There were errors during task validation.
Warning: 0x80019002 at Foreach Loop Container: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors (6) reached the maximum allowed (1); leading to a failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the value of MaximumErrorCount or fix the errors.
SSIS package "Package.dtsx" finished: Success.
The program '[5504] Package.dtsx: DTS' has exited with code 0 (0x0).

As configuration i have : 

for the excel manager connexion , i made an expression for connectionString = @[User::variable1] +  @[User::DOWNLOAD_DIRECTORY_LOCAL] + @[User::FTP_FILE_URL]  +  @[User::variable2]

variable 1 =Provider=Microsoft.ACE.OLEDB.12.0;Data Source=

variable 2 = ;Extended Properties="EXCEL 12.0;HDR=YES";

i made also the delay validation property  to true for data flow task  , ftp task , foreach task and cexcel connection connection

Please help me , a spend 2 day to now the reason but i coudn't fnf anything ....thanks :)


If i drop index on target table what happend in ssis package?

$
0
0

Hi

If i drop index  on target table but that table is using lookup transformation what happens in my ssis package?

My package is fails are it will run successfully?

Thanks

JH Kiran.

What's the best way to get a MySQL database into SQL Server 2012 Reporting Services?

$
0
0

I'm trying to get a MySQL database into SQL Server 2012 reporting services as a shared data source, and getting absolutely nowhere after a day.

I've tried a couple of options. First, my specs:

Machine: Workstation running Windows 7 64 bit, SQL server: SQL Server 2012 Enterprise (evaluation), MySQL version: 5.1.68-cll, ODBC version: MySQL ODBC 5.2 driver (both 5.2a and 5.2w)

Ok, now my attempts:

  1. Create an ODBC connection and use this directly as a data source in MS SSRS.

This worked well initially, after a little mucking around I was able to get the ODBC connection working as a data source in the Report Manager interface.

The problem came when I went to use this data source in Report Builder 3.0. I was able to set this as the data source (connection tested fine). However, whenever I came to build a dataset from the data source, I always came up with this error: "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".

I tried every solution I could find to fix this, no luck.

Then I came across a post that said using a connection like this in report builder is always problematic and limited, and the best way to do this was to create a linked server then use this as the data source.

So that was method 2:

I have been trying to create a linked server in MS SQL Management Studio to the MySQL database. I've entered all the details according to what info I could find on the web, but it always hangs when I create it. The green circle just sits there spinning, and stays like that till I crash the whole program.

The linked server shows up in the server browser when I restart again, but when I test the connection it freezes management studio again, and the only way out is to crash it.

I would really appreciate some guidance on this, I'm only fairly new to all this and this has just about driven me crazy.



ROW count difference from flat file to table

$
0
0

I have an SSIS package that imports flatFile data to a table. The package has error output for flat file and oledb destination. The execution results show the flafile to have 176,863 rows and writes the same number to the destination but when I query the table there are only 93,456 rows in the table. Can anyone explain this?

[Source - scorecardts_tab [1]] Information: The total number of data rows processed for file "C:\Scorecardapp Test\scorecardts.tab" is 176864.
[FlatFile Errors [2210]] Information: The final commit for the data insertion in "component "FlatFile Errors" (2210)" has started.
[FlatFile Errors [2210]] Information: The final commit for the data insertion  in "component "FlatFile Errors" (2210)" has ended.
[Destination - SCORECARDAPP_TEST_NEW [1094]] Information: The final commit for the data insertion in "component "Destination - SCORECARDAPP_TEST_NEW" (1094)" has started.
[Destination - SCORECARDAPP_TEST_NEW [1094]] Information: The final commit for the data insertion  in "component "Destination - SCORECARDAPP_TEST_NEW" (1094)" has ended.
[Scorecardapp Table Errors [1652]] Information: The final commit for the data insertion in "component "Scorecardapp Table Errors" (1652)" has started.
[Scorecardapp Table Errors [1652]] Information: The final commit for the data insertion  in "component "Scorecardapp Table Errors" (1652)" has ended.
[SSIS.Pipeline] Information: Post Execute phase is beginning.
Progress: Post Execute - 0 percent complete[Source - scorecardts_tab [1]] Information: The processing of file "C:\Scorecardapp Test\scorecardts.tab" has ended.
Progress: Post Execute - 100 percent complete[SSIS.Pipeline] Information: "component "Destination - SCORECARDAPP_TEST_NEW" (1094)" wrote 176863 rows.
[SSIS.Pipeline] Information: "component "Scorecardapp Table Errors" (1652)" wrote 0 rows.
[SSIS.Pipeline] Information: "component "FlatFile Errors" (2210)" wrote 0 rows.

How to us a configuration file for uploading a file to a FTP server SSIS

$
0
0

I am haveing trouble with this i am a learning SSIS and i am very new to this

i need help with

Save the user name and password  into the configuration file.

I really need a step by step on how to do it

i then need to know how to use that user name and password so that i can up load it to the ftp

I know how to create a config file but i dont know how to edit it to have the right variables stored in there or even if i am doing that right

i know how to use ssis to transfer to a ftp just using the username and password in the Ftp connection mange but i need to use a variablesin the connection and i dont know how



Upload data from Excel in Sharepoint into SQL 2008 dB

$
0
0

Just a quick question - is it possible to upload data present in excel format stored in a SharePoint server into SQL server dB ?

Please can you suggest some helpful links as well.

2012 Balanced Data Distributor- Error Installing on Windows Server 2012

sort transformation using the complete Physical memory

$
0
0

Hi,

I have a ETL package, where I'm using the SORT transformation before Merge Join, here I have millions of rows coming from source, when the data passes through the SORT transformation, I'm ending with the error, as LOW Disk Space as its using the complete physical memory.

How to come out of this issue?

Viewing all 24688 articles
Browse latest View live


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