title: IIS and application pools 32-bit vs 64-bit
body: <p>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.</p>
  
  <p>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. </p>
  
  <p>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. </p>
  
  <p>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? </p>
  
  <p>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. </p>
  
  <p>Mike</p>