dbTalk Databases Forums  

UNC path name in SSIS Flat file connection

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss UNC path name in SSIS Flat file connection in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Truc H.
 
Posts: n/a

Default UNC path name in SSIS Flat file connection - 04-03-2008 , 09:54 AM






Hi ,
We are using SSIS 2005 and have a Flat File Connection in a package.
The connection is pointing to a Mapped network drive (let see
S:\file\myfile.txt) amd the package is running fine.
Now in the Connection ConnectionString property I replaced the pathname
using UNC (let see \\sww\web - sss\file\myfile.txt) but the package can not
find the file anymore. I even tried to create a brandnew Flat file connection
by entering the UNC in the dialog box but it keeps telling me that the file
name is invalid.
Any clue ?


Reply With Quote
  #2  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: UNC path name in SSIS Flat file connection - 04-07-2008 , 07:10 AM






On Apr 3, 3:54*pm, Truc H. <Tr... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi ,
We are using SSIS 2005 and have a Flat File Connection in a package.
The connection is pointing to a Mapped network drive (let see
S:\file\myfile.txt) amd the package is running fine.
Now in the Connection ConnectionString property I replaced the pathname
using UNC (let see \\sww\web - sss\file\myfile.txt) but the package can not
find the file anymore. I even tried to create a brandnew Flat file connection
by entering the UNC in the dialog box but it keeps telling me that the file
name is invalid.
Any clue ?
Hi Truc,

If you're using a property expression to set your filename, check that
the "\" characters have been escaped correctly. You might also want
to check that the spaces in the "web - sss" portion of the filename
isn't causing an issue.
Other than that, I would usually guess this was a permissions issue,
but if you have permissions to browse to the file via the UNC and are
trying to run the package from within VS then the package should be
using your credentials when looking for the file :-/

Good luck!
J


Reply With Quote
  #3  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: UNC path name in SSIS Flat file connection - 04-07-2008 , 07:10 AM



On Apr 3, 3:54*pm, Truc H. <Tr... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi ,
We are using SSIS 2005 and have a Flat File Connection in a package.
The connection is pointing to a Mapped network drive (let see
S:\file\myfile.txt) amd the package is running fine.
Now in the Connection ConnectionString property I replaced the pathname
using UNC (let see \\sww\web - sss\file\myfile.txt) but the package can not
find the file anymore. I even tried to create a brandnew Flat file connection
by entering the UNC in the dialog box but it keeps telling me that the file
name is invalid.
Any clue ?
Hi Truc,

If you're using a property expression to set your filename, check that
the "\" characters have been escaped correctly. You might also want
to check that the spaces in the "web - sss" portion of the filename
isn't causing an issue.
Other than that, I would usually guess this was a permissions issue,
but if you have permissions to browse to the file via the UNC and are
trying to run the package from within VS then the package should be
using your credentials when looking for the file :-/

Good luck!
J


Reply With Quote
  #4  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: UNC path name in SSIS Flat file connection - 04-07-2008 , 07:10 AM



On Apr 3, 3:54*pm, Truc H. <Tr... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi ,
We are using SSIS 2005 and have a Flat File Connection in a package.
The connection is pointing to a Mapped network drive (let see
S:\file\myfile.txt) amd the package is running fine.
Now in the Connection ConnectionString property I replaced the pathname
using UNC (let see \\sww\web - sss\file\myfile.txt) but the package can not
find the file anymore. I even tried to create a brandnew Flat file connection
by entering the UNC in the dialog box but it keeps telling me that the file
name is invalid.
Any clue ?
Hi Truc,

If you're using a property expression to set your filename, check that
the "\" characters have been escaped correctly. You might also want
to check that the spaces in the "web - sss" portion of the filename
isn't causing an issue.
Other than that, I would usually guess this was a permissions issue,
but if you have permissions to browse to the file via the UNC and are
trying to run the package from within VS then the package should be
using your credentials when looking for the file :-/

Good luck!
J


Reply With Quote
  #5  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: UNC path name in SSIS Flat file connection - 04-07-2008 , 07:10 AM



On Apr 3, 3:54*pm, Truc H. <Tr... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi ,
We are using SSIS 2005 and have a Flat File Connection in a package.
The connection is pointing to a Mapped network drive (let see
S:\file\myfile.txt) amd the package is running fine.
Now in the Connection ConnectionString property I replaced the pathname
using UNC (let see \\sww\web - sss\file\myfile.txt) but the package can not
find the file anymore. I even tried to create a brandnew Flat file connection
by entering the UNC in the dialog box but it keeps telling me that the file
name is invalid.
Any clue ?
Hi Truc,

If you're using a property expression to set your filename, check that
the "\" characters have been escaped correctly. You might also want
to check that the spaces in the "web - sss" portion of the filename
isn't causing an issue.
Other than that, I would usually guess this was a permissions issue,
but if you have permissions to browse to the file via the UNC and are
trying to run the package from within VS then the package should be
using your credentials when looking for the file :-/

Good luck!
J


Reply With Quote
  #6  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: UNC path name in SSIS Flat file connection - 04-07-2008 , 07:10 AM



On Apr 3, 3:54*pm, Truc H. <Tr... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi ,
We are using SSIS 2005 and have a Flat File Connection in a package.
The connection is pointing to a Mapped network drive (let see
S:\file\myfile.txt) amd the package is running fine.
Now in the Connection ConnectionString property I replaced the pathname
using UNC (let see \\sww\web - sss\file\myfile.txt) but the package can not
find the file anymore. I even tried to create a brandnew Flat file connection
by entering the UNC in the dialog box but it keeps telling me that the file
name is invalid.
Any clue ?
Hi Truc,

If you're using a property expression to set your filename, check that
the "\" characters have been escaped correctly. You might also want
to check that the spaces in the "web - sss" portion of the filename
isn't causing an issue.
Other than that, I would usually guess this was a permissions issue,
but if you have permissions to browse to the file via the UNC and are
trying to run the package from within VS then the package should be
using your credentials when looking for the file :-/

Good luck!
J


Reply With Quote
  #7  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: UNC path name in SSIS Flat file connection - 04-07-2008 , 07:10 AM



On Apr 3, 3:54*pm, Truc H. <Tr... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi ,
We are using SSIS 2005 and have a Flat File Connection in a package.
The connection is pointing to a Mapped network drive (let see
S:\file\myfile.txt) amd the package is running fine.
Now in the Connection ConnectionString property I replaced the pathname
using UNC (let see \\sww\web - sss\file\myfile.txt) but the package can not
find the file anymore. I even tried to create a brandnew Flat file connection
by entering the UNC in the dialog box but it keeps telling me that the file
name is invalid.
Any clue ?
Hi Truc,

If you're using a property expression to set your filename, check that
the "\" characters have been escaped correctly. You might also want
to check that the spaces in the "web - sss" portion of the filename
isn't causing an issue.
Other than that, I would usually guess this was a permissions issue,
but if you have permissions to browse to the file via the UNC and are
trying to run the package from within VS then the package should be
using your credentials when looking for the file :-/

Good luck!
J


Reply With Quote
  #8  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: UNC path name in SSIS Flat file connection - 04-07-2008 , 07:10 AM



On Apr 3, 3:54*pm, Truc H. <Tr... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi ,
We are using SSIS 2005 and have a Flat File Connection in a package.
The connection is pointing to a Mapped network drive (let see
S:\file\myfile.txt) amd the package is running fine.
Now in the Connection ConnectionString property I replaced the pathname
using UNC (let see \\sww\web - sss\file\myfile.txt) but the package can not
find the file anymore. I even tried to create a brandnew Flat file connection
by entering the UNC in the dialog box but it keeps telling me that the file
name is invalid.
Any clue ?
Hi Truc,

If you're using a property expression to set your filename, check that
the "\" characters have been escaped correctly. You might also want
to check that the spaces in the "web - sss" portion of the filename
isn't causing an issue.
Other than that, I would usually guess this was a permissions issue,
but if you have permissions to browse to the file via the UNC and are
trying to run the package from within VS then the package should be
using your credentials when looking for the file :-/

Good luck!
J


Reply With Quote
  #9  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: UNC path name in SSIS Flat file connection - 04-07-2008 , 07:10 AM



On Apr 3, 3:54*pm, Truc H. <Tr... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi ,
We are using SSIS 2005 and have a Flat File Connection in a package.
The connection is pointing to a Mapped network drive (let see
S:\file\myfile.txt) amd the package is running fine.
Now in the Connection ConnectionString property I replaced the pathname
using UNC (let see \\sww\web - sss\file\myfile.txt) but the package can not
find the file anymore. I even tried to create a brandnew Flat file connection
by entering the UNC in the dialog box but it keeps telling me that the file
name is invalid.
Any clue ?
Hi Truc,

If you're using a property expression to set your filename, check that
the "\" characters have been escaped correctly. You might also want
to check that the spaces in the "web - sss" portion of the filename
isn't causing an issue.
Other than that, I would usually guess this was a permissions issue,
but if you have permissions to browse to the file via the UNC and are
trying to run the package from within VS then the package should be
using your credentials when looking for the file :-/

Good luck!
J


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.