<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sqlazuremw Discussions Rss Feed</title><link>http://sqlazuremw.codeplex.com/Thread/List.aspx</link><description>sqlazuremw Discussions Rss Description</description><item><title>New Post: SQLAzureMWBatchBackup v4.0.15 causes Failed to connect.</title><link>http://sqlazuremw.codeplex.com/discussions/444608</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
when you want to create or delete a database, you have to connect to the master database.  When you want to work with a specific database you need to connect to that database.  In the batchbackup wizard you need to specify the database you want to backup.  You can do this in the config file or on the command line. &lt;br /&gt;
&lt;br /&gt;
I will do a couple of test when I get off the road.  If you want contact me offline and we can work through the issue.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
George&lt;br /&gt;
&lt;/div&gt;</description><author>ghuey</author><pubDate>Wed, 22 May 2013 19:21:47 GMT</pubDate><guid isPermaLink="false">New Post: SQLAzureMWBatchBackup v4.0.15 causes Failed to connect. 20130522072147P</guid></item><item><title>New Post: SQLAzureMWBatchBackup v4.0.15 causes Failed to connect.</title><link>http://sqlazuremw.codeplex.com/discussions/444608</link><description>&lt;div style="line-height: normal;"&gt;I think the follwing line at Process in Program.cs must be uncommented.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;        conn.DatabaseName = _SourceDatabase;
&lt;/code&gt;&lt;/pre&gt;

Is is my understanding that Azure SQL only accepts user database, not master.&lt;br /&gt;
&lt;/div&gt;</description><author>SenHarada</author><pubDate>Wed, 22 May 2013 15:44:13 GMT</pubDate><guid isPermaLink="false">New Post: SQLAzureMWBatchBackup v4.0.15 causes Failed to connect. 20130522034413P</guid></item><item><title>New Post: SQL error when migrating SQL DB to Azure SQL</title><link>http://sqlazuremw.codeplex.com/discussions/400268</link><description>&lt;div style="line-height: normal;"&gt;Same for me. I do the job in 2 phases. 1st phase is for the data structure, 2nd phase for the table data.&lt;br /&gt;
&lt;/div&gt;</description><author>lvmeijer</author><pubDate>Wed, 22 May 2013 12:22:32 GMT</pubDate><guid isPermaLink="false">New Post: SQL error when migrating SQL DB to Azure SQL 20130522122232P</guid></item><item><title>New Post: Useful for relatively large databases?</title><link>http://sqlazuremw.codeplex.com/discussions/444490</link><description>&lt;div style="line-height: normal;"&gt;Yes, I have done that, but it took me something like 3 days.  I have seen a random error running on Windows Server 2012 which I am still trying to trace down.  So, if you hit a random error, let me know.  One thing that I am going to do on my next run is up the chunk size.  Currently the Chunk size is 500,000 rows.  On my next test, I am going to try 10,000,000 record chunk size.  Anyway let me know how it goes for you and let me know of any errors you get.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
George&lt;br /&gt;
&lt;/div&gt;</description><author>ghuey</author><pubDate>Wed, 22 May 2013 03:42:44 GMT</pubDate><guid isPermaLink="false">New Post: Useful for relatively large databases? 20130522034244A</guid></item><item><title>New Post: Useful for relatively large databases?</title><link>http://sqlazuremw.codeplex.com/discussions/444490</link><description>&lt;div style="line-height: normal;"&gt;I'm curious to know if the SQL Database Migration Wizard has been used to transfer databases in the 50 GB to 100 GB range to Azure.  If so, how long did the process take?&lt;br /&gt;
&lt;/div&gt;</description><author>shipguy</author><pubDate>Tue, 21 May 2013 22:25:12 GMT</pubDate><guid isPermaLink="false">New Post: Useful for relatively large databases? 20130521102512P</guid></item><item><title>New Post: Azure Database Copy</title><link>http://sqlazuremw.codeplex.com/discussions/444445</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I am not sure that I understand, but is your request to drop an existing database and then upload a new database?  You can do this via SQLAzureMW when you get to the target server.  SQLAzureMWBatchBackup and SQLAzureMWBatchUpload are command lines version of SQLAzureMW and in the config file (or command line parameter) you can tell it to drop an existing database if it exists.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
George&lt;br /&gt;
&lt;/div&gt;</description><author>ghuey</author><pubDate>Tue, 21 May 2013 21:34:55 GMT</pubDate><guid isPermaLink="false">New Post: Azure Database Copy 20130521093455P</guid></item><item><title>New Post: Remember logins</title><link>http://sqlazuremw.codeplex.com/discussions/444442</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
Totally agree.  I hate typing in the server / db / users creds all the time.  To help with that, edit &amp;quot;SQLAzureMW.exe.config&amp;quot; file and look for:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    &amp;lt;add key=&amp;quot;SourceConnectNTAuth&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
    &amp;lt;add key=&amp;quot;SourceServerName&amp;quot; value=&amp;quot;localhost&amp;quot; /&amp;gt;
    &amp;lt;add key=&amp;quot;SourceUserName&amp;quot; value=&amp;quot;&amp;quot; /&amp;gt;
    &amp;lt;add key=&amp;quot;SourcePassword&amp;quot; value=&amp;quot;&amp;quot; /&amp;gt;
    &amp;lt;add key=&amp;quot;SourceDatabase&amp;quot; value=&amp;quot;&amp;quot; /&amp;gt;

    &amp;lt;add key=&amp;quot;SourceServerType&amp;quot; value=&amp;quot;ServerType_SQLServer&amp;quot;/&amp;gt;   &amp;lt;!-- ServerType_SQLAzure = &amp;quot;SQL Azure&amp;quot;,
                                                                      ServerType_SQLAzureFed = &amp;quot;SQL Azure Fed&amp;quot;,
                                                                      ServerType_SQLServer = &amp;quot;SQL Server&amp;quot; --&amp;gt;

&amp;lt;!-- NOTE BCP requires that you have the SQL Azure server name the end of the user name ie. UserSA@jy8kadhrma --&amp;gt;

    &amp;lt;add key=&amp;quot;TargetConnectNTAuth&amp;quot; value=&amp;quot;false&amp;quot;/&amp;gt;
    &amp;lt;add key=&amp;quot;TargetServerName&amp;quot; value=&amp;quot;SERVER.database.windows.net&amp;quot;/&amp;gt;
    &amp;lt;add key=&amp;quot;TargetUserName&amp;quot; value=&amp;quot;UserName@SERVER&amp;quot;/&amp;gt;
    &amp;lt;add key=&amp;quot;TargetPassword&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;
    &amp;lt;add key=&amp;quot;TargetDatabase&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;&lt;/code&gt;&lt;/pre&gt;

You can enter the information you want to save there and it will save you a lot of time.&lt;br /&gt;
&lt;br /&gt;
Let me know if you have any questions.&lt;br /&gt;
&lt;br /&gt;
Take care,&lt;br /&gt;
George&lt;br /&gt;
&lt;/div&gt;</description><author>ghuey</author><pubDate>Tue, 21 May 2013 21:28:17 GMT</pubDate><guid isPermaLink="false">New Post: Remember logins 20130521092817P</guid></item><item><title>New Post: Azure Database Copy</title><link>http://sqlazuremw.codeplex.com/discussions/444445</link><description>&lt;div style="line-height: normal;"&gt;All these features are awesome.&lt;br /&gt;
&lt;br /&gt;
But I seem to find my self copying one database which is Live. to a Staging Database.&lt;br /&gt;
&lt;br /&gt;
The sql command is simple enough but if we could use an option to copy (backup) a database to a new databse (or existing- delete it and recreate it)&lt;br /&gt;
&lt;br /&gt;
Just fire a the SP across&lt;br /&gt;
&lt;br /&gt;
-- Execute on the master database.&lt;br /&gt;
-- Drop the whole Database before copying.&lt;br /&gt;
DROP DATABASE liveDB;&lt;br /&gt;
&lt;br /&gt;
-- Execute on the master database.&lt;br /&gt;
-- Start copying live data to test db.&lt;br /&gt;
CREATE DATABASE liveDBcopy AS COPY OF liveDB;&lt;br /&gt;
&lt;br /&gt;
-- Execute on the master database.&lt;br /&gt;
-- Retrieve state of the new database, Database1B.&lt;br /&gt;
--SELECT name, state, state_desc FROM sys.databases WHERE name = 'liveDBcopy'&lt;br /&gt;
&lt;br /&gt;
Thanks a trillion!&lt;br /&gt;
&lt;/div&gt;</description><author>ppumkin</author><pubDate>Tue, 21 May 2013 15:19:22 GMT</pubDate><guid isPermaLink="false">New Post: Azure Database Copy 20130521031922P</guid></item><item><title>New Post: Remember logins</title><link>http://sqlazuremw.codeplex.com/discussions/444442</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
This application is awesome!&lt;br /&gt;
&lt;br /&gt;
Just one thing that is starting to get a bit annoying it retyping my local DB in m then my azure credentials almost everyday.&lt;br /&gt;
&lt;br /&gt;
Can you cache the usernames and servers atleast- the passwords should not be stored as best security practise. That is fine. But it will be mega great if the previous servers and thier usernames are remembered.&lt;br /&gt;
&lt;br /&gt;
Thanks a Zillion!&lt;br /&gt;
&lt;/div&gt;</description><author>ppumkin</author><pubDate>Tue, 21 May 2013 15:16:47 GMT</pubDate><guid isPermaLink="false">New Post: Remember logins 20130521031647P</guid></item><item><title>New Post: v4.0.15 source</title><link>http://sqlazuremw.codeplex.com/discussions/442519</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
The only difference between v4 and v3 is that I change the reference for SQL Server and modify the app.config file (look at the bottom of the config file).&lt;br /&gt;
&lt;br /&gt;
I have this in the app.config file for v4:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;startup useLegacyV2RuntimeActivationPolicy=&amp;quot;true&amp;quot;&amp;gt;
    &amp;lt;supportedRuntime version=&amp;quot;v4.0&amp;quot; sku=&amp;quot;.NETFramework,Version=v4.0&amp;quot; /&amp;gt;
&amp;lt;/startup&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

I have this in the app.config file for v3&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;startup&amp;gt;
    &amp;lt;supportedRuntime version=&amp;quot;v2.0.50727&amp;quot; sku=&amp;quot;Client&amp;quot;/&amp;gt;
&amp;lt;/startup&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

I uploaded my v4 VS project here: &lt;a href="https://sqlazuremw.codeplex.com/downloads/get/674506" rel="nofollow"&gt;https://sqlazuremw.codeplex.com/downloads/get/674506&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Let me know if you have any questions.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
George&lt;br /&gt;
&lt;/div&gt;</description><author>ghuey</author><pubDate>Sat, 04 May 2013 13:01:51 GMT</pubDate><guid isPermaLink="false">New Post: v4.0.15 source 20130504010151P</guid></item><item><title>New Post: v4.0.15 source</title><link>http://sqlazuremw.codeplex.com/discussions/442519</link><description>&lt;div style="line-height: normal;"&gt;Is the source code for the v4 edition available?&lt;br /&gt;
The Source Code and downloads pages only seem to have the v3.9 edition.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>paulhuck</author><pubDate>Sat, 04 May 2013 00:52:18 GMT</pubDate><guid isPermaLink="false">New Post: v4.0.15 source 20130504125218A</guid></item><item><title>New Post: dependencies for SQLAzureMW are missing  . Version 3.9.12</title><link>http://sqlazuremw.codeplex.com/discussions/442200</link><description>&lt;div style="line-height: normal;"&gt;hi&lt;br /&gt;
&lt;br /&gt;
I have use the wrong version  for sql 2012 and it is now working fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;/div&gt;</description><author>Kwilksys</author><pubDate>Wed, 01 May 2013 10:33:37 GMT</pubDate><guid isPermaLink="false">New Post: dependencies for SQLAzureMW are missing  . Version 3.9.12 20130501103337A</guid></item><item><title>New Post: dependencies for SQLAzureMW are missing  . Version 3.9.12</title><link>http://sqlazuremw.codeplex.com/discussions/442200</link><description>&lt;div style="line-height: normal;"&gt;hi,&lt;br /&gt;
&lt;br /&gt;
I have downloaded the latest version on windows 8 . Have unzip and tried to run it but&lt;br /&gt;
got an error .&lt;br /&gt;
&lt;br /&gt;
&amp;quot;MicrosoftExceptionMessagesBox, Version = 10.0.0.0, Culture = neutral,&lt;br /&gt;
PublicKeyToken=89845dcd8080cc91 or one of  its dependencies. The system cannot find the file specified.&lt;br /&gt;
I have installed  SQL 2012 full version.&lt;br /&gt;
Strange it seem I can run on my windows 7 with sql 2008 installed&lt;br /&gt;
&lt;br /&gt;
Appreciate any assistance on this.&lt;br /&gt;
Regards&lt;br /&gt;
&lt;/div&gt;</description><author>Kwilksys</author><pubDate>Wed, 01 May 2013 10:29:22 GMT</pubDate><guid isPermaLink="false">New Post: dependencies for SQLAzureMW are missing  . Version 3.9.12 20130501102922A</guid></item><item><title>New Post: migration error. SQL to Azure</title><link>http://sqlazuremw.codeplex.com/discussions/439007</link><description>&lt;div style="line-height: normal;"&gt;Hi George,&lt;br /&gt;
Tried to contact you via PM but not sure if you got it.&lt;br /&gt;
cheers&lt;br /&gt;
mkariti&lt;br /&gt;
&lt;/div&gt;</description><author>mkariti</author><pubDate>Thu, 04 Apr 2013 15:12:33 GMT</pubDate><guid isPermaLink="false">New Post: migration error. SQL to Azure 20130404031233P</guid></item><item><title>New Post: migration error. SQL to Azure</title><link>http://sqlazuremw.codeplex.com/discussions/439007</link><description>&lt;div style="line-height: normal;"&gt;The last two lines are the output of a BCP upload, but not the end of the program.  The very last line you should see is:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt; Processing finished at 4/4/2013 7:25:54 AM -- UTC -&amp;gt; 4/4/2013 12:25:54 PM
&lt;/code&gt;&lt;/pre&gt;

Telling you that the process is finished.  During the data upload process, I kick off several tabs for the parallel upload of data.  Are all of the tabs gone except for the Results tab?  Question for you.  Would you mind if I see the SQL script that is generated during the export process?  I would like to see if I can't figure out what is going on.  I tried creating a database with different collation and I had no problem moving one of my test databases.  What collation did you use?  I can try that one as well.&lt;br /&gt;
&lt;br /&gt;
Thanks for your time,&lt;br /&gt;
George&lt;br /&gt;
&lt;/div&gt;</description><author>ghuey</author><pubDate>Thu, 04 Apr 2013 12:34:09 GMT</pubDate><guid isPermaLink="false">New Post: migration error. SQL to Azure 20130404123409P</guid></item><item><title>New Post: migration error. SQL to Azure</title><link>http://sqlazuremw.codeplex.com/discussions/439007</link><description>&lt;div style="line-height: normal;"&gt;Hi George,&lt;br /&gt;
Many thanks for your quick and comprehensive answer!&lt;br /&gt;
I tried generating it again but this time I set the collection as it should be and it seems fine.&lt;br /&gt;
Can the previous error be as a result of mismatch collection?&lt;br /&gt;
Also, I can't seem to get the process to go all the way.&lt;br /&gt;
it's just says :&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;quot;Processing 333 out of 335&amp;quot;.&lt;/code&gt;&lt;/pre&gt;

Save or Cancel.&lt;br /&gt;
&lt;br /&gt;
the last 2 lines in the results are as follows:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;04/04/2013 12:50:21 --&amp;gt; Copied 2046 of 2046 (100%)
Clock Time (ms.) Total     : 123740 Average : (16.53 rows per sec.)&lt;/code&gt;&lt;/pre&gt;

and on the app site everything seems fine. is that means that its ok?&lt;br /&gt;
&lt;br /&gt;
Many thanks&lt;br /&gt;
mkariti &lt;br /&gt;
&lt;/div&gt;</description><author>mkariti</author><pubDate>Thu, 04 Apr 2013 09:59:47 GMT</pubDate><guid isPermaLink="false">New Post: migration error. SQL to Azure 20130404095947A</guid></item><item><title>New Post: migration error. SQL to Azure</title><link>http://sqlazuremw.codeplex.com/discussions/439007</link><description>&lt;div style="line-height: normal;"&gt;Hi There,&lt;br /&gt;
&lt;br /&gt;
First, while you got these errors, you should probably have everything successfully migrated.  Each statement is handled on it's own and won't effect the next statement unless that next statement depend on it.  Now, that said, you by chance didn't save off your SQL script that SQLAzureMW generated during the export phase?  What I would look at is the CREATE TABLE statement for UFForms and see if there are default values set for the columns.  If there are no default statements in the CREATE TABLE command, then the next thing that I would look for is duplicate ALTER TABLE commands.  Basically, I use SMO to create all of the TSQL scripts, but what I do is capture all of the ALTER TABLE commands and put them back in after all of the tables have been created.  It might be that I somehow put the same ALTER TABLE command in twice.  Anyway, if you don't have an issue with me looking at your TSQL, I would be happy to take a look at it and see if I can figured out what happened.  If you want, just contact me offline and we can figure out what is going on.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
George&lt;br /&gt;
&lt;/div&gt;</description><author>ghuey</author><pubDate>Thu, 04 Apr 2013 01:18:55 GMT</pubDate><guid isPermaLink="false">New Post: migration error. SQL to Azure 20130404011855A</guid></item><item><title>New Post: migration error. SQL to Azure</title><link>http://sqlazuremw.codeplex.com/discussions/439007</link><description>&lt;div style="line-height: normal;"&gt;Hi there,&lt;br /&gt;
Im keep getting the following errors:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;03/04/2013 22:10:10 --&amp;gt; Error #: 1781 -- Column already has a DEFAULT bound to it.
Could not create constraint. See previous errors.
IF NOT EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[DF__UFForms__Archive__45544755]') AND type = 'D')
BEGIN
ALTER TABLE [dbo].[UFForms] ADD  DEFAULT ((0)) FOR [Archived]
END

03/04/2013 22:10:11 --&amp;gt; Error #: 1781 -- Column already has a DEFAULT bound to it.
Could not create constraint. See previous errors.
IF NOT EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[DF__UFForms__StoreRe__46486B8E]') AND type = 'D')
BEGIN
ALTER TABLE [dbo].[UFForms] ADD  DEFAULT ((1)) FOR [StoreRecordsLocally]
END

03/04/2013 22:10:12 --&amp;gt; Error #: 1781 -- Column already has a DEFAULT bound to it.
Could not create constraint. See previous errors.
IF NOT EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[DF__UFForms__Disable__473C8FC7]') AND type = 'D')
BEGIN
ALTER TABLE [dbo].[UFForms] ADD  DEFAULT ((0)) FOR [DisableDefaultStylesheet]
END&lt;/code&gt;&lt;/pre&gt;

Any idea?&lt;br /&gt;
Many thanks&lt;br /&gt;
mkariti&lt;br /&gt;
&lt;/div&gt;</description><author>mkariti</author><pubDate>Wed, 03 Apr 2013 19:45:02 GMT</pubDate><guid isPermaLink="false">New Post: migration error. SQL to Azure 20130403074502P</guid></item><item><title>New Post: Copying azure database more then once.</title><link>http://sqlazuremw.codeplex.com/discussions/438919</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
You what was the error?  In regards to do you have to start over, it depends on the error.  Did all the tables, views, stored procs, ... get transferred correctly?  If so, then you can tell SQLAzureMW to just transfer data AND select only the tables you want to transfer again.  Actually, all of the data should be on your local drive after the export.  Once it is local, you can just create your own BCP command to upload the data to your local SQL database to the tables that failed (after you correct the error).   You can also save the script after the export process and before the import process and put it in SQL Server query windows and run the script only the select sections of script that you want to modify.&lt;br /&gt;
&lt;br /&gt;
So, the short answer is yes.&lt;br /&gt;
&lt;br /&gt;
If you have any questions, please let me know.  If nothing else, we can setup a quick con call to discuss.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
George&lt;br /&gt;
&lt;/div&gt;</description><author>ghuey</author><pubDate>Wed, 03 Apr 2013 14:47:10 GMT</pubDate><guid isPermaLink="false">New Post: Copying azure database more then once. 20130403024710P</guid></item><item><title>New Post: Copying azure database more then once.</title><link>http://sqlazuremw.codeplex.com/discussions/438919</link><description>&lt;div style="line-height: normal;"&gt;I am trying to use SQL Database Migration Wizard 4.0.14 to get data from azure to my local database.&lt;br /&gt;
The process of retrieval looks to work fine but takes two hours.&lt;br /&gt;
I then run it against the local database and it failed with one of the tables inserting data.&lt;br /&gt;
The problem is now i have to start again, it will take two hours to do.&lt;br /&gt;
Is there a way i could just try to re-run all the files that already have been downloaded from azure?&lt;br /&gt;
Since the first part takes much longer but appears to work with no errors, i would like to be able to retry only the second part. &lt;br /&gt;
&lt;/div&gt;</description><author>WiseMonkey</author><pubDate>Wed, 03 Apr 2013 10:59:48 GMT</pubDate><guid isPermaLink="false">New Post: Copying azure database more then once. 20130403105948A</guid></item></channel></rss>