Browse by Tags

All Tags » SSIS - Integration Services (RSS)

SQL Server Training in the UK–SSIS, MDX, Admin, MDS, Internals

If you are looking for SQL Server training they there is no better place to start than a new company Technitrain Its been setup by a fellow MVP and SQLBits Organiser Chris Webb. Why this company rather than any others? Training based on real world experience...

FTP doesn’t work with proxy accounts in SQL Agent – calloc error

Not sure this is a windows server 2008 R2 feature or more wide spread, I would guess that it applies to all windows operating systems. If you try and user a proxy account for a sql agent job that does an FTP using the windows FTP.exe , whether through...

How to downgrade Integration Services 2008 packages to 2005

Courtesy of an unnamed source we have an app to downgrade a SSIS package from the 2008 version to 2005. Whilst it works with the common components any new components aren’t supported with the exception of the Lookup. 3rd party components are also not...

SSIS - XML Source Script

The XML Source in SSIS is great if you have a 1 to 1 mapping between entity and table. You can do more complex mapping but it becomes very messy and won't perform. What other options do you have? The challenge with XML processing is to not need a...

SSIS - The expression cannot be parsed because it contains invalid elements at the location specified

If you get the following error when trying to write an expression there is an easy solution Attempt to parse the expression "@[User::FilePath] + "\" + @[User::FileName] + ".raw"" failed. The token "." at line number...

SSIS - Access Denied with UNC paths - The file name is a device or contains invalid characters

I spent another day tearing my hair out yesterday trying to resolve an issue with SSIS packages runnning in SQLAgent (not got much left at the moment, maybe I should contact the SSIS team for a wig). My situation was that I am deploying packages to a...

Execute Package Task Packages fail for no apparent reason

Much has been said about indirect configurations being the correct way to configure packages. This is definitely true with SQL 2008 as they fixed a number of issues with configuring the configuration, i.e. being able to pass int at runtime the location for the configuration settings.

Unfortunately I'm not using 2008, I'm stuck with SQL 2005 and I hit a rather annoying feature. You know, one of those features, that is really small but takes ages to debug. Fortunately I have logging enabled and so it wasn't that painful. A bit worse than stubbing your toe, but less painful than getting a hit by football in the crown jewels.

The problem I faced was that a package was failing even though I could see an error being fired. The first child package was running and reporting a failure.I looked at my log table and couldn't find anything. some warnings but no error.

My problem was that I was looking for the error after the package configuration warnings. We know that missing package configurations don't cause a package to fail (http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/1f7fe0db-a770-40e6-9e27-161af19e8c6f/, http://consultingblogs.emc.com/jamiethomson/archive/2006/05/25/SSIS_3A00_-Warning-but-no-error-if-an-environment-variable-is-missing.aspx)

When I looked at the configuration warnings I found errors. Go figure.

Well what I fugured was that if your configuration set has settings for a connection and that connection doesn't exist in your package then the package will report an error back to the calling parent package. So this behaviour is different to what happens normally.

Oddly this is only an issue for missing connections (and probably any other object that doesn't exist), its not an issue for variables because the Package.Variables object will always exist.

So to fix this just add the connections to your child packages and away you go, or make your configurations more granular. Its a fine line between having granular configurations and too many configurations.

 

...

XML Validation in SQL Server Intergration Services

I've been workig with XML in SQL Server Integration services this week and to say the XML task in SQL Server Integration services sucks is an understatement. Its buggy, the documentation is woefully inadequate in some cases wrong. I believe this was...

Error: The type of the value being assigned to variable ?? differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object

If you get the above error and you have no idea why (i.e you haven't changed the data type of a variable) then it is likely due to a data type inference issue with SSIS. You might think that SQL is returning a value of one type when in fact it isn't...

Ordering Integration Services Packages in Management Studio

Call me picky but it bugs me when things aren't in order. The SQL team seem to be really bad at this particular annoyance. They seem unable to put things in a nice order. If you are loking at packages in Management Studio then you will find the packages...
More Posts Next page »