Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Set commandTimeout in MSDeploy when using auto provider

$
0
0

I'm using MS Deploy 2.1 to deploy a Web App, along with some SQL scripts to set up the database. The deployment package is configured in Visual Studio 2010, to contain both the SQL Scripts and the web app.

To deploy, we are using MSDeploy with the "auto" provider.

The catch is that one of the SQL scripts is timing out. If we were using the dbFullSql provider we could specify a commandTimeout. (I have tested this, with the 'problem' script on its own, and it works fine.) But I can't find any way to specify an SQL Command Timeout when using the "auto" provider. Can it be done?

John

John Rusk, http://dotnet.AgileKiwi.com - .NET and Agility


Viewing all articles
Browse latest Browse all 27852

Trending Articles



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