473,395 Members | 1,343 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,395 software developers and data experts.

web form designer error

ani
Hi,

After creating a Web form page that works with no
errors, I try to reopen it later and get this error
message:
"The file could not be loaded into the Web Forms designer.
Please correct the following error and then try loading it
again:
The @ Page or @ Control directive contains a src=
attribute, which is not supported in Visual Studio. Make
sure all of the classes used in the page are built or
referenced in the project."

My main page has this at the top:

<%@ Page Language="vb" src="CodeBehind.vb"
Inherits="Questionaire.Paging"%>
Nov 17 '05 #1
2 869
Try changing the src attribute to codebehind

bill

"ani" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
Hi,

After creating a Web form page that works with no
errors, I try to reopen it later and get this error
message:
"The file could not be loaded into the Web Forms designer.
Please correct the following error and then try loading it
again:
The @ Page or @ Control directive contains a src=
attribute, which is not supported in Visual Studio. Make
sure all of the classes used in the page are built or
referenced in the project."

My main page has this at the top:

<%@ Page Language="vb" src="CodeBehind.vb"
Inherits="Questionaire.Paging"%>

Nov 17 '05 #2
Try changing the src attribute to codebehind

bill

"ani" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
Hi,

After creating a Web form page that works with no
errors, I try to reopen it later and get this error
message:
"The file could not be loaded into the Web Forms designer.
Please correct the following error and then try loading it
again:
The @ Page or @ Control directive contains a src=
attribute, which is not supported in Visual Studio. Make
sure all of the classes used in the page are built or
referenced in the project."

My main page has this at the top:

<%@ Page Language="vb" src="CodeBehind.vb"
Inherits="Questionaire.Paging"%>

Nov 17 '05 #3

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

Similar topics

3
by: Chris | last post by:
Hi, I'm trying to append text from another class to a generic richTextBox that I've added to a Windows form. I can't seem to figure out how to expose the richTextBox to append text to it. ...
0
by: Tom Gao | last post by:
Hello, We are having a recurring problem of a typed dataset that we have in a form dissapearing from the VS designer and all bindings being lost. The dataset is defined in another component and...
0
by: Frnak McKenney | last post by:
I'm running into problems with VisualStudio.NET2003 and Windows Forms inheritance. It _feels_ like a bug, but it could just as well be a misunderstanding on my part regarding how the VS Designer...
5
by: ALthePal | last post by:
Hi, I am receiving this message when I start up VS.NET 1.0 on WinXP, File Failed to load in WEb Form designer. Please correct the following error, then load it again: Exception from...
18
by: Jan Nielsen | last post by:
Hi I have a main form showing personal information (name, address etc.) bound to a dataset. One of the pieces of information is the Group the person belongs to. This is selected from a combo box....
4
by: Philip Wagenaar | last post by:
I have made a form with a tab that containts groupboxes and those contain checkboxes. When I run the application sometimes the outlining for some groupboxes are not shown, if I switch tabs and...
7
by: Terry | last post by:
I have a Mainform with a Statusbar. When opening another form or doing some processing I want to display info in the Statusbar of the Mainform. I have read a lot of articles on this & have come up...
4
by: Michael | last post by:
Hi Everyone, I'm hoping someone out there can give me some guidance. I'm currenlty using VS2005 and the other day the Form Wizzard stopped working. What I mean, is that the wizzard no longer...
4
by: ThunderMusic | last post by:
Hi, I have a custom form that works fine when I debug it or run it in release mode but cannot be loaded in the designer... Actually, it can be loaded in the designer when no control is on it, but...
4
by: Phil | last post by:
VS 2008 I have a windows form that was created in the normal way using the form designer. I do not wish to use this form directly though, I want to use it as a basis for some other forms. I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.