aspx cannot show

A

Alan T

I got WinXP SP2, VS 2005 installed.

In my existing project that's with html only.
Now I created a aspx file with only
<html>
<body>

<%
response.write("Hello World!")
%>

</body>
</html>

When I display this page I got the error:
Server Application Unavailable.
The web application you are attempting to access on this web server is
currently unavailable. Pleas hit the "Refresh" button in your web browser to
retry your request."

If my aspx changed to asp, then it's fine.

Any idea?
 
C

Cowboy \(Gregory A. Beamer\)

Tat is because you are writing ASP inside your ASP.NET page, not ASP.NET

<script language="VB" runat=Server">
response.write("Hello World!")
</script>

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top