[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Errors using UNC paths with SSIS

Posted on 2014-07-16
Medium Priority
Last Modified: 2016-02-11
I have an SSIS package that works if run manually but when put into a job fails with the following message.

"Description: The file name "\\fileprint\ITDepartment\ToExport\PriceChanges\Pricechanges.csv" specified in the connection was not valid."

However I have a drive mapped where G: is equal to \\fileprint\ITDepartment (i.e. G:\ToExport\PriceChanges\Pricechanges.csv) and it works OK.  Is there a trick to using a UNC path with SSIS?

Thanks for the ideas
Question by:jdr0606
LVL 66

Expert Comment

by:Jim Horn
ID: 40200074
>when put into a job fails with the following message.
If you're deploying it to a server, then any paths need to be valid on that server.

>Is there a trick to using a UNC path with SSIS?
Nope, although it may be a deal where if you start up the server and run a job with that path, it fails, whereas if you click on the path in Windows Explorer and it works, then run the job and the job works.  No idea why that's happening.
LVL 11

Accepted Solution

John_Vidmar earned 2000 total points
ID: 40200658
I suspect one of the following:


Put \\fileprint\ITDepartment\ToExport\PriceChanges into Windows-Explorer, are you able to see the file Pricechanges.csv?  I like to use *cough*DOS*cough* to tell me exactly what are my drive mappings by issuing net use.


Which credentials are running your SSIS-package?  If you are using a SQL Server only-user then it cannot see any file-system except the server where it resides.  If you mapped a SQL Server user to an active-directory service-account then that service-account must have access to that folder structure.

Author Closing Comment

ID: 40201042
I was related to credentials and access to the folder on the network. The error which was thrown by the SSIS package noting that it could not find the file was simply because it didn't have permissions to the folder where the file was located.

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

872 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