fischadler
Programmer
I have a web server that has been working fine with classic ASP pages for the last 4 months. I am now trying to switch to ASP.NET but aspx pages simply don't show up on this server. I get this error:
The page cannot be found
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
But the page is physically there (it's a simple aspx page - source shown below) and the other pages in the same folder (written in classic ASP) show fine.
This same page works fine at work (Windows 2003) or on my home WinXP Pro PC using localhost.
I have installed .Net Framework 2 on the problematic server.
Here's the code for the test page:
-Fischadler
The page cannot be found
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
But the page is physically there (it's a simple aspx page - source shown below) and the other pages in the same folder (written in classic ASP) show fine.
This same page works fine at work (Windows 2003) or on my home WinXP Pro PC using localhost.
I have installed .Net Framework 2 on the problematic server.
Here's the code for the test page:
Code:
<script runat="server">
Sub submit(sender As Object, e As EventArgs)
lbl1.Text="Your name is " & txt1.Text
End Sub
</script>
<html>
<body>
<form runat="server">
Enter your name:
<asp:TextBox id="txt1" runat="server" />
<asp:Button OnClick="submit" Text="Submit" runat="server" />
<p><asp:Label id="lbl1" runat="server" /></p>
</form>
</body>
</html>
-Fischadler