August 2012 - Digital Tool Factory blog August 2012 - Digital Tool Factory blog

The Digital Tool Factory Blog

Nashville vs Memphis, Silicon Valley vs Anywhere

'support' photo (c) 2006, Vladimer Shioshvili - license: http://creativecommons.org/licenses/by-sa/2.0/As always happens at the Atlanta Lean Startup Circle meetings, the after meeting conversation turned to competing with Silicon Valley for talent and money.

For some reason I was reminded of a conversation I had with influential harmonica player David Harp in 1998 (that actually was his name, strange coincidence).   It was more of rant really.  He listed off a long talented, groundbreaking, and just plain awesome musicians in all genres who moved from Memphis to Nashville over the years.

It was a standard grumpy old man rant about why his town (we were in Memphis, his hometown) had been cheated out of glory.  Then he said one thing that stuck with me, lot these many years.

Memphis produces ten times the musicians that Nashville does, both in quality and quantity.  Nashville produces ten times the infrastructure.  Talent will always move to infrastructure and never the other way around.

I think that sums it up nicely  The infrastructure in both cases consists largely of middle aged specialists.  It is far easier for risk tolerant young people to move to the risk averse specialists, which leads to a few specialized hubs, and a lot of farm team cities.


22
Aug 12


Written By Steve French

 

How to fix The model backing the context has changed since the database was created error

The Problem

You are coding away, and you get the following error

The model backing the ‘ctx’ context has changed since the database was created. Consider using Code First Migrations to update the database

This is my most frequent error when programming with Entity Framework asp.net .net mvc.  I usually only happens when using databases I do not have control over.

The Cause

Read this very good page for more info.

The Solution

Just add in this bit of code to your Application_Start() in Global.asax

Database.SetInitializer<MyContext>(null);

And you’re all set.


22
Aug 12


Written By Steve French

 

How to fix “type or namespace services does not exist in the namespace system.data” problem

The Problem

'Data Model Template - Excel spreadsheet' photo (c) 2009, IvanWalsh.com - license: http://creativecommons.org/licenses/by/2.0/
the cause is that you are using .net 4.0 code in a 4.5 project, to solve, just go to add reference, search type in system.data.services, et al and add them manuallyYou create a new .net framework 4.5 solution in Visual Studio 2012 and you start to use some sample code from the Windows Azure Data Market. You attempt to compile and you get the “type or namespace services does not exist in the namespace system.data” and your service will not compile.

The Cause

For whatever reason, System.Data.Services does not come over automatically when you create the solution. It seems that System.Data is in .net 4.5, but System.Data.Services is .net 4.0. The fix for this was so easy I never bothered to look into it further.

The Solution

Just right click on the solution, and “Add Reference”, and then type in System.Data.Services, it will appear and just select it. Bada bing, problem solved.


08
Aug 12


Written By Steve French

 

How to fix the “Unable to launch the visual studio development server because port 9452 is in use” error

The Problem

You are coding away, Visual Studio locks up for one of it’s many reasons, and reopen your project and run it again. You then get the “Unable to launch the visual studio development server because port 9452 is in use” error

The Cause

When Visual Studio crashed, the Web Server did not, so basically it thinks you are trying to run two instances at the same time, which is not allowed.

The Solution

Open up the process manager, go to the Processes tab, and select “WebDev.WebServer40.exe” and click “End Process”. Then try running your project again. Visual Studio will now start the project fresh and the problem should go away.


01
Aug 12


Written By Steve French

 




Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.