Web Server Setup

  • Thread starter Thread starter Murphy
  • Start date Start date
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
 
Hi Murphy,

I tried it, and I cannot reproduce your error in a test situation.

Maybe you can ask this qeustion too in the newsgroup because there are this
kind of errors more often a subject of a question.

microsoft.public.dotnet.framework.aspnet

I hope you find your answer.

Cor
 
Back
Top