Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SSIS Flat File Destination File Extension Case Issue

Posted on 2011-09-28
5
Medium Priority
?
701 Views
Last Modified: 2012-05-12
Hello all,

I have an SSIS package that formats a flat file for importing into a third party application. The problem I am running into is the file extension of the file destination connection is showing up as upper case and the third party requires lower case. So my SSIS generated file is coming out as "DataFile_CCYYMMDD.POS" and it needs to be "DataFile_CCYYMMDD.pos". All of my variables are showing the file extension as lower case .pos, the file connection manager shows it as lower case, the expression on the connection evaulates to lower case, the script where I concatenate the date into the file name shows lower case extension, but file is written to the hard drive with an upper case extension. I have been unable to find where I can change this. Any help is appreciated.
0
Comment
Question by:Hooznext
  • 3
5 Comments
 
LVL 5

Expert Comment

by:MrNetic
ID: 36716514
Hi,
If you are running this as a job, you should check if someone else has changed the ssis job step, incluing package configurations and datasources.
0
 
LVL 21

Expert Comment

by:Alpesh Patel
ID: 36716781
At end of the Package use File system task and rename the file.
0
 
LVL 1

Author Comment

by:Hooznext
ID: 36716930
MrNetic, it is not in production yet, I am running this through Visual Studio. It is ready for final testing as soon as I figure out why all the extension are capital letters.

Patel, I could do this, depending on the day there can be thousands of files created by this job, to have to loop over them and rename them would introduce more overhead, I'd rather have the files named appropriately when they are created. This idea is a last resort for me.
0
 
LVL 1

Accepted Solution

by:
Hooznext earned 0 total points
ID: 37430195
I forgot this was still open, I found a query that was setting the extension to upper case after the fact. It was not an SSIS issue, but a database admin issue, sorry.
0
 
LVL 1

Author Closing Comment

by:Hooznext
ID: 37453037
Was an issue created by an admin in our database, nothing to do with SSIS.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question