|
I have a single page website in ASP.NET 2.0.
I have put this page named default.aspx in IIS Default Website Directory. When i run this page in cleint browser it gives me some kind of error like below
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The file '/Default.aspx.vb' does not exist.
Source Error:
Line 1: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-...
Source File: /Default.aspx Line: 1
i run web by typing ip add in browser.
what is this even when i run it in my browser same problem occured. I have refreshed IIS and restarted it. i m run Windows XP Pro
ASP.NET Page should display in Cleint Browser?
There are two types of aspx pages:
1) Pages that have the server-side code (VB in your case) and the html in the same file.
2) Page that have the server-side code in a different file (.vb) than the html code, which is what you are using, because the first line reads "<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>"
|