Showing posts with label professional. Show all posts
Showing posts with label professional. Show all posts

Wednesday, March 28, 2012

the brower doesnt compile aspx

does any know why my file doen't get compiled? (it came up with a black page) i have .net framework 1.1 installed on window 2000 professional and my code is form.aspx

thanks in advance,
ling

my practice code is:
---------
<%@dotnet.itags.org. Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form action="form.aspx" method="post" runat="server">
<asp:textbox id="Name" runat="server" />
<asp:dropdownlist ID="form" runat="server"
<asp:listitem Value="Category" Text="Category" runat="server"></asp:listitem>
<asp:listitem Value="psycchology" runat="server"></asp:listitem>
<asp:listitem Value="popular_comp" runat="server"></asp:listitem>
</asp:dropdownlist
<asp:button ID="Lookup" runat="server" /
</form>
</body>
</html>your browser doesn't compile the code. What are you writting your code in? WebMatrix, Visual Studio,...etc.
Hi,

I've experience the same situation with the following code.

<html>
<head>
</head>
<body>
<form runat=server>
<asp:Label text="Hello World" runat=server />
</form>
</body>
</html
I'm using notepad to write the .aspx file and I've save it to C:\Inetpub\wwwroot. Using the IE6.0 browser and type http://localhost/HelloWorld2.aspx, the resulting page is blank screen.

What seems to be the problem with this? Hope to hear from anybody & thanks.

-Jun
I used visual studio and dreamweaver MX for writing the code and saved it in wwwroot.

thanks in advance,
Make sure aspnet is installed correctly by using the "aspnet_regiis -i" exe that you can find under your framework folder, usually in [system_drive]\[windows]\framework\v1.0.3705 or[system_drive]\[windows]\framework\v1.1.4322 if it's FX1.1

HTH,
Ting-hao