简体   繁体   English

如何在Windows XP SP2的IIS中运行.aspx页

[英]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默认没有它

You need to install .Net Framework first. 您需要先安装.Net Framework。 You can download v3.5 here 您可以在这里下载v3.5

You need to run from 您需要从

%windir%\Microsoft.NET\Framework\v2.0.50727

check this 检查这个

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 下载代码可以在Windows 7中运行,但不能在XP SP2中运行吗? - Download code works in Windows 7 but not XP SP2? 如何在C#中知道程序在运行XP SP2的Mac上的Parallels上运行,还是在运行Windows 7的Mac上的VmWare上运行 - How to know in C# that program is running on Parallels on a Mac running XP SP2 or VmWare on a Mac running Windows 7 如何通过控制台应用程序在Windows 2008 Server Web SP2的IIS7中设置站点? - How do I set up a site in IIS7 on Windows 2008 Server Web SP2 via a console application? Windows XP SP2中的System.Security.Cryptography.CryptographicException(签名算法)-Visual Studio 13项目 - System.Security.Cryptography.CryptographicException (signature algorithm) in Windows XP SP2 - visual studio 13 project 在 IIS 7 Windows Server 2008 R2 Enterprise SP2 上激活 MVC Web 站点 - Activate MVC Web site on IIS 7 Windows Server 2008 R2 Enterprise SP2 为什么Forms设计在XP sp2和XP sp3之间发生变化 - Why Forms Design changes between XP sp2 and XP sp3 Windows XP SP3上的wlanAPI - wlanAPI on Windows XP SP3 如何在Windows XP SP3中创建SFTP服务? - How to create SFTP service in Windows xp sp3? .net-core 2.2 与 windows server 2008 sp2 兼容吗? - Is .net-core 2.2 compatible with windows server 2008 sp2? ClickOnce无法在Windows Vista SP2上安装LocalDB 2012 - ClickOnce unable to install LocalDB 2012 on Windows Vista SP2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM