Quantcast
Channel: biztalkdeployment Forum Rss Feed
Viewing all articles
Browse latest Browse all 1089

New Post: Executing Custom Sql Script using BTDF

$
0
0
Hi,
I am using Biztalk 2013 and BTDF 5_1 Beta2. I want to execute a sql script where I pass the server name and filename as parameter from SettingsFileGenerator file.I have used AdditionalFiles tag to copy my sql script.
I have used this
<Exec Command="sqlcmd.exe -S $(SQLScriptDataBase) -i ..\$(SQLScriptFileName)" .
When I place this in CustomRedist , I am not able to create a MSI and it fails with error:
error MSB3073: The command "sqlcmd.exe -S -i ..\" exited with code 1 . May be it is not able to set the variables when I place it in CustomRedist. But it works fine when i try to deploy from VisualStudio using BTDF.

When I remove it from CustomRedist and put it in any other custom target , I am able to create a MSI but it fails when I try to deploy using Visual Studio BTDF deploy as it is not able to find the Sqlfile.
Is there a way where I can achieve both of this .

With Regards,
Nikhil Rai

Viewing all articles
Browse latest Browse all 1089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>