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

Not able to browse to shared network path

$
0
0

Hi,

I'm trying to deploy ssis packages on SQL Server.  When I run the deployment manifest on the page "Select installation folder" I'm not able to browse to desired network shared path.  We can't even copy paste the folder path there.  I have added the shared folder to my "favorites" and also added that location to my computer's network location (right click on Computer >> add a network location) but still that drive doesn't appear.

I'm using Windows 7.

Any ideas?

Thanks



append data to existing table using SSIS

$
0
0

I had .txt file for April.

I used SSIS and loaded the data from this flat file to a table in a SQL Server database.

Now I have the task of inserting/appending the data of another .txt file (say: May) to the same table using SSIS.

Can someone give me the steps to perform this task?

ssis :splitting the control flow and validation error

$
0
0

hello everyone, 

I'm stuck with this problem.

My ssis package imports some xls files into an sql table for about 16months. Everything was fine until someone added a (missing) column in the xls file. I still need to be able to import both old and new files. So In my loopbox I added a script that returns the file.creationdate. Following this script I both the old and the new dataflow. The old one to manage the 10 columns files and the new one for the 11columns ones.  I added a precedence constrain on both green arrows. with this kind of expression: (year(@[User::FileCreationDate])==2013&& month( @[User::FileCreationDate])>4) and !(year(@[User::FileCreationDate])==2013 && month( @[User::FileCreationDate])>4) for respectivley the new and the old files.

When I run this, the script return the date. the Precedence constraint works too but as soon as I read the first file (an old one) I receive an error form the new dataflow :

Error: There were errors during task validation.
[SSIS.Pipeline] Error: "Medifarma" failed validation and returned validation status "VS_NEEDSNEWMETADATA".

Medifarma is the xls Source componant and I did put the delay validation to true. 

i'm working with the sql 2008r2 and i'm really out of idea.

Could someone help ?

thank you in advance.

fred

System Analyst on Buiness Analyst

$
0
0

I am just curious to know What is role of System Analyst on Business Analyst

I worked as a SSIS developer till now. This is some thing new to me that has come to me.


Smash126

Problem with 'set_execution_parameter_value' and project parameter

$
0
0

Hi,

In my SSIS Package I'm using a Project Parameter of type string. I want to set this parameter from stored procedure by using "set_execution_parameter_value". Here is my code.

DECLARE @customerFilter sql_variant = 'N0000' 
EXEC [SSISDB].[catalog].[set_execution_parameter_value]
        @exec_id,
        @object_type = 20,
        @parameter_name=N'CustomerFilter',
        @parameter_value = @customerFilter

According technet article the parameter_value needs to be sql_variant. But if I do so I get error

Msg 27147, Level 16, State 1, Procedure check_data_type_value, Line 26 The data type of the input value is not compatible with the data type of the 'String'.

Same when I use varchar(8000)

DECLARE @customerFilter varchar(8000) = 'N0000' 

SSIS freeze when copying data from a view - works fine when copying from a table

$
0
0

I have a view with 7876 records. When copying from that view to a table in another DB using SSIS, SSIS freezes.

If I insert the 7876 records into a temporary table, it takes 1 second. If I then copy the 7876 records from the temporary table to the table in the other DB using SSIS it takes 1 second. I do not understand why copying the same data from a table works, when it does not work when copying the data directly from a view.

I could of course make a temporary table for every view I would like to copy data from, but having more than 200 views, I would like to avoid that clumsy work-around.

Does anybody have the explanation why copying directly from a view does not work?

I am using SQL Server 2008 R2 SP2.

Importing a CSV File - Error 208

$
0
0

Hello:

I'm trying to import a simple test csv file into a test SQL table. Following are the parameters I'm working with:

  1. SQL Server 2000 tables
  2. Working within SQL Server Management Studio
  3. Trying to schedule a job to run daily
  4. I'm new to using the job scheduler

Following is my script for a step within the the job. It's at this point in the process, where I get the error message.

BULKINSERT NewSchedule_TblFROM'F:\folder1\folder2\CSV_ScheduleTbl_Export.csv'WITH(
FIELDTERMINATOR =',',
ROWTERMINATOR='0x0A')
GO

I'm getting the following error message:

Message

Executed asuser: ORG\username. Invalid object name 'NewSchedule_Tbl'.[SQLSTATE 42S02](Error 208).  The step failed.

The full name of the table is:

ORG\username.NewSchedule_Tbl

I've tried the following syntax - and gotten error messages on all attempts:

  1. ORG\username.NewSchedule_Tbl
  2. username.NewSchedule_Tbl
  3. NewSchedule_Tbl

Any suggestions would be very helpful.

Thanks Much:

Pavilion

Import from Excel with Script task in SSIS

$
0
0

Hi!

Im trying to learn how to import information from excel with ssis Script task. Could someone help me with the code i ve started with so it works. I get this error below.

Br Arne


Arne Olsson


Technical consideration of using SSIS (vs linked server)?

$
0
0

Dear all,

It seems to me that it does not make much sense in using SSIS in my case. I think using linked server will take much less time. Today I am shown by using Access, conversion can be done in about 3 hours (for one complex table) while using SSIS, it takes a lot of time.

Here is my case:

  1. Old data is in SQL 2000 format.
  2. New data is in SQL 2012 format.
  3. There are many tables to be converted. Some are 1 to 1 mapping. Some are 4 to 1 (joining tables together, say Students to People and Staff to People). Yet Students data has to be split over to People, PeopleContact, etc.
  4. Conversion is to be done 1 or 2 times during development.
  5. Old production has been copied to development server.
  6. Old production is very infrequent in use. I think just less than 5 transactions in the old system for the last year.
  7. Before the system is to be launched, will do another round of conversion using more updated production data.

I think a day (8 hours only) to convert 4 complex tables. With SSIS, it takes at least a day or two to do one complex table. Today I have seen with Access, just 3 hours. 

Can anyone explain what is the advantage of using SSIS over linked server in this case? Thanks.

error in package

$
0
0

Hi all,

 My package giving me this error. Can anyone give me brief insight about this..

"

An error occurred while assigning a value to variable "CompanyID": "Single Row result set is specified, but no rows were returned.".

"

Validate URL format in a column - SSIS

$
0
0

Hi,

I have a table with 4 columns. One of them contains URLs. Is there a way to validate the URL format in SSIS and have two outputs, one output will have records with valid URL and other output will have records with invalid URL.

Is this doable?

ThankS

Moving files to different folders and adding a date folder at th same time

$
0
0

Hi there,

Ive managed to get the following working.

I have files with Services within the file names, _SEN_, _EP_ , _FSM_ Etc

These files get moved to folders based on these names

Services\From\SEN

Services\From\EP

Services\From\FSM

And this works quite nicely. But what I am wanting is to add an extra folder which will split by a date folder. E.g.

Services\From\SEN\July_17_2013_1006

So Month day year and time(HH:MM)

Ive had a look round on the internet but havent found anything about this yet. Can I create this top level folder and move the file at the same time? Any help would be appreciated

Debbie

/Conn in command line to override config location

$
0
0

Hi we run std 2008 and are trying to use the /Conn option from the command line to override the design time config.

We're reading info at sites like

http://dougbert.com/blog/post/understand-how-ssis-package-configurations-are-applied.aspx but dont see enough to get the sysntax correct.   I see a guid (DTSID) in the dtsx file that would appear to be the one associated with the design time config file.   But I'm not sure.  I tried braces, double quotes etc but so far no luck.   I wouldnt know what conn manager name to use cuz there doesnt seem to be one when you create a config via the wizard.

Here is essentially what I have...

c:\program files\Microsoft SQL Server\100\DTS\Binn>dtexec /f "u:..." /Conn {my guid};"my override path"

but I keep getting an error basically saying the connectiion "{my guid}" is not found.  Anybody know how to use this?


db042188

SQL server linked server error while integrating with odbc driver

$
0
0

Hello

We are using MSDASQL (Microsoft oledb provider for odbc drivers)  and our own odbc driver to testing below scenarios 

1) using Rowsetviewer  tool  the connection is successful with our odbc driver. 

2) When we tried sql server  linked server 'Test Connection' we are getting below error message in windows event log

Faulting application name: sqlservr.exe, version: 2011.110.3128.0, time stamp: 0x50ded0a3
Faulting module name: bigsqldrv.dll, version: 0.0.0.0, time stamp: 0x51bfe4d0
Exception code: 0xc0000005
Fault offset: 0x00016de1
Faulting process id: 0x2284
Faulting application start time: 0x01ce6bde11382afa
Faulting application path: C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\sqlservr.exe
Faulting module path: C:\Program Files (x86)\IBM\IBM Big SQL Driver\win32\bin\driver.dll
Report Id: d114f0f4-d7d1-11e2-a6e4-00a0c6000000

Component Prog ID: SC.Pool 0 0
Method Name: IDispenserDriver::CreateResource
Process Name: sqlservr.exe
Exception: C0000005
Address: 0x66F66DE1

pls let us know why the odbc driver dll invocation is failing through sqlserver.

thanks

Error Logging not giving the exact information

$
0
0

Good Morning All,

I have a package and i have setup logging on it to capture the error messages, its a text file, but whenever the package fails and i look into the .txt  log file it doesnt  give me the exact error message instead gives me some code, can anyone please tell me what the error is:

PackageStart,SERVERABC,DDAD\SQLSERVICE,PACKAGESTAGELOAD,{57C50918-9CDF-4D47-AB42-D19648C9099E},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:12 AM,3/13/2013 1:00:12 AM,0,0x,Beginning of package execution.

OnError,SERVERABC,DDAD\SQLSERVICE,Import LETTER Facts,{AAC44A6A-2EA0-4EF5-A268-8EF7E2D33222},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1071636471,0x,SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E14  Description: "Deferred prepare could not be completed.".

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005  Description: "The incoming tabular data stream (TDS) protocol stream is incorrect. The stream ended unexpectedly.".

OnError,SERVERABC,DDAD\SQLSERVICE,Process all ENF VIO LETTERS,{9BD9E8F5-EB8B-43F5-BD71-285F71910C47},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1071636471,0x,SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E14  Description: "Deferred prepare could not be completed.".

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005  Description: "The incoming tabular data stream (TDS) protocol stream is incorrect. The stream ended unexpectedly.".

OnError,SERVERABC,DDAD\SQLSERVICE,Process all FACTS and their related DIMENSIONS,{30598208-5E22-428A-A4D7-9408CF114A34},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1071636471,0x,SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E14  Description: "Deferred prepare could not be completed.".

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005  Description: "The incoming tabular data stream (TDS) protocol stream is incorrect. The stream ended unexpectedly.".

OnError,SERVERABC,DDAD\SQLSERVICE,PACKAGESTAGELOAD,{57C50918-9CDF-4D47-AB42-D19648C9099E},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1071636471,0x,SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E14  Description: "Deferred prepare could not be completed.".

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005  Description: "The incoming tabular data stream (TDS) protocol stream is incorrect. The stream ended unexpectedly.".

OnError,SERVERABC,DDAD\SQLSERVICE,Import LETTER Facts,{AAC44A6A-2EA0-4EF5-A268-8EF7E2D33222},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1071611316,0x,OLE DB error occurred while loading column metadata. Check SQLCommand and SqlCommandParam properties.

OnError,SERVERABC,DDAD\SQLSERVICE,Process all ENF VIO LETTERS,{9BD9E8F5-EB8B-43F5-BD71-285F71910C47},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1071611316,0x,OLE DB error occurred while loading column metadata. Check SQLCommand and SqlCommandParam properties.

OnError,SERVERABC,DDAD\SQLSERVICE,Process all FACTS and their related DIMENSIONS,{30598208-5E22-428A-A4D7-9408CF114A34},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1071611316,0x,OLE DB error occurred while loading column metadata. Check SQLCommand and SqlCommandParam properties.

OnError,SERVERABC,DDAD\SQLSERVICE,PACKAGESTAGELOAD,{57C50918-9CDF-4D47-AB42-D19648C9099E},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1071611316,0x,OLE DB error occurred while loading column metadata. Check SQLCommand and SqlCommandParam properties.

OnError,SERVERABC,DDAD\SQLSERVICE,Import LETTER Facts,{AAC44A6A-2EA0-4EF5-A268-8EF7E2D33222},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073450901,0x,"component "Lookup LetterDateID" (701)" failed validation and returned validation status "VS_ISBROKEN".

OnError,SERVERABC,DDAD\SQLSERVICE,Process all ENF VIO LETTERS,{9BD9E8F5-EB8B-43F5-BD71-285F71910C47},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073450901,0x,"component "Lookup LetterDateID" (701)" failed validation and returned validation status "VS_ISBROKEN".

OnError,SERVERABC,DDAD\SQLSERVICE,Process all FACTS and their related DIMENSIONS,{30598208-5E22-428A-A4D7-9408CF114A34},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073450901,0x,"component "Lookup LetterDateID" (701)" failed validation and returned validation status "VS_ISBROKEN".

OnError,SERVERABC,DDAD\SQLSERVICE,PACKAGESTAGELOAD,{57C50918-9CDF-4D47-AB42-D19648C9099E},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073450901,0x,"component "Lookup LetterDateID" (701)" failed validation and returned validation status "VS_ISBROKEN".

OnError,SERVERABC,DDAD\SQLSERVICE,Import LETTER Facts,{AAC44A6A-2EA0-4EF5-A268-8EF7E2D33222},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073450996,0x,One or more component failed validation.

OnError,SERVERABC,DDAD\SQLSERVICE,Process all ENF VIO LETTERS,{9BD9E8F5-EB8B-43F5-BD71-285F71910C47},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073450996,0x,One or more component failed validation.

OnError,SERVERABC,DDAD\SQLSERVICE,Process all FACTS and their related DIMENSIONS,{30598208-5E22-428A-A4D7-9408CF114A34},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073450996,0x,One or more component failed validation.

OnError,SERVERABC,DDAD\SQLSERVICE,PACKAGESTAGELOAD,{57C50918-9CDF-4D47-AB42-D19648C9099E},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073450996,0x,One or more component failed validation.

OnError,SERVERABC,DDAD\SQLSERVICE,Import LETTER Facts,{AAC44A6A-2EA0-4EF5-A268-8EF7E2D33222},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073594105,0x,There were errors during task validation.

OnError,SERVERABC,DDAD\SQLSERVICE,Process all ENF VIO LETTERS,{9BD9E8F5-EB8B-43F5-BD71-285F71910C47},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073594105,0x,There were errors during task validation.

OnError,SERVERABC,DDAD\SQLSERVICE,Process all FACTS and their related DIMENSIONS,{30598208-5E22-428A-A4D7-9408CF114A34},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073594105,0x,There were errors during task validation.

OnError,SERVERABC,DDAD\SQLSERVICE,PACKAGESTAGELOAD,{57C50918-9CDF-4D47-AB42-D19648C9099E},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 1:00:14 AM,3/13/2013 1:00:14 AM,-1073594105,0x,There were errors during task validation.

PackageEnd,SERVERABC,DDAD\SQLSERVICE,PACKAGESTAGELOAD,{57C50918-9CDF-4D47-AB42-D19648C9099E},{F9AB2A0F-6EE4-4B89-9046-9688AECC5B9F},3/13/2013 3:44:56 AM,3/13/2013 3:44:56 AM,1,0x,End of package execution.


SV


ssis :splitting the control flow and validation error

$
0
0

hello everyone, 

I'm stuck with this problem.

My ssis package imports some xls files into an sql table for about 16months. Everything was fine until someone added a (missing) column in the xls file. I still need to be able to import both old and new files. So In my loopbox I added a script that returns the file.creationdate. Following this script I both the old and the new dataflow. The old one to manage the 10 columns files and the new one for the 11columns ones.  I added a precedence constrain on both green arrows. with this kind of expression: (year(@[User::FileCreationDate])==2013&& month( @[User::FileCreationDate])>4) and !(year(@[User::FileCreationDate])==2013 && month( @[User::FileCreationDate])>4) for respectivley the new and the old files.

When I run this, the script return the date. the Precedence constraint works too but as soon as I read the first file (an old one) I receive an error form the new dataflow :

Error: There were errors during task validation.
[SSIS.Pipeline] Error: "Medifarma" failed validation and returned validation status "VS_NEEDSNEWMETADATA".

Medifarma is the xls Source componant and I did put the delay validation to true. 

i'm working with the sql 2008r2 and i'm really out of idea.

Could someone help ?

thank you in advance.

fred

How to get ErrorColumnName in SSIS 2012

$
0
0

Hi there,

Please let me know how to get error column name in SSIS 2012 with out creating any additional component.




When dragging SSIS objects on canvas there is "shaking"

$
0
0

Hello,

     On my development box I applied a fix for SQL 2012 SP1 CU3 (http://support.microsoft.com/kb/2832017) the other day. Today I wanted to do some SSIS package development and I've run into a UI issue. When moving any SSIS object on the canvas the object shakes and jiggles around the location my mouse is as I drag it. Sometimes it randomly relocates itself to the top left hand corner. This is a brand new project with only a few objects on the canvas and I didn't have this problem before the update.

Anyone else encounter this and have a workaround for it?

Thanks!

datatype hierarchyid in SSIS

$
0
0

Is there a way to insert an hierachyid into a staging table using a OLE db. destination component, I tried use a varchar representing a canonical string to insert this into a hierarchyid column.

Greets Michaël

SSIS DFT Problem

$
0
0

Hello ,

I am working on SSIS package,
environment : BIDS 2008.
I am using a data flow task, that contains one excel source component at the start.
excel source component reads file & then we are doing other validation on data, that is OK
but if that component fails, I want to insert a record into SQL table (SQL 2008).
I am trying with "OLEDB command" component, "OLEDB Destination", "SQL Server Destination"
as an error output to "excel source" component. but it is not working. as soon as excel source component has error(turns red) then it does not move further.
even if I changed the setting of error output to "redirect row"it is not working.

can anyone please help.

Viewing all 24688 articles
Browse latest View live


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