为什么,这么小的程序都出不来?
<script language="vb" runat="server">
sub button_click(sender as object,e as eventargs)
response.write("your name" &name.value &pwd.value)
end sub
</script>
<html>
<body id=body1 runat="server"/>
<form method="post" runat="server">
your name:<input type=text id="name" runat="server"/><p>
your password:<input type=password id="pwd" runat="server"/>
<input type=button value="submit" onserverclick="button_click" runat="server">
</form>
</body>
</html>
以上是asp的原程序代码。
访问时给出的代码
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the system event log of the web server. Please review this log entry to discover what caused this error to occur.
对了,我装了.net framework 和iis,我的程序也放在默认的wwwroot下,访问.asp的文件好用,访问.aspx文件时就有以上代码出现,直接用IE打开,没有预期的动作出现
是不是还需要做其他的配置工作?现在很茫然