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

    • annoyed as hell when i hear that people use ntbackup instead of a real backup solution. YOU GET WHAT YOU PAY FOR! 6 days ago
    • Wtf @espnu fix the feed from Syracuse! 1 week ago
    • 2nd time today i've had to install the telnet "feature" 1 week ago
    • Really getting sick of the drobo dashboard. it's about as useful as a toilet flavored lolli-pop 1 week ago
    • left my coffee in the foyer. son of a! 2 weeks ago
    • +1 RT @awfulannouncing: After yesterday's games... I really don't mind listening to Dan Dierdorf today. Of course, it's all relative. 3 weeks ago
    • does anyone at dell ever actually try to find the right download for a server on their website #yousuck 3 weeks ago
    • Installing MSDE 2000...on purpose #ugh 2012-01-06
    • +1 RT @NoReservations: I would bite Alvin's fucking head off--as an example to Simon and Theodore. 2011-12-25
    • So I'm real glad all the J-E-T-S fans can spell...but to test you skills try this one: L-O-S-E-R. #jets #giants 2011-12-24
    • Best. Idea. EVER. - Volkswagen turns off Blackberry email after work hours http://t.co/k4LPMElb 2011-12-23
    • If you're going to tout your product as a less expensive option it might help to actually be LESS EXPENSIVE #duh 2011-12-22
    • More updates...
  • My Links

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

    • Exchange 2010 SP1 Install – Setup previously failed while performing the action “Install”
    • Asigra DS-Client on Ubuntu 10.04 LTS
    • 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
  • Tag Cloud

    32bit windows appliance Asigra bes blackberry calendar CallLogger Cymphonix DS-Client DSN dsuser ESX 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 Windows Server 2008
  • Categories

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

    • August 2010
    • June 2010
    • 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 © 2012 vividly nonsensical All Rights Reserved XHTML CSS THEME by I SOFTWARE REVIEWS