[英]How to run .aspx page in IIS on Windows XP SP2
I want to set an ASP.Net Server (IIS) in my Desktop to run my asp.net .aspx pages. 我想在我的桌面上设置一个ASP.Net服务器(IIS)来运行asp.net .aspx页面。 I'm currently using Win XP Service Pack 2. To install the IIS, first I inserted the XP cd to the disk drive and then I follow the following path
Control Panel / Add or Remove Programs / Add/Remove Windows Components
. 我当前使用的是Win XP Service Pack2。要安装IIS,首先将XP cd插入磁盘驱动器,然后按照以下路径
Control Panel / Add or Remove Programs / Add/Remove Windows Components
。 I successfully installed IIS on this computer. 我已在此计算机上成功安装了IIS。 Then for running the asp.net .aspx page I need to run the following code in Command Prompt:
然后,为了运行asp.net .aspx页面,我需要在命令提示符中运行以下代码:
%windir%\Microsoft.NET\Framework\v3.5\aspnet_regiis.exe -i
When I run this line in command prompt then it shows me the following error: 当我在命令提示符下运行此行时,它将显示以下错误:
'C:\\WINDOWS\\Microsoft.Net\\Framework\\v3.5\\aspnet_regiis.exe' is not recognized as an internal or external command, operable program or batch file.
无法将“ C:\\ WINDOWS \\ Microsoft.Net \\ Framework \\ v3.5 \\ aspnet_regiis.exe”识别为内部或外部命令,可操作程序或批处理文件。
After this I checked for the aspnet_regiis.exe
in the path C:\\WINDOWS\\Microsoft.Net\\Framework\\v3.5\\
but here aspnet_regiis.exe
is not available in that folder. 此后,我在路径
C:\\WINDOWS\\Microsoft.Net\\Framework\\v3.5\\
检查了aspnet_regiis.exe
,但是在此文件夹中没有aspnet_regiis.exe
。 I'm not able to understand it. 我听不懂
You need to install .NET Framework 3.5 first! 您需要先安装.NET Framework 3.5 !
XP SP2 doesn't have it by default XP SP2默认没有它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.