Monday, March 31, 2014

run ASP .net in WIndows 7





ASP .net in WIndows
http://www.w3schools.com/asp/asp_install.asp

Stop Apache if any
Control panel ->Programs ->Programs and Features ->Turn Windows features on or off
Check  Internet Information Services and click OK, it will take a few minutes.

Run localhost to check
http://localhost/
Open Windows Update by clicking the Start button Picture of the Start button, clicking All Programs, and then clicking Windows Update.
Under
C:\inetpub\wwwroot
add write permission for C:\inetpub\wwwroot for you
create mydir/test1.asp
<!DOCTYPE html>
<html>
<body>
<%
response.write("Hello World!")
%>
</body>
</html> 

http://localhost/mydir/test1.asp
error message
Detailed Error Information
Module    StaticFileModule
Notification    ExecuteRequestHandler
Handler    StaticFile
Error Code    0x80070032
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
Under command prompt, run as  administrator.
C:\Windows\system32>cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -i
Microsoft (R) ASP.NET RegIIS version 4.0.30319.18408
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation.  All rights reserved.
Start installing ASP.NET (4.0.30319.18408).
..........
Finished installing ASP.NET (4.0.30319.18408).

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>
Bug fixed: need to check ASP ASP.NET under development features as follows:


No comments:

Post a Comment