I know this post is over one year old. But I have a similar problem I thought to find an answer. Here is the problem.
I had an old project with all source and binaries. When I ran the application in Visual Studio 2012 Professional I received the following error. My old project was in Visual 2008.
Microsoft.Practice.EnterpriseLibrary.Data.DatabaseFactory does not contain a definition for SetDatabaseFactory
I have the following statement in my Gloabal.asax.cs file
protected void Application_Start(object sender, EventArgs e)
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseFactory.SetDatabaseProviderFactory(new Microsoft.Practices.EnterpriseLibrary.Data.DatabaseProviderFactory(), false);
I would appreciate any assistant.