Ressource not Allowed
Har installeret: Framework, web-matrix, SDK på maskine med Data Access Component 2.7 og IIS.Service-packs installeret.
Når jeg forsøger at køre et lille tutorial-ex., der skulle skrive welcome 7 gange, vises først siden som den skal. (det vil sige den kan godt "forstå" extension .aspx)
Når jeg trykker submit får jeg fejlen:
The page cannot be displayed
The page you are looking for cannot be displayed because the page address is incorrect.
Please try the following:
If you typed the page address in the Address bar, check that it is entered correctly.
Open the localhost home page and then look for links to the information you want.
HTTP 405 - Resource not allowed
Internet Information Services
---------------------------------------------
Koden kan ses herunder:
<%@ Page Language="C#" %>
<html>
<head>
<link href="intro.css" rel="stylesheet" />
</head>
<body>
<center>
<form action="intro2.aspx" method="post">
<h3>Name:
<input id="Name" type="text" />
Category:
<select id="Category" size="1">
<option selected="selected">psychology</option>
<option>business</option>
<option>popular_comp</option>
</select>
</h3>
<input type="submit" value="Lookup" />
<p>
<% for (int i=0; i <8; i++) { %><font size="<%=i%>">Welcome to ASP.NET </font>
<br />
<% }%>
</p>
</form>
</center>
</body>
</html>