473,385 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

MasterPageFile in web.config - Page Designer Errors

I have set the masterPageFile property in my web.config as follows:

<pages masterPageFile="~/Main.master" >

When I create a webform and I don't specify a masterPageFile in the aspx (so
that it uses the web.config specified master) and I go into design view for
the aspx, I get the following error:

Error Creating Control - Content
Content controls can only be used in a content page

Am I setting up the default master page incorrectly in the web.config file?

Thanks for your help

--
Brian Orrell
Pariveda Solutions
http://www.parivedasolutions.com
Feb 11 '06 #1
0 1185

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: stumpman | last post by:
I have been using VB.NET for 2 years and have completed many applications. Recently I have experienced problems using the dataset designer and at this point I cannot use it at all. It began when...
4
by: Brian Henry | last post by:
I want to have a custom page for errors, instead of the standard page which we get now built into asp.net, so i can have the error page shown in the company's template... how would i go about doing...
1
by: Chuck Haeberle | last post by:
We have need to share functionality across all of our application web pages, so we decided to subclass from System.Web.UI.Page. When we create a new aspx, the Visual Studio designer automatically...
0
by: Ola Johansson | last post by:
I got a strange problem. I have specified a custom error page in my Web.Config file and it works great if i get an exception anywhere on my site. The problem i got is that i do some checks in...
1
by: Chuck Bowling | last post by:
I'm trying to lay out an ASP.NET page in VS 2003. Is it normal that controls can't be positioned inside of a panel control in grid design view? Whenever I try to move anything around it stays...
1
by: Keith Patrick | last post by:
For some reason, in asp.net 2.0 (beta 2), any time I have an unhandled exception, my page will not handle the error. I have tried setting AutoEventWireup to true, false, removed it. I've tried...
2
by: Eytch | last post by:
Hey: I am a rookie developer so please bear with me. I want to develop a small application for my office but I am having trouble clearing a page that has required fields. If I make a textbox...
1
by: priya0123 | last post by:
Hi, We are writing an application in asp.net 2.0. We have used menu control and made it a usercontrol. I have Partial cached the user control. After caching the user control, this is being...
3
by: steve | last post by:
VS designer has started to complain about the following errors : Object reference not set to an instance of an object. Instances of this error (2) and Index was out of range. Must be...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.