Carlos Femmers Blog

Carlos Femmer lives in Lafayette, LA and builds a few solutions for JCLS and Agency Virtual Tours

Windows Phone 7 Development Tools CTP will not uninstall

July 12, 2010 22:05 by carlos

I ran across a few issues when trying to get the new beta bits (July 12) Windows Phone Developer Tools Beta.  I had April CTP installed and tried to install the beta bits.  I got the following warning:

UninstallWin7Phone

I made the mistake of uninstalling in the wrong order and got the Windows 7 Phone Developer Tools CTP wedged in a bad state.  The first thing you should uninstall is the “Microsoft Windows Phone Developer Tools CTP Refresh”.  When I finally tried to uninstall the CTP, it jumped directly to the install of the components I uninstalled previously.  Ultimately, I was left in a state where the CTP was not able to be removed.  I read a few forums where people uninstalled the OS, etc… (Crazy Talk).

I am currently attending the ESRI UC in San Diego so I took a break (In frustration) to get a cold beer.  The only reason I bring this up is I go get a couple of beers and brought them back to the room.  Have you ever tried to open a Corona without a bottle opener? 

Need to give props to Marriott Harbor in San Diego for the nice view from my room:

photo

OK – I digress.  I can say the Corona helped ! 

I came across Aaron’s blog and he has instructions for running the XNA Game Studio Cleanup which has an option for cleaning up the Windows Phone Developer Tools CTP.  Here are the steps I followed:

1.  Download and extract the tool (http://bit.ly/9WfGzV). 

2.  Run the tool and select Windows Phone Developer Tools

XNA_Game_Studio_Cleanup

3.  Let the process complete.

4.  Download new beta bits from here (http://bit.ly/cuOTDx)

5.  Everything installs correctly.  I did find one artifact. I had to reinstall Silverlight 4 Runtime but this might be due to some of the uninstalls I previously tried.  Other than that, Up and running.

Hope this helps,

Carlos

twitter.com/cfemmer


Tags:
Categories:
Actions: E-mail | Permalink | Comments (2) | Comment RSSRSS comment feed

Transferring data from Sql Server 2008 R2 to Sql Azure

February 14, 2010 14:15 by carlos

The current state of Sql Server 2008 R2 seems like it has a ways to go when dealing with Sql Azure.  I tried several different ways of exporting data to load into Sql Azure and after several attempts, I have documented what I needed to move data over.  Here is a quick and dirty way of moving data from Sql Server 2008 R2 to Sql Azure:

The first thing I did was generate scripts from my local sql server 2008 R2 database.

 

 Next, you will have to go through the wizard steps of selecting what you would like scripted out:

The following step requires a a few checks.

  • Make sure Convert UDDTs as Base Types = True
  • Script Extended Properties = False
  • Script Logins = False
  • Script USE DATABASE = False
  • Types of data to script = Schema and data (Note: If you already applied the schema, then you can choose data only)

SQL Azure currently does not support windows authentication, USE statements, extended properties, or user-defined data types.

 You now have a generated sql file. 

 Next, Open the sql file generated by the script and delete the following statement from the generated CREATE TABLE statement ( "WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]" )

Also, delete the ( "ON PRIMARY]" ) clause from the create table as well.

Now we are ready to connect to SQL Azure and run the script.  Make a connection to SQL Azure.

Follow Step 1, 2, and 3 below.

 

On connect to database, select the target database from the drop down list.

 Once connected, open Query menu and load the generated sql file.  Press F5 to execute the script.

 

 


Tags: ,
Categories: Sql Azure
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Free Microsoft LINQ eBook

January 3, 2008 17:55 by carlos

I came across these free ebooks from Microsoft.  It mentions you are able to access the free ebooks for silverlight, ajax and linq.  I downloaded all of them and the linq book is complete.  The silverlight and ajax has a couple of chapters each.  Anyway, free is always good.  You can sign up to download the complete linq book form here.

Cheers,

Carlos


Tags:
Categories:
Actions: E-mail | Permalink | Comments (10) | Comment RSSRSS comment feed

Silverlight Tools 1.1 for Visual Studio 2008 Available

December 26, 2007 16:06 by carlos

Silverlight tools for Visual Studio 2008 is available to download.  I guess they will rename to Silverlight Tools Alpha version 2.0 at some point but it still is currently being called 1.1 Alpha.  You can download it here .

 

vs2008SilverlightToolsA

 

Carlos


Tags:
Categories:
Actions: E-mail | Permalink | Comments (4) | Comment RSSRSS comment feed