Solved

master pages in vs2010

Posted on 2012-03-18
1
284 Views
Last Modified: 2012-04-05
I have been trying to migrate a VB.net web site to a web app called "VMA".  One of the most maddening problems is with master pages.

In the root folder I have created a master page called "Master".  It creates the page OK with inherits="VMA.Master" (note the app name at the beginning), but no namespace in the designer or the code-behind.

Next, I add a new web form, "Default", to use this new master page.  When I run the app, it keeps throwing the error "could not load type "VMA.Master".  

Please help.  This is making me nuts!
0
Comment
Question by:dhenderson12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 37737277
There is usually a problem when going from a Web Site model to a Web Application model, because of the attributes that are used.  I believe that the Web Site model uses the CodeFile attribute, and the Web Application model uses the CodeBehind attribute.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question