Hi
I have VERY simple project right now.
But, strange thing happened - I created a new ASPX page (and it's associative .cs code behind file). For some reason, the application can't find the page. The file is in the normal place (root) of the project!! Very odd... Why on earth would the application not be able to see the page?
I can open and edit the file in VS2008 but, it's not showing when I browse to it. In my web.config file, I have set the custom errors on, but when I try to see the page, the custom error page comes up (so at least that works).
The file is called 'login.aspx' and is below (it doesn't do anything yet obviously) - and the code behind file hasn't been touched.
I have VERY simple project right now.
But, strange thing happened - I created a new ASPX page (and it's associative .cs code behind file). For some reason, the application can't find the page. The file is in the normal place (root) of the project!! Very odd... Why on earth would the application not be able to see the page?
I can open and edit the file in VS2008 but, it's not showing when I browse to it. In my web.config file, I have set the custom errors on, but when I try to see the page, the custom error page comes up (so at least that works).
The file is called 'login.aspx' and is below (it doesn't do anything yet obviously) - and the code behind file hasn't been touched.
Code:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" Title="Login" %>
<asp:Content ID="loginContent" ContentPlaceHolderID="pageBody" Runat="Server">
<div style="width:200px;height:640px">
<form id="loginform" runat="server">
Username: <asp:textbox id="txtUsername" runat="server" />
Password: <asp:textbox id="txtPassword" runat="server" TextMode="Password" />
<asp:button id="btnSubmit" Text="Login" runat="server" />
</form>
</div>
</asp:Content>