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

LOGON FAILED FOR 'nt authority\anonymous logon'‎ , SSIS Project Deployment

$
0
0

I have an SSIS project solution which I have deployed from our development server to a SSISB Catalog on our dedicated SSIS test server. All the databases used by the packages are on our development server. I have created project parameters for connection strings to the databases. The connection strings use Windows integrated security.

On the SSIS server I have created an environment called TEST and have tried to execute one of the packages from SSMS on the SSIS server. However the package fails giving the following error 

CreationSearch_FullLoad:Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80040E4D  Description: "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.".

Anybody have an idea why this is happening. I am able to run the package with my credentials in BIDS.

 


Export to Excel data issue using SSIS

$
0
0

I have an SSIS Package that imports data from SQL To Excel file.  If the col in SQL Has a hash sign such as "#", in excel it shows up as a period i.e. ".".

How can I retain that "#" sign, when exporting to EXCEL???

Can Business Intelligence Development Studio (BIDS) 2008 be install Windows Server

$
0
0

Can we install Business Intelligence Development Studio (BIDS) 2008 on Window Application Server?

SSIS Stored Proce with Temp Table

$
0
0

Hi everyone.

I am working on a SSIS project, and I am stuck with store proc with temp table.

I am trying to use stored proc created for report as a data source and move result into other database table.

Store proc first generate #temp table, then creates #temp noncluster index, then select statement to call data from #temp table (with multiple joins).

Store proc was developed for report and optimized for data read.  However, when I try to use this stored proc as data source, I get 'Invalid Object name #Temp Table' error.

I did some research, but only thing I see is mostly calling data stored in temp table and using temp table for the source.  My case is bit different... temp table is used, but it goes through another multiple joins and returns result.

Any suggestions?

Thank you all for reading this!

SSIS Script component - Is there any way to make an output column as read/write

$
0
0

I am new to SSIS Script component. I have added a column under Output  runningtotal_salary. I do not see anywhere to set it read/write. By default it is writeonly.

On Input Columns one has an option for readonly, read/write etc but not on the output why? What is the work around?

SSIS package fails to start application lock timeout in SSISDB.catalog.create_execution

$
0
0

Hi,

I've recently upgraded my SSIS packages from SQL2005 to SQL2012 and I'm using SQL Agent to execute the pacakges. The jobs are failing about 20% of the time with a timeout error. I ran a trace to see what was causing the problem and the error occurs in the SSISDB.catalog.create_execution procedure when it calls sp_getapplock.

EXEC @lock_result = sp_getapplock
@Resource = 'MS_ISServer_Create_Execution',
@LockTimeOut= 5000,
@LockMode = 'Exclusive'

The timeout occurs in sp_getapplock when it calls sys.xp_userlock, the error number is 27195.

exec @result = sys.xp_userlock 0, @dbid, @DbPrincipal, @Resource, @mode, @owner, @LockTimeout

I have 11 packages that are all executed every minute so I suspect that this is 'causing' the problem. I had no issues when I execute 11 packages concurrently in SQL2005 or SQL2008.

Has anyone run into this problem? Do you have any idea how I can prevent this error other than scheduling the packages to run less frequently?

Note to MS - This is a significant blockingissue preventingus from upgrading to SQL2012 - it should be able to handle executing 11 packages per minute!

I'm running SQL2012 SP1 - 11.0.3000.0 (x64)

Thanks,

Tim

I have loaded data into destination table already? So hw can i remove/delete the duplicate values into that table?

$
0
0
 I have loaded data into destination table already? So hw can i remove/delete the duplicate values into that table?

SSIS FTP TASK runs, completes but does not receive file(s)

$
0
0

Have looked around quite a bit for my precise problem. Haven't found any.

Simple ftp "get" receive files not working in SSIS 2005 and 2008. THe FTP task runs, turns green for success but no files are received. No errors are received.

Works in SQL DTS 2000 and FTP command line.

I can "see" the directory in BIDS, but a receive doesn't work. (either for a single file or wildcard result is the same.

I have many other FTP processes using the FTP Task, this is only one reading from a MS FTP server internally. Please don't tell me the work arounds, as I already know them. I am looking for an answer to the above issue. I am assuming it is a MS bug.

 


MS BI overview question

$
0
0

Hello,

We have a microsoft BI solution that has 4 databases, 2 SSAS databases, 200+ SSIS packages and 100+ SSRS reports. The databases have over 800 tables. The users are very happy but our BI solution has grown bigger and we are now facing the point that it is becoming too complex. The problem is, suppose we change this field in the staging database, which other changes should we make ? Make those fields in that other database bigger. Change the reports X,Y,Z. Update the SSIS packages ? Other problem that field/value  in SSAS where is it coming from ? If you make an SSIS package, do you make it source driven (source table 1 is filling target tables 1 and 2 and 5) or targer driven (target table 1 is being filled by source tables 1, 4,5) ?

We are currently as SQL 2008 R8. Will SQL 2012 solve these problems ?

Any suggestions ?

Constantijn

Import complex matrix .csv into SSIS dataflow - to database

$
0
0

Oke, I have a nice question and I wonder if any of you can give me a good answer. Personally I have tried everything and concluded to use a script task and a raw file as solution.

Problem is:

I have a .csv file having a matrix-format like this:

time, code1, code2, code3...

date, value,value,value

date, value,value,value

date, value,value,value

...

Now I want to transform the matrix so I can store it easily in the DB so in this format:

time code value,

date, code1, value

date,code2, value

date,code, value 

...

What is the best way to perform this action. There is one additional note: 'The number of codes is not static. This will increase over the years til 10000+ codes. ( so a lot of columns)'

I have tried:

First solution: Forloop, but takes way to long.

Second solution: Pivot the data, however this takes a large amount of work to create a decent pivot and is not doable for 10000 codes.

Final solution: Transform the matrix using a script task, store the data in a raw file and use the raw file for the data flow. (Possibly the fastest way?)

I am curious about other advices/solutions.

Best regards,



I have a flat file in the source level so i want to pull that file into destination that displays the headers and footors?

$
0
0

I have a flat file in the source level so i want to pull that file into destination that displays the headers and footers and data section in the flat file destination adapter with containg source data

So hw can we display the data headers and footers and data some one help me this one

Metadata errors – OLE DB Source/Destination Components

$
0
0

I’m trying to perform dynamic processing of data to update destination tables with new and changed data. I’m pulling that data from a number of tables in one server to the other (from SQL 2005 to SQL 2008). The good thing is that table names and column names are exactly the same between the source and destination databases. I have already created all the necessary variables and expressions in SSIS to perform these dynamic tasks. My predicament now lies on metadata errors resulting from OLE DB Source and Destination components. May I know if there is a way to make the OLE DB Source and Destination components to dynamically adapt/update metadata definitions in line with the table names/definitions which will be constantly changing in the input variable? I have changed the ValidateExternalMetadata property to False, and I have also changed DelayValidation property to True but still I’m getting metadata errors.

I hope my question is clear.

Many thanks,


Mpumelelo

Difference between execution time of a package

$
0
0

I've a package which was created in BIDS (2008), When executing it, the runtime duration is approximately 90 seconds.

I've deployed the package and connected to Integration Service engine via SSMS to run the package, the runtime duration was 20-25 (!) minutes.

I'm using 32 bit runtime env and SQL Server 2008R2

What can cause this abnormal behavior of the duration?

Thanks

Datetime conversion in SSIS

$
0
0

Hi All,

I have a query regarding datetime conversion in SSIS.

I have a XML feed which is being generated from another system. It has a XML element with value in the format " 2012-11-29T19:22:00-05:00 "

When this XML feed is imported into the MS-SQL  using SSIS XML Source task, the value gets converted and is stored as " 30-11-2012 05:52:00 " . Not sure how the conversion happens.

Same for other values too.

" 2013-02-11T11:13:32-05:00 " gets converted to " 11-02-2013 21:43:32 "

Working with SSIS on AlwaysON SQL Server 2012

$
0
0

Hi all,

I already installed SQL Server 2012 sucessfully on two machines with Windows 2008 Server R2 ( Primary & Secondary) , the primary is read/write and the secondary is just read , my question here is that i cannot find the reason why the SSIS package that i already upgraded to 2012 from 2008 doesnt work on the AlwaysOn ? it retains an error has something to do with  ' intial catalog' ! 

Does anyone have any idea on solving it , and also refering to resource on how to configure SSIS on SQL Server 2012 AlwaysON Failover...?

Thanks in advance,

Bahaa Fadam


Cache Connection Manager- Value Can not be null error

$
0
0

Hi All,

In one of My SSIS package I am using Cache transformation and created cache file using cache connection manager. When I moved this package to Test environment it is showing the errorValue cannot be null. The cache file path is configured from variable and the variable have default value(Eg: C:\A\B\C.caw and this path not exist in test environment) run time the variable getting updated with correct value. even I sets delay validation to true but the package is raising on-error event.

Could any one please help me.

Thanks, Anil

FTP Task disable logging on folder creation

$
0
0

I have an FTP task that is set up to create a folder.  If the folder exists when the task runs, the task throws an error like this,

[Connection manager "FTP Connection Manager"] Error: Creating folder "/Test" ... 550 Directory already exists.

while I understand this the desired default behavior I would like to disable it.  I'm using SSISDB catalog to feed a watchdog client and this error gives me false positives.  In addition, after some searching, it appears the go-to solution is to use a Script Task however I have many legacy jobs that I'd like to minimize changes for.

Thank you for any and all help


What needs to be installed to be able to use excel file source and destination

$
0
0

I am on SQL Server 2008

 

My Data center has installed sql server on a windows server (call it db server) which includes integration services

 

Now I have BIDS and SQL Server SSMS installed on another windows server where I am developing SSIS packages... (call it db client)

I am not storing any SSIS packages on db server. SSIS packages will be on my DB client and executed from there.

 

Currently I am using Flat file sources and flat file destination on db client.

).

What needs to be installed (like Microsoft Excel..) on db server and db client to be use Excel Source and Excel destination. I am not interested in viewing Excel file on client (because that I can do on my PC). I and not storing any SSIS packages on db server. SSIS packages will be on my DB client and executed from there.

SSIS 2012 environments

$
0
0

Is it me that just doesn't get it or does handling different environments in SSIS 2012 totally su**?? 

I just recently started looking at SSIS 2012 and the new project deployment model and I just can't seem to get my head around how to properly add configurations for the different environments (dev/test/prod). I would assume that the Environments-folder in the Integration Services catalog would pick up the project parameters from the project and add the possibility of changing only i.e. the server name of a connection string, but seemingly you have to copy/paste the entire thing and then even map the environment variable (TOTALLY ridiculous name btw) manually later. What am I not getting here??

If this is actually the case I'l go back to the legacy package configurations in a heartbeat... 


Lumbago
www.thefirstsql.com

Error During Validation Conditional Split

$
0
0

Hi,

In my package i'm using conditional split operator to do some validation. The source is a flat file and the date field is of the data type DT_STR. The expression i'm using for validation is

ISNULL(DtCustPay) || DtCustPay < 1

But i'm getting the following error:

TITLE: Microsoft Visual Studio
------------------------------

Error at Data Flow Task [Validation [366]]: The data types "DT_WSTR" and "DT_I4" are incompatible for binary operator "<". The operand types could not be implicitly cast into compatible types for the operation. To perform this operation, one or both operands need to be explicitly cast with a cast operator.

Error at Data Flow Task [Validation [366]]: Attempt to set the result type of binary operation "DtCustPay < 1" failed with error code 0xC0047080.

Error at Data Flow Task [Validation [366]]: Computing the expression "ISNULL(DtCustPay) || DtCustPay < 1" failed with error code 0xC0047084. The expression may have errors, such as divide by zero, that cannot be detected at parse time, or there may be an out-of-memory error.

Error at Data Flow Task [Validation [366]]: The expression "ISNULL(DtCustPay) || DtCustPay < 1" on "output "Invalid Pay Date" (453)" is not valid.

Error at Data Flow Task [Validation [366]]: Failed to set property "Expression" on "output "Invalid Pay Date" (453)".

 

------------------------------
ADDITIONAL INFORMATION:

Exception from HRESULT: 0xC0204006 (Microsoft.SqlServer.DTSPipelineWrap)

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

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

Help needed please.

Thanks

Viewing all 24688 articles
Browse latest View live


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