Month: March 2012

Entity Framework tries to create database

Last week I faced one problem. I created one website using MVC3and Entity Framework. When I hosted the website I start getting the below error. CREATE DATABASE permission denied in database ‘master’ I checked the connection string in web.config file.

Posted in Asp.Net MVC, C#, MVC3, Visual Studio, Visual Studio 2010, Visual Studio 2012 Tagged with: , , , , , ,

Saving text with HTML tags in MVC3

While working on a project I come across a problem while saving data in database. The data I was trying to save contains HTML tags. I created this web page using Entity Framework for data access, and auto generated controller

Posted in Asp.Net MVC, C#, HTML, MVC3, Visual Studio, Visual Studio 2010, Visual Studio 2012 Tagged with: , , , , , ,