<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sqlhost Forum Rss Feed</title><link>http://www.codeplex.com/Project/ListForums.aspx?ProjectName=sqlhost</link><description>sqlhost Forum Rss Description</description><item><title>New Post: Project Dead?</title><link>http://sqlhost.codeplex.com/discussions/81491</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Meanwhile I am using SQL Server 2008 R2 ant it makes me sad that this utility still only supports SQL Server 2005!? Also working with Oracle / PL/SQL but one benefit using MS-SQL was the scripting host for generating test-data ...&lt;/p&gt;&lt;/div&gt;</description><author>hfrmobile</author><pubDate>Fri, 21 Oct 2011 11:11:22 GMT</pubDate><guid isPermaLink="false">New Post: Project Dead? 20111021111122A</guid></item><item><title>New Post: SQLPUBWIZ store procedure error using view is created before trigger on view</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=56693</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I too have the same problem. I tried to create Database script by using command line SQLPubWiz.exe . Scripting process is successful, but script for Views is generated first and then for Tables, which is wrong as tables needs to be created first and then
 views coz views refers to those tables. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;any help please..&lt;/p&gt;
&lt;/div&gt;</description><author>sureshdrim</author><pubDate>Tue, 02 Nov 2010 11:33:16 GMT</pubDate><guid isPermaLink="false">New Post: SQLPUBWIZ store procedure error using view is created before trigger on view 20101102113316A</guid></item><item><title>New Post: Where is the source code?</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=21822</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Ugh &amp;lt;- agreed. Where is the Code?&lt;/p&gt;
&lt;/div&gt;</description><author>RebekahGater</author><pubDate>Tue, 26 Oct 2010 16:12:48 GMT</pubDate><guid isPermaLink="false">New Post: Where is the source code? 20101026041248P</guid></item><item><title>New Post: Database Publishing Wizard run against Production DB</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=227220</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Does the Database Publishing Wizard take the DB offline, or make it  inaccessible while it's running?&amp;nbsp; I'd like to run the DPW against a  production database so that I can create a local DB that will have good  test data, but I need to be sure it won't  interfere with the live website.&lt;/p&gt;&lt;/div&gt;</description><author>organicglenn</author><pubDate>Tue, 14 Sep 2010 21:40:09 GMT</pubDate><guid isPermaLink="false">New Post: Database Publishing Wizard run against Production DB 20100914094009P</guid></item><item><title>New Post: Installation issue</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=214944</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi i had installed&amp;nbsp; database publishing wizard in my box . It is not&amp;nbsp;creating a entry&amp;nbsp;in the registry when i checked it&amp;nbsp; but it is creating a folder in 90\tools\publishing&amp;nbsp;. kindly help me on this as this is very urgent for me&lt;/p&gt;&lt;/div&gt;</description><author>premkuttan</author><pubDate>Fri, 04 Jun 2010 06:34:22 GMT</pubDate><guid isPermaLink="false">New Post: Installation issue 20100604063422A</guid></item><item><title>New Post: Where is the source code?</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=21822</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Whole sources (sources for &lt;strong&gt;sqlpubwiz.exe&lt;/strong&gt;) still not available ...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>hfrmobile</author><pubDate>Thu, 04 Mar 2010 09:40:15 GMT</pubDate><guid isPermaLink="false">New Post: Where is the source code? 20100304094015A</guid></item><item><title>New Post: Where is the source code?</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=21822</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I'll echo this sentiment one more time in the event the project authors have started to pay attention. &amp;nbsp;Where is the source code for sqlpubwiz.exe???&lt;/p&gt;&lt;/div&gt;</description><author>davidvl</author><pubDate>Mon, 22 Feb 2010 21:42:00 GMT</pubDate><guid isPermaLink="false">New Post: Where is the source code? 20100222094200P</guid></item><item><title>New Post: SQLPUBWIZ store procedure error using view is created before trigger on view</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=56693</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I am also facing same issue .. Please let me know if any one has answer for this issue...&lt;/p&gt;
&lt;p&gt;views script is generating first and table script is creating later&amp;nbsp; hence it is not executing on the taget environment..&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>ramnaresht</author><pubDate>Mon, 22 Feb 2010 19:01:00 GMT</pubDate><guid isPermaLink="false">New Post: SQLPUBWIZ store procedure error using view is created before trigger on view 20100222070100P</guid></item><item><title>New Post: SQLPUbWiz  script sequence issue </title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=155379</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am using sqlpubwiz to generate the&amp;nbsp; database script thru commandline. The sequence in the out put file is views first and table script later hence it is failing in the target environment.&lt;/p&gt;
&lt;p&gt;I have seen the kb article 289551&amp;nbsp; about this issue.&lt;/p&gt;
&lt;p&gt;Which version of sqlpubwiz is addressed the above issue...??&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Ram Naresh&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>ramnaresht</author><pubDate>Mon, 22 Feb 2010 18:52:43 GMT</pubDate><guid isPermaLink="false">New Post: SQLPUbWiz  script sequence issue  20100222065243P</guid></item><item><title>New Post: Error in SQL Server Database publisher wizard</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=81657</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I was having trouble with the Database Publising Wizard scripting Create Views before it scripted the Create Tables these views relied on causing the publishing to fail. I read here that was fixed in ver 1.1 so I went to MS and installed it. The MS page said it was version 1.1, but Add/Remove programs on my system says I now have ver 1.3 installed. This one seems even worse. The objects are scripted in an order that is unusable.&lt;/p&gt;
&lt;p&gt;I believe if the scripting is to run properly the order must be: Drop all, Create Roles, Schema, Tables, UD Functions, Views and finally Stored Procecdures.&lt;/p&gt;
&lt;p&gt;I attemped to do the upload in that order. I was able to get the Roles, Schema and Tables to publish directly from the wizard. That was good. Then I chose to script the UDFs to my machine. It scripted these, but also included a number of drop statements for objects it was not going to recreate, so I had to hand edit and remove those. I ran the script through may host's web interface. I then did the same with the views, hand editing out the erroneous drop statements. When I asked the Wizard to script the stored procedures, it scripted nearly the entire database as reported earlier by Nalaka. The created file was nearly as large as a worthless script file of the entire DB! It took me nearly an hour to carefully remove the script statements I didn't need.&lt;/p&gt;
&lt;p&gt;What had once been an approximately 20 minute task mostly spent waiting for the Wizard to interact with the server had now taken more than four hours. I was finally able to get my database running again, but many users may not have the many years of DB experience I have which allowed me to restore my database after the Wizard had dropped it, and could not recreate it.&lt;/p&gt;
&lt;p&gt;This is a very improtant tool. It is referenced on many websites that discuss using Visual Studio to create and publish web content. If Microsoft plans on continuing to compete succesfully with all of the many new development environments that are out there this tool needs to work properly.&lt;/p&gt;
&lt;p&gt;Can we please have a tool that scripts the objects in an order that will allow the script to run? And also, when scripting individual objects and/or object types is requested, can it please not drop object it does not plan on restoring. This is pointless and destructive.&lt;/p&gt;
&lt;p&gt;I use this tool often to publish new sites I create for my clients. Please let me know when a repaired version is available. I couldn't find a discussion of this on an official Microsoft website, so I am posting this here in hopes the issue will be addressed. If someone knows where to download earlier versions that may be helpful too. Also what is the file name. I can find no indication of where it is installed on my machine. It would sure be helpful if Add/Remove Programs could cough-up a path for its listed items.&lt;/p&gt;
&lt;p&gt;Respectfully,&lt;/p&gt;
&lt;p&gt;Craig Williamson&lt;/p&gt;&lt;/div&gt;</description><author>Hypercat</author><pubDate>Fri, 19 Feb 2010 19:54:41 GMT</pubDate><guid isPermaLink="false">New Post: Error in SQL Server Database publisher wizard 20100219075441P</guid></item><item><title>New Post: Cannot Create SQL Script From Database</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=11014</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks, that saved me a lot of head scratching.&lt;/p&gt;&lt;/div&gt;</description><author>echilon</author><pubDate>Thu, 28 Jan 2010 17:39:09 GMT</pubDate><guid isPermaLink="false">New Post: Cannot Create SQL Script From Database 20100128053909P</guid></item><item><title>New Post: Error in SQL Server Database publisher wizard</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=81657</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I was using SQL Server database publisher wizard 1.1&lt;/p&gt;
&lt;p&gt;I selected all of the stored procedures and some views to create the script but it has created the script with create table scripts for schema and data. I wanted to create the script only for the selected stored procedures and view but it adds all the tables too. How come I overcome this issue to create the script only for the selected stored procedures and views.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Nalaka&lt;/p&gt;&lt;/div&gt;</description><author>nalakahewage</author><pubDate>Fri, 22 Jan 2010 05:44:01 GMT</pubDate><guid isPermaLink="false">New Post: Error in SQL Server Database publisher wizard 20100122054401A</guid></item><item><title>New Post: Project Dead?</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=81491</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Is this project Dead? We've got a SQL 2008 server and we are unable to use this script with it. Any plans to update the product?&lt;/p&gt;&lt;/div&gt;</description><author>jonese</author><pubDate>Wed, 20 Jan 2010 21:45:30 GMT</pubDate><guid isPermaLink="false">New Post: Project Dead? 20100120094530P</guid></item><item><title>New Post: How to add user script?</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=17511</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have the same problem here. sqlpubwiz works great except for this thing.&lt;/p&gt;
&lt;p&gt;Do someone have an idea??&lt;/p&gt;&lt;/div&gt;</description><author>mercenr001</author><pubDate>Thu, 07 Jan 2010 20:20:39 GMT</pubDate><guid isPermaLink="false">New Post: How to add user script? 20100107082039P</guid></item><item><title>New Post: Specifiy Table in Command Line Utility?</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=9523</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I quite agree , it would be helpful if you could use this tool to specfiy table names.Or even be able to run a query on select tables you like to script too. As well as having the option to script users and roles separately too.&lt;/p&gt;&lt;/div&gt;</description><author>lizE</author><pubDate>Mon, 21 Sep 2009 09:07:41 GMT</pubDate><guid isPermaLink="false">New Post: Specifiy Table in Command Line Utility? 20090921090741A</guid></item><item><title>New Post: SQLPUBWIZ store procedure error using view is created before trigger on view</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=56693</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I used SQLPUBWIZ with the -schemaonly option which created the script without any errors. Now when I try to run the script it returns an error of:&lt;/p&gt;
&lt;p&gt;Msg 4405, Level 16, State 1, Server MYSERVER, Procedure usp_CreateSomething, Line 25&lt;br&gt;View or function 'dbo.SomeView' is not updatable because the modification affects multiple base tables.&lt;/p&gt;
&lt;p&gt;This is because the store procedure is using a view which has a trigger on it. The view is created before the store procedure (which is correct) but the trigger on the view is created much later than the store procedure. I had to cut and paste the store procedure and put it after the creation of the view trigger to get the script to function properly.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there another work around or fix for this as I am trying to automate the process of the script?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for any help in advance.&lt;/p&gt;&lt;/div&gt;</description><author>vince144</author><pubDate>Mon, 18 May 2009 20:03:44 GMT</pubDate><guid isPermaLink="false">New Post: SQLPUBWIZ store procedure error using view is created before trigger on view 20090518080344P</guid></item><item><title>New Post: Errors pointing to browser to run runsql file</title><link>http://sqlhost.codeplex.com/Thread/View.aspx?ThreadId=54886</link><description>&lt;div style="line-height: normal;"&gt;Hellllllp somebody...&lt;br&gt;
&lt;br&gt;
I have been trying to run this runsql file on server and when i point to it from browser i get this error.&lt;br&gt;
&lt;br&gt;
Opening url C:\inetpub\wwwroot\newClub.mdf.sql&lt;br&gt;
Connecting to SQL Server database...&lt;br&gt;
An error occured: System.Data.SqlClient.SqlException: The SELECT permission was denied on the object 'objects', database 'mssqlsystemresource', schema 'sys'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at ASP.runsql_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
What do i do
&lt;/div&gt;</description><author>bbrooks</author><pubDate>Wed, 29 Apr 2009 22:13:52 GMT</pubDate><guid isPermaLink="false">New Post: Errors pointing to browser to run runsql file 20090429101352P</guid></item><item><title>New Post: Cannot find microsoft.sqlserver.batchparser</title><link>http://www.codeplex.com/sqlhost/Thread/View.aspx?ThreadId=46386</link><description>&lt;div style="line-height: normal;"&gt;Hello, &lt;br&gt;
&lt;br&gt;
I am using sql 2005 express advanced edition under vista 64 bit, i cannot use as following error. Pls help. &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
TITLE: Microsoft SQL Server&lt;br&gt;
------------------------------&lt;br&gt;
&lt;br&gt;
This wizard will close because it encountered the following error:&lt;br&gt;
&lt;br&gt;
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server+Database+Publishing+Wizard&amp;amp;ProdVer=1.1.1.0&amp;amp;EvtSrc=Microsoft.SqlServer.Management.UI.WizardFrameworkErrorSR&amp;amp;EvtID=UncaughtException&amp;amp;LinkId=20476&lt;br&gt;
&lt;br&gt;
------------------------------&lt;br&gt;
ADDITIONAL INFORMATION:&lt;br&gt;
&lt;br&gt;
無法載入檔案或組件 'Microsoft.SqlServer.BatchParser, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' 或其相依性的其中之一。 系統找不到指定的檔案。 (Microsoft.SqlServer.ConnectionInfo)&lt;br&gt;
&lt;br&gt;
------------------------------&lt;br&gt;
BUTTONS:&lt;br&gt;
&lt;br&gt;
OK&lt;br&gt;
------------------------------&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>kinterry</author><pubDate>Fri, 06 Feb 2009 03:37:21 GMT</pubDate><guid isPermaLink="false">New Post: Cannot find microsoft.sqlserver.batchparser 20090206033721A</guid></item><item><title>New Post: Version for SQL Server 2008 and VS 2008 ?</title><link>http://www.codeplex.com/sqlhost/Thread/View.aspx?ThreadId=46376</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
is that tool also available for 2008-er Version of SQL Server and Visual Studio ? &lt;br&gt;
&lt;br&gt;
best regards&lt;br&gt;
&lt;br&gt;
Klaus
&lt;/div&gt;</description><author>KlausObd</author><pubDate>Fri, 06 Feb 2009 01:46:43 GMT</pubDate><guid isPermaLink="false">New Post: Version for SQL Server 2008 and VS 2008 ? 20090206014643A</guid></item><item><title>New Post: Internal error during begin publish</title><link>http://www.codeplex.com/sqlhost/Thread/View.aspx?ThreadId=23634</link><description>&lt;div style="line-height: normal;"&gt;I just ran into this error last night when I tried to import my database into GoDaddy. My workaround, thank good ness worked. &lt;br&gt;
Here's what I did:&lt;br&gt;
&lt;br&gt;
&amp;gt; Created the database in GoDaddy.&lt;br&gt;
&amp;gt; Using the DB Publishing Wizard, I selected the option to create a script instead of publishing it directly to GoDaddy. &lt;br&gt;
&amp;gt; Logged in to my database in GoDaddy and using the query analyzer, ran the script that I had created from the previous step. &lt;br&gt;
&lt;br&gt;
Hopefully that helps some of you all who are still having problems. &lt;br&gt;
&lt;/div&gt;</description><author>newwebmz</author><pubDate>Thu, 29 Jan 2009 17:24:42 GMT</pubDate><guid isPermaLink="false">New Post: Internal error during begin publish 20090129052442P</guid></item></channel></rss>