Link to home
Start Free TrialLog in
Avatar of Tony Oswald
Tony OswaldFlag for United States of America

asked on

SSIS Flat File Destination as a variable name

I am trying to assign the flat file destination as an expression/variable, and receiving an error
The expression evaluates correctly (see image 1), I have delayvalidation set to true, the file exists (see image 3), but when I run it, I receive an error saying "Error: The object name "\\mgshare01\vol1\APPS\Ftlmb\DMI\Branch301_Service1_20150604.txt" is not valid. The name cannot contain any of the following characters: / \ : [ ] . =

Can someone tell me what I am doing wrong?
error.docx
Avatar of Deepak Chauhan
Deepak Chauhan
Flag of India image

set variable like this

\\mgshare01\\vol1\\APPS\\Ftlmb\\DMI\\Branch301_Service1_20150604.txt

or
with double quote ata the start and end
"\\mgshare01\vol1\APPS\Ftlmb\DMI\Branch301_Service1_20150604.txt"
Avatar of Tony Oswald

ASKER

Tried both, and still the same error...
ASKER CERTIFIED SOLUTION
Avatar of Deepak Chauhan
Deepak Chauhan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
that was it!!  Thanks!