Your question has been submitted and is awaiting moderation.
Recently we have upgraded our DNN from 5.6 to 7.0 which was hosted by power dnn. Upgrade is fine and site is up and running fine now.
Now, I am trying to create a local development environment. I create it by copy the whole website (from httpdocs) folder and host it in local IIS (v7). The local site is also running fine.
Then I open the website (open-->website-->local IIS) through VS2010 and build the whole site. Now the problem is, the VS shows build errors like "'MachineToApplication' beyond application level", "Invalid Server tag" (for custom controls) etc,.
Any one have idea why the VS Shows build error for a site which was running without any errors? Note that I am using .NET framework 4.0.