Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
I have Simple website build in ASP.NET MVC 4
Danish Habib
8y
306
1
Reply
I have a simple website build in ASP.NET MVC4 unfortunately I get my laptop struck and i shut it down forcefully , and after that when i open my project in vs2010 it gives error so by previous backup files i change the csproj file , I have two to three Entity data model and as you know when u add entity data model by vs wizard it automatically created the Connection string object in the web.config file and I lost my connection string from web.config Now i add a new model just to add a connection string and I take all the tables while selecting the table for model wizard , Now it gives these two errors what is that
1-
Error 2 Missing partial modifier on declaration of type 'BusinessApplicationTemplate.Models.Property'; another partial declaration of this type exists C:\Users\dhabib\Documents\Visual Studio 2010\Projects\MVC\BusinessApplicationTemplate\BusinessApplicationTemplate\Models\Property.cs 15 18 BusinessApplicationTemplate
2-
Error 1 Missing partial modifier on declaration of type 'BusinessApplicationTemplate.Models.Service'; another partial declaration of this type exists C:\Users\dhabib\Documents\Visual Studio 2010\Projects\MVC\BusinessApplicationTemplate\BusinessApplicationTemplate\Models\Service.cs 9 19 BusinessApplicationTemplate
I have just one Service class and one Property Class why why it said there is already and you have to make it partial
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
cascade four dropdownlist using ajax or jquery.
multiple Datalists data showing only on datalist