mpdillon
Member
I am trying to set up my first ASP.Net server. I have installed IIS and the .Net Framework 2.0 because I am creating a web application in VB.Net 2005. I have successfully created a web page in Notepad that is not an ASP page. It displays fine in Internet Explorer.
Next I created a web page in VB.Net 2005. The page contains no controls and has only one word. I copied the Default.ASPX and the Default.ASPX.VB files to the directory on the server, C:\Inetpub\wwwroot\ES. The ES of course is just a directory for this test. On that local server when I type http//:Servername/ES into internet explorer. I receive the following error message:
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: Could not load type 'Default_aspx'.
Source Error:
Line 1: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Default_aspx" %>
To me it seems like it does no know what to do with the ASPX files. I do not know if that is correct nor do I know how to correct it. Can any one offer any ideas as to what is going on and how to fix it?
Thank you
pat
Next I created a web page in VB.Net 2005. The page contains no controls and has only one word. I copied the Default.ASPX and the Default.ASPX.VB files to the directory on the server, C:\Inetpub\wwwroot\ES. The ES of course is just a directory for this test. On that local server when I type http//:Servername/ES into internet explorer. I receive the following error message:
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: Could not load type 'Default_aspx'.
Source Error:
Line 1: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Default_aspx" %>
To me it seems like it does no know what to do with the ASPX files. I do not know if that is correct nor do I know how to correct it. Can any one offer any ideas as to what is going on and how to fix it?
Thank you
pat