SqlPackage Export Error: The filename, directory name, or volume label syntax is incorrect

I’ve never used SqlPackage before and have been out of the SQL game for over 10 years. I’m trying to do an export, but I’m getting this error:

The filename, directory name, or volume label syntax is incorrect

I don’t understand how else I can format the target file:

sqlpackage.exe /Action:Export /ssn:server5w10 /sdn:database_live /su:[user] /sp:[password] /TargetFile:”C:temptmapnn.bacpac” /p:Storage=file

The filename, directory name, or volume label syntax is incorrect.

If anyone can throw some light on this, I’d appreciate it. The few examples I can find of an actual path for /tf seem to be written exactly how I’m doing it.

Thanks!

submitted by /u/WestonGrey
[link] [comments]


Go to Source of this post
Author Of this post: /u/WestonGrey
Title Of post: SqlPackage Export Error: The filename, directory name, or volume label syntax is incorrect
Author Link: {authorlink}