如何设置IIS 7.5为传统的ASP在Windows 7? [英] How do I setup IIS 7.5 for Classic ASP on windows 7?

查看:280
本文介绍了如何设置IIS 7.5为传统的ASP在Windows 7?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经负责了一些经典的ASP工作Java开发人员。在Windows中,我试图安装IIS 7.5 7 64位和能够得到配置,以获得本地主机屏幕IIS露面服务器。我发现这个设置链接从MS,但它只是有基础知识。

I'm a java developer that has been tasked with some Classic ASP work. I'm trying to setup IIS 7.5 in Windows 7 64 bit and was able to get the server configured to get the localhost screen for IIS to show up. I found this setup link from MS, but it just had the basics.

我正在尝试是显示ASP的同时也安装Visual Studio中进行调试,但我已经在网上找到一直扑朔迷离,至少可以说。

What I'm attempting is to display the ASP's and also to setup Visual Studio for debugging, but what I've found on the web has been confusing to say the least.

我有Visual Studio 2010和ASP的是不是像C常规文件夹结构:\\的Inetpub \\ wwwroot的\\,但在主目录,如c:/项目/平均价格/一个名为其他文件夹包括,CSS ,图像等...的平均价格都在平均价格,包括目录。

I have Visual Studio 2010 and the asp's aren't in the regular folder structure like c:\inetpub\wwwroot\, but are in a main directory, like c:/projects/asps/ with other folders called includes, css, images, etc... The asps are all in the asps and includes directories.

什么是设置传统的ASP的显示和Windows 7调试最简单的方法,因为这个文件夹结构?顺便说一句,我相信,我们正在使用ASP 2.0在这个应用,但我不知道如何告诉。

What is the simplest way to setup classic asp's for display and debugging for windows 7, given this folder structure? By the way, I believe we are using ASP 2.0 in this application, but I'm not sure how to tell.

现在,我收到这个错误试图打在根目录下的文件Default.asp的:

Right now I'm getting this error trying to hit a default.asp file in the root:

服务器对象错误ASP 0177:800401f3 Server.CreateObject失败
  /LM/W3SVC/2/ROOT/global.asa,行48 800401f3

Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /LM/W3SVC/2/ROOT/global.asa, line 48 800401f3

这是当它第一次尝试创建在Global.asa文件中的对象,所以也许我需要注册一个dll什么?

It's when it first tries to create an object in the global.asa file, so maybe I need to register a dll or something?

推荐答案

我以前从这个链接的信息:的设置如何IIS 7的经典ASP 。即使我使用的是IIS 7.5,我遵循同样的指示,但我在一个虚拟目录添加的。

I used the information from this link: How to setup IIS 7 for Classic ASP. Even though I was using IIS 7.5, I followed the same instructions, except that I added in a virtual directory.

然后我注释掉在global.asa文件有问题的线路。基本上,它是指向注册表以获取服务器信息,因此我的错误,我试图在我的机器上本地运行的东西。

Then I commented out the offending lines in the global.asa file. Basically it was pointing to the registry to get server information, hence my error as I was trying to run things locally on my machine.

在那之后,我能够打的Default.asp在根,并把它。

After that I was able to hit the default.asp at the root and bring it up.

这篇关于如何设置IIS 7.5为传统的ASP在Windows 7?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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