Server setup ?

M

Murphy

We have a simple server:
NT Server 4.0 SP 6a
Option Pack (Includes IIS)
..NET Framework 1.1

The problem is that aspx scripts do not run correctly, HTML is displayed
however no code is executed.
We have a simple tutorial from asp.net that includes code that simply posts
to itself, the code is below. If the page uses the asp extension and posts
to itself it works perfectly, however if I change the extension to aspx and
make it post to itself then I receive the following error when I try to
post:

HTTP Error 405
405 Method Not Allowed

The method specified in the Request Line is not allowed for the resource
identified by the request. Please ensure that you have the proper MIME type
set up for the resource you are requesting.

Please contact the server's administrator if this problem persists.



The code is as follows:

<html>
<head>
<link rel="stylesheet" href="intro.css">
</head>
<body>
<center>
<form action="Intro1.aspx" method="post">
<h3>
Name: <input id="Name" type=text>
Category: <select id="Category" size=1>
<option>psychology</option>
<option>business</option>
<option>popular_comp</option>
</select>
<input type=submit value="Lookup">
</h3>
</form>
</center>
</body>
</html>
Thanks



Murphy
 

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

Similar Threads


Top