Bryan
Well-known member
for some reason. my main index.aspx file is now getting the following error whenever I try to open it in the design view. I didnt change anything it just started doing this.
the error is:
The file failed to load in the Web Form designer. Please correct the following error, then load it again: The designer could not be shown for this file because none of the classes within it can be designed.
I am runnign VS.net 2002.
Any ideas how to fix this?
I have had this problem before, but it just went away. Now it is back.
Thanks
Bryan
heres my code for the vb file
heres the html for the aspx page:
the error is:
The file failed to load in the Web Form designer. Please correct the following error, then load it again: The designer could not be shown for this file because none of the classes within it can be designed.
I am runnign VS.net 2002.
Any ideas how to fix this?
I have had this problem before, but it just went away. Now it is back.
Thanks
Bryan
heres my code for the vb file
Code:
Public Class index
Inherits System.Web.UI.Page
Protected WithEvents Menu1 As skmMenu.Menu
#Region " Web Form Designer Generated Code "
This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
CODEGEN: This method call is required by the Web Form Designer
Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Menu1.DataSource = "../../mainMenu.xml"
Menu1.DataBind()
End Sub
End Class
Code:
<%@ Register TagPrefix="uc1" TagName="Menu" Src="Menu.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="index.aspx.vb" Inherits="AxisFellowship.WebForm1"%>
<%@ Register TagPrefix="skm" Namespace="skmRss" Assembly="rssfeed" %>
<%@ Register TagPrefix="cc1" Namespace="skmMenu" Assembly="skmMenu" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>AxisFellowship.org</title>
<meta name="vs_showGrid" content="False">
<!--StartFragment -->
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body bgColor="darkgray" ms_positioning="GridLayout">
<form id="Form0" method="post" runat="server">
<cc1:Menu id="Menu1" runat="server" GridLines="Both" ForeColor="Yellow" Layout="Horizontal" BorderColor="Black" BackColor="Black" Width="100%" Cursor="Pointer">
<UnselectedMenuItemStyle HorizontalAlign="Justify" VerticalAlign="Middle"></UnselectedMenuItemStyle>
<SelectedMenuItemStyle VerticalAlign="Bottom" BackColor="DarkGray"></SelectedMenuItemStyle>
</cc1:Menu><BR>
<FONT face="Papyrus" color="#0033ff">
<center>We exist to help transform lost and broken young adults into fully devoted
followers of Jesus.</center>
</FONT>
<P></P>
<P align="center">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 14px; WIDTH: 1158px; POSITION: absolute; TOP: 65px; HEIGHT: 734px" cellSpacing="1" cellPadding="1" width="1158" border="1" frame="void">
<TBODY>
<TR>
<TD style="WIDTH: 193px; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none" vAlign="top">
<P>
<asp:Calendar id="Calendar1" runat="server" Width="200px" BackColor="White" BorderColor="#999999" ForeColor="Black" Height="180px" DayNameFormat="FirstLetter" Font-Size="8pt" Font-Names="Verdana" CellPadding="4">
<TodayDayStyle ForeColor="Black" BackColor="#CCCCCC"></TodayDayStyle>
<SelectorStyle BackColor="#CCCCCC"></SelectorStyle>
<NextPrevStyle VerticalAlign="Bottom"></NextPrevStyle>
<DayHeaderStyle Font-Size="7pt" Font-Bold="True" BackColor="#CCCCCC"></DayHeaderStyle>
<SelectedDayStyle Font-Bold="True" ForeColor="White" BackColor="#666666"></SelectedDayStyle>
<TitleStyle Font-Bold="True" BorderColor="Black" BackColor="#999999"></TitleStyle>
<WeekendDayStyle BackColor="#FFFFCC"></WeekendDayStyle>
<OtherMonthDayStyle ForeColor="#808080"></OtherMonthDayStyle>
</asp:Calendar>
<skm:RssFeed id="rssESVDailyBible" runat="server"></skm:RssFeed></P>
</TD>
<TD style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none">
<P align="center"><STRONG></STRONG> </P>
<P align="center"><STRONG></STRONG> </P>
<P align="center"><STRONG><IMG src="images/axislogocropped.jpg"></STRONG></P>
<P align="center"><STRONG>AXISFellowsihp.org coming soon!!</STRONG>
</P>
<P style="POSITION: relative" align="center"><FONT color="black">To join the Unofficial
Axis Events e-mail list send a blank email to <A href="mailto:unofficialaxisevents-subscribe@yahoogroups.com">
<FONT color="blue">unofficialaxisevents-subscribe@yahoogroups.com</FONT></A></FONT></P>
<P align="center">
</form>
<DIV align="center"> </DIV>
</TD></TR></TBODY></TABLE></P>
</body>
</HTML>
Last edited by a moderator: