1

Keep Getting this error when running Site:

Error parsing attribute 'page': Cannot create an object of type 'System.Web.UI.Page' from its string representation '' for the 'Page' property.

.aspx file:

<%@  Page Title="Home Page" Page Language="VB" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">

    <div class ="Home1">

    </div>

</asp:Content>

vb file:

Partial Class _Default
Inherits System.Web.UI.Page

End Class

0

1 Answer 1

2

take out the word page, and just keep Language (you already used it at the start)

Language="VB"
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.