Runtime error

Discussion in 'ASP.NET 2.0' started by splanck, Apr 19, 2005.

  1. I created a simple aspx file that only contains a web form created using Visual Web Developer Express Beta 2 and simply entered some text into the form, but I keep getting a runtime error. The URL for this page is http://beta-144928.server1.dotnetsandbox.net/Default.aspx

    Here's the source:

    <%@ Page Language='VB' AutoEventWireup='false' CodeFile='Default.aspx.vb' Inherits='_Default' %>

    <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>

    <html xmlns='http://www.w3.org/1999/xhtml' >
    <head runat='server'>
    <title>Untitled Page</title>
    </head>

    <form id='form1' runat='server'>
    <div>
    This is a test</div>
    </form>
    </body>
    </html>

    As you can see, it's not much more than an empty new web form, so there should be nothing here that would cause a runtime error to be generated. Anyone know what the problem might be?

    Thanks in advance for your help!
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    I see this error now,


    Parser Error Message: The file '/Default.aspx.vb' does not exist.

    unlike asp.net 1.1, i believe you need to upload the code pages.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page