Search Wiki:
News Feeds
The goal of the SQL Server Hosting Toolkit is to enable a great experience around SQL Server in shared hosting environments.

The toolkit will eventually consist of a suite of tools and services that hosters can deploy for use by their customers. It will also serve as an incubation vehicle for tools that hosting customers can download and use directly, regardless of whether their hoster has deployed the toolkit. See the Project Roadmap for details on where we're going.

  • For Hosting Customers
    • The Database Publishing Wizard makes it easy to upload databases to hosters, or generate T-SQL from the objects and data in your database.
  • For Hosters
    • The Database Publishing Services are a set of ASP.NET web services you can easily deploy to make it simple for your customers to deploy SQL Server databases into your environment.
If you're interested in meeting the folks at Microsoft behind this project, check out the Hosting Toolkit Team.

Also, see other SQL Server projects on Codeplex
Last edited Apr 3 2007 at 10:48 PM  by alexd, version 25
Comments
wortho wrote  Jan 11 2007 at 2:58 AM  
Fantastic tool thanks. I am hoping to install using OSQL from my intaller package. The select objects I agree is cool. Maybe an option to exclude EXECUTE AS OWNER objects such as database diagram functions might be nice. Good work. Cheers. Steve.

aperregatturv wrote  Jan 18 2007 at 9:08 PM  
Great tool I have been looking for this kind of tool. It works great Thanks

willsllc wrote  Feb 16 2007 at 10:09 PM  
Are there plans to make the source code of the Database Publishing Wizard available?

maruf wrote  Apr 24 2007 at 5:29 PM  
It would be nice to have a feature where we can save our selection of database objects or have the ability to load this list from a text file. I usually have a list of database objects which i need to deploy from different databases and it is a pain to select every object everytime i want to deploy my database objects.

Mick wrote  Apr 26 2007 at 10:58 AM  
I am new to this, and am trying to upload my database to a hosting server. Is there anyone who'd be willing to help me sort out what "web services address" means? Thanks

Hvasishth wrote  May 24 2007 at 2:21 AM  
Hi Mick,

The web service address would be the url where your hosting service provider has deployed the Database Publishing Services component. You should contact your hosting service provider to get this address.

Thanks

SteveGutteridge wrote  Jun 1 2007 at 12:02 PM  
Great tool. One problem though that drove me nuts - the script file that is produced comes out as unicode text, and when you run it you get an erro. The solution is to load it into Windows Notepad and then save it selecting the ANSI text option.

Kris_Kilowatt wrote  Jun 15 2007 at 4:06 PM  
Same problem here: I use an .aspx page to run the generated script, but that gives an error (System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near '?'). Saving the file in the ANSI-format solves this issue. Great toolkit anyway!

lukek wrote  Jul 27 2007 at 6:44 AM  
I love this tool. The only thing I can think to add would be to have an "Update" option. This would include "ALTER" statements to the SCHEMA, allowing updates to be easily propagated to the database without affecting the current data already in there. (Obviously assuming you are only adding something or changing something that does not affect the data)

Rayies wrote  Jul 31 2007 at 7:26 AM  
Hi I Have A problem In My Web Application as The Database becomes Readonly After Some Time On The Webserver and Then I Need To Wait Till The Session Expires and then it Will Work For Some Time And Then Same Thing Happens Again BUt It Works Fine On The Local Server
I Have Used Access And DataReader For Retrieving The Information

jeremywiebe wrote  Nov 9 2007 at 2:19 PM  
I didn't see an answer to @willsllc's question, so I'll ask again. Are there plans to release the entire source code for this project? After all, isn't this the intent of CodePlex?

JimHarris wrote  Feb 18 at 6:49 PM  
I'm new and looking around. I have a small internet service, IIS etc. and MsSql 2005. I would like to get a couple of tables on the web, that is a call to http:\\<my site> &123 would bring up to the site for all to see,
select * from <my table> where ID=123
I'd like some columns to be read only and others to be read write.
Can this be done??? is this the right forum

malisa wrote  Apr 22 at 8:25 AM  
I think there is a lot of work that needs to be done in this tool. I will include the a few list of items below.
1. Versioning. There is no versioning functionality that will check to see differences between the target database and the deployment database.
2. Partitioning Data. There is no way of selecting "system" data (data required for the application to work. e.g. administrator account). The developer may need to only include sample data or have an option of excluding sample data.
3. Encrypted Objects. How does the publishing wizard behave on encrypted stored procedures and Views?
4. UDFs. The User defined functions are not published.
5. Dependency Checks. There is no dependancy checking, which results in a script which may not run because parent objects have not been created yet.
I'm still trying to find the best way to deploy a database. I stumbled upon a tool called xSQL Builder from http://www.xsqlsoftware.com/Product/Sql_Database_Deployment_Builder.aspx. Interesting, but costs $599.
Some of the clues, that seem very good from the xSQL Builder are that
1. It uses "backup" and "restore to target" which means it would be able to deploy all database objects.
I therefore think that the best way is to use the traditional backup/restore or the detach/attach and post-tasks will be for upgrade scripts or sample data.
It would be nice to have a single output executable file (maybe .cmd) which can accept arguments and install either sample or system data and upgrade schema if necessary.

Updating...