IIS和应用程序池32位和64位 [英] IIS and application pools 32-bit vs 64-bit

查看:86
本文介绍了IIS和应用程序池32位和64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Microsoft Access数据库(MDB)在经典ASP中构建的网站.我将站点设置为在Windows 7 64位计算机上运行.将站点添加到IIS时,我选择了.net 2.0应用程序池.该池是使用经典管道设置的,并且已启用32位应用程序支持.效果很好.

I have a website that is build in classic ASP using Microsoft access databases (MDB). I setup the site to run on a windows 7 64-bit machine. When I added the site to IIS, I chose a .net 2.0 app pool. This pool was setup using classic pipeline and 32-bit application support turned on. This worked fine.

现在,我正在向网站添加搜索功能.我利用Windows索引服务并使用ASP查询目录.当我将搜索功能添加为新应用程序时,我告诉它使用64位应用程序池.无论出于何种原因,使用指定的64位应用程序池搜索功能似乎均不正确.

Now I'm adding a search function to the site. I'm leveraging the windows indexing service and querying the catalog using asp. When I add the search function as a new application, I told it to use a 64 bit app pool. For whatever reason the search function does not seem to be correctly using the specified 64-bit app pool.

如果我打开为主站点指定的32位应用程序池并关闭对32位应用程序的支持,则可以进行搜索,但是由于没有64位喷射驱动程序(MDB),访问查询失败.

If I turn open the 32 bit app pool I specified for the main site and turn off support for 32-bit applications, search works but since there are no 64 bit jet drivers (MDB) Access queries fail.

如何使IIS在主站点上使用具有不同位数的不同应用程序池,以及作为子目录添加到该站点的应用程序?

How do I get IIS to use different app pools with different bitness for a main site and an application added to that site as a subdirectory?

我想将mbd数据库转换为accdb,因为accdb有64位驱动程序.目前,我无法执行此操作,因为我们当前的托管公司正在win2k盒子上运行该网站.我正在选择一个新主机,该站点将在win 2008/2012服务器中运行.那时我可以升级数据库,但是由于代码中有很多地方,这将使您很痛苦,并且由于站点经常更改,可能需要一些时间,并且在转换时我必须维护2个版本.

I thought about converting the mbd databases to accdb since there are 64 bit drivers for accdb. At present, I can't do that because our current hosting company is running the site on a win2k box. I'm in the process of picking a new host and will have the site run in win 2008/2012 server. At that point I could upgrade the databases but since there are many places in the code it would become a pain and may take some time since the site changes often and I'd have to maintain 2 versions while converting.

迈克

推荐答案

搜索了将近一天的尝试并让2个应用程序池一起玩得很开心之后,我弄清楚问题出在座椅和座椅之间.键盘.让我解释一下.

After searching for almost a day to try and get the 2 app pools to play nice together, I figuted out that the problem came from the object between the seat and the keyboard. Let me explain.

当我将搜索文件作为新应用程序移动到子文件夹时,我忘记更新搜索表单的目标以指向新位置的文件.它仍然指向旧位置.这就是为什么搜索以32位而不是64位运行的原因.

When I moved the search file to the sub folder as a new application, I forgot to update the target of the search form to point to the file in the new location. It was still pointing to the old location. This is why the search was running in 32 bit not 64 bit.

我现在可以说,运行在Windows 7 IIS上的Classic ASP可以具有多个具有不同位数的应用程序池.

I can now say that Classic ASP running on windows 7 IIS can have multiple application pools with different bitness.

这篇关于IIS和应用程序池32位和64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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