sql - SSIS: Export to Dynamic Excel File -


i trying create project produce separate excel file every account in specific table. first steps pull data temp file , load array variable accounts loop, working fine.

i getting 2 errors below. , when execute package fails on export excel data flow task.

error 1 error loading raw_data_export.dtsx: connection string format not valid. must consist of 1 or more components of form x=y, separated semicolons. error occurs when connection string 0 components set on database connection manager.

error 2 error loading raw_data_export.dtsx: result of expression ""\\server\data\status\testing\filename" + @[user::accts] + ".xls"" on property "connectionstring" cannot written property. expression evaluated, cannot set on property.

this dynamic connection string looks evaluated:

provider=microsoft.jet.oledb.4.0;data source=\\server\data\status\testing\filename03500.xls;extended properties="excel 8.0;hdr=yes"; 

i think issue since excel file non-existent, validation fails when gets step. found online need either create sheets through a script task (not fond of) or use variable value create sheet in file. have not been successful on either.

(...) since excel file non-existent, validation fails when gets step.

have tried delaying validation in data flow task exports excel? check data flow's properties window.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -