Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6469197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T05:57:44+00:00 2026-05-25T05:57:44+00:00

I am working on a ASP.NET MVC2 website and now I need to add

  • 0

I am working on a ASP.NET MVC2 website and now I need to add more projects. My current webproject looks like this :

MyProject
- MyProject
-- [MyProjects project files]
- [Solution files] (plus a webconfig)

I started to takeout just the MyProject and rename it so that the structure looked like this :

MyProject.Website
- [MyPrject.Website project files]

Then I Created a MyPrject folder where I placed both the MyProjectSite and another project called MyProject.Integration, like this :

MyProject
- MyProject.Website
- MyProject.Integration

Then I started Visual Studio 2010 and created a blank solution, this gave me the following file structure :

MyProject
- MyProject.Solution
-- [Solution files] (no web.config)
- MyProject.Website
-- [Website project files]
- MyProject.Integration
-- [Integration project files)

When looking in Visual Studio 2010 I can see that my Solution(MyProject) contains two projects(MyProject.Website and MyPrject.Integration).

Now I hit Rebuild all and first get the following Exception:

Error 1 Could not load type ‘System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider’. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config 129

If I just rebuild the MyProjectIntegration everything is working fine but uts when building the MyProject.Website that I get this exception.

Its strange that I get a exception in a web.config not placed within my projects?

I googled the problem and found out that I could add a row to my web.config in the MyProject.Website, this is how it looks

<compilation debug="true" targetFramework="4.0">
  <assemblies>
    <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  </assemblies>
</compilation>

The “System.Data.Entity.Design” row was added

When this was dune I rebuilded again and then I got the following exception :

Error 1 The type or namespace name ‘ModelViewRegisterFilter’ does not exist in the namespace ‘Biss.Views.ViewClasses’ (are you missing an assembly reference?) c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\MyProject.website\e0c6b507\13ca6533\App_Web_3ri01j0f.0.cs 178

What am I doing wrong? I just need to have a main Solution that contains the two projects?

Edit1: Pleas note that all the projects was working just fine before I tried to place them in this solution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T05:57:45+00:00Added an answer on May 25, 2026 at 5:57 am

    Instead of creating a blank solution, why not try starting off with the mvc solution template and then add your existing projects and files to it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ASP.net MVC2 website that was working great when using Visual Studio
I am currently working on an ASP.NET MVC2 project. This is the first time
I am currently working on an ASP.NET MVC2 application and would just like to
I'm working on a asp.net mvc2 app. I have been using jquery to do
ASP.NET 4.0 MVC2 routing on IIS 6 is not working for me with all
I am working on ASP.net Webform application where i need to block certain dates
I'm working on ASP.NET MVC2 project. everything was OK in the last months, today
I am working in asp.net MVC2 application and I have question related to design
We've been working with ASP.Net MVC2 based web app. We're using DataAnnotations for model
I am using asp.net MVC2 and I am attepmting to add regexes to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.