在Win7上运行经典ASP [英] Run classic asp on win7

查看:185
本文介绍了在Win7上运行经典ASP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我编写了一些很棒的代码,并成功设置了iis,并在win7上添加了虚拟目录.


在win7命令上设置iis.

Hello All.

I have write some great codes and have a success setup iis and add virtual directory on win7.


Setup iis on win7 commands.

string command1 = "START /w PKGMGR.EXE /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementScriptingTools;WAS-WindowsActivationService;WAS-ProcessModel;IIS-WebDAV;IIS-ASPNET;IIS-NetFxExtensibility;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-ManagementService;NetFx3";
            runCommand(command1);




但是它不能运行经典的ASP文件.

有谁知道如何将iis配置设置为以编程方式或使用一些pormpt命令在win7上运行经典asp,请帮帮我.

最好的问候.




But it can not run classic asp files.

Did anyone know how to set iis configuration to run classic asp on win7 programically or with some pormpt commands, help me.

Best Regards.

推荐答案

您的命令行看起来与此Microsoft网站上给出的命令行有所不同.
http://technet.microsoft.com/nl-nl/library/cc753918% 28WS.10%29.aspx [ ^ ]

另外,您确定您具有足够的特权来从代码执行此命令吗?您可能想尝试手动安装和配置它,以查看是否可以进行安装.如果出现问题,这也可能会为您提供更多信息,然后您也知道那是哪里.

您还需要正确配置ASP应用程序.请查看以下链接以获取有关此信息的更多信息:
如何在Windows 7上设置IIS 6.0以允许经典ASP站点运行 [
Your commandline looks somewhat different from the one given on the microsoft website on this.
http://technet.microsoft.com/nl-nl/library/cc753918%28WS.10%29.aspx[^]

Also, are you sure you have enough privileges to execute this command from code? You might want to try installing and configuring it by hand to check out if you can get it going. This will probably also give you more info if something goes wrong and you then also know where that is.

You also need to configure your asp application correctly. Check out the following link for more info on that:
How to Setup IIS 6.0 on Windows 7 to Allow Classic ASP Sites to Run[^]

Good luck!


这篇关于在Win7上运行经典ASP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆