Wednesday, November 19, 2014

System.Web.WebPages version conflict

Error 5 Assembly 'System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0\Assemblies\System.Web.Helpers.dll MvcEnrollmentSystem


Since VS2010 installed or or express for web installed, I need to rename the two DLL to get it to compile and run



System.Web.WebPages.dll occurs twice

Error 4 The type 'System.Web.Mvc.ModelClientValidationRule' exists in both 'c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\System.Web.Mvc.dll' and 'c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0\Assemblies\System.Web.WebPages.dll' E:\ASPNet\MvcEnrollmentSystem\MvcEnrollmentSystem\Models\AccountModels.cs 274 32 MvcEnrollmentSystem

Visual Studio 2010 trial download

http://stackoverflow.com/questions/8894654/vs-2010-trial-version-link

SP1
http://www.microsoft.com/en-us/download/confirmation.aspx?id=23691

Visual studio 2010 sp1 download

http://www.microsoft.com/en-us/download/confirmation.aspx?id=23691

Monday, November 17, 2014

Getting Started with Entity Framework 6 Database First using MVC 5

http://www.asp.net/mvc/overview/getting-started/database-first-development/setting-up-database

Sunday, November 16, 2014

Saturday, November 15, 2014

Publish website to Azure from VS2013

When doing publish need to check setting to make sure SQL db ID and password is correct.

If error displaying data, go to VS2013 "SQL Server Object Explorer" check Configuration, especially the Connection String and you can change that if not correct.