vividly nonsensical
it just makes nonsense
Black Green Blue Red Gold
RSS
  • Home PageHome
  • About
  • Pix
  • Useful Stuff
  • VMWare Sites

Running 32bit applications on a 64bit IIS7.5 platform

Last edited by mvarre on January,05 2010microsoft, tech Add comments

As I continue to attempt getting all old IIS6 sites running properly in IIS 7.5 (Windows Server 2003 R2 64bit), the next issue didn’t occur much past my last post.  After creating my new Data Source (DSN), I opened up the migrated site and received the following error:

Microsoft OLE DB Provider for ODBC Drivers error ‘80004005′
[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
/path/to/dsn.asp, line 6

Well that’s interesting.  It’s mostly interesting because of what was actually on line 6 of this file:

Conn.Open “dsn=dsnName;uid=user;pwd=pass;”

Googling kept pointing me to it being a 32bit application running in 64bit mode.  All the resolutions were mostly explaining that the application needs to be recompiled, yadda, yadda.  Obviously this .asp file isn’t a “32bit file”, and well what am I supposed to tell my customers, that they need to only use 64bit .mdb files?

The solution was actually simple and had been something I’d read a few days before at iis.net about 32bit mode worker processes.

To configure 32-bit mode for the server

  • Open a command prompt and run the following:

%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true

32bitappOr you can just toggle this option in the Advanced Settings for the Application Pool for which the site is running. Either way works just fine.



I suppose on a shared web server for which I have no daily knowledge or control over what my customers are doing, it would be a best practice to turn 32bit mode for all sites by default and if an opportunity or need arises to switch back to native 64bit mode, then all the better.

  • Share/Save

December 4th, 2009  
Tags: 32bit windows, 64bit, application pool, DSN, IIS, microsoft, ODBC, windows server 2003 r2

Leave a Reply

You must be logged in to post a comment.



  • Recent Tweets

    • HP Critical Advisory affecting LOTS of ProLiant G5's and G6's. Data corruption possible -> http://digs.by/1g1e 59 mins ago
    • Mac printing via Terminal Server printer redirection? anyone? bueller??? 7 hrs ago
    • is it weird that I can put in order my least favorite jelly beans but can't do the same with my favorite ones? 20 hrs ago
    • the way of the gun on TMC. awesome. 22 hrs ago
    • my left thumb has been shaking for like a week. that can't be normal 1 day ago
    • I heart blackberry enterprise transporter 1 day ago
    • The "Internet" is a nobel peace price nominee. Funny. 1 day ago
    • who wants to buy me lunch today? 1 day ago
    • its a damn shame 1 day ago
    • I think i'm going to watch lost boys tonight.... 1 day ago
    • I have absolutely no problem with blocking entire countries from the perimeter firewall. 1 day ago
    • Ahbed rules 1 day ago
    • More updates...
  • My Links

    • asigraforums.com
    • kishmish.com
    • robibanerjee.com
    • webdevmatt.com
  • Recent Posts

    • Thanks for screwing us Sirius / XM
    • 4 must have Firefox Add-ons for the Sys Admin
    • Running 32bit applications on a 64bit IIS7.5 platform
    • Where did all the ODBC Drivers go from Windows Server 2008 64bit
    • Digsby and Ubertwitter – People just love to complain about free stuff
    • Outlook 2007 Active Directory account lockout (resolved)
    • The painful irony that is a Twitter outage
    • Office 2010 Technical Preview – Outlook: Day 1
    • The difference between us and them
    • Sage Timberline running on VMware ESX 4
  • Tag Cloud

    32bit windows appliance Asigra bes blackberry calendar CallLogger Cymphonix DS-Client DSN dsuser ESX filter firewall firmware update firmware upgrade FreeBSD gcc Hardy Heron Ibex IIS linux microsoft ODBC Outlook patches professional server rim rsyslog Shuttleworth snapshot Social syslog Televaulting Twitter Ubuntu VI virtual infrastructure vmdisk vmdk vmware web edition web servers Windows
  • Categories

    • backup (1)
    • blackberry (3)
    • linux (4)
    • microsoft (6)
    • ramblings (11)
    • tech (24)
    • vmware (10)
  • Archives

    • February 2010
    • January 2010
    • December 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • April 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
  • User Stuff

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Avatars by Sterling Adventures
Categories
  • backup
  • ramblings
  • tech
    • blackberry
    • linux
    • microsoft
    • vmware
About Me

My name is Michael Varre and I'm a Systems Administrator for a small company in Syracuse, NY.

You'll find a variety of Technology related rants, raves, how-to's and general thoughts here at jirc.com.Read more

Copyright © 2010 vividly nonsensical All Rights Reserved XHTML CSS THEME by I SOFTWARE REVIEWS