Wednesday, August 26, 2009

64 bit IIS And 64 Window OS And 64 bit .Net Framework

Recently I am working on migrating asp.net web application from 32 bit operating system to 64 bit windows operating system. While doing so, have learnt and encounter various problem pertaining to such migration.

Lesson Learnt..
In 64 bit operating system we have to installed 64 bit .net framework setup only. In 64 bit operating system we have two folders one is 32 bit Program files and 64 bit program files.This is done so as to provide compactibility with current setup. Also one should decide upon choosing between 32 bit and 64 bit IIS. There is Web Extension in Internet manager where one can start asp ,asp.net 64 bit,asp.net 32 bit or webdev engine in it.

Most Common problem with 64 bit IIS is .AXD File and ISAPI.dll
Problem face are:
1)Report Viewer Control not rendered properly.Like export icon,paging and navigation buttons are actually web embedded extension file i.e .axd are not rendered properly.
2)Chart control rendering problem.
3)Tree view control rendering problem

There are the above cases where I faced a grave problem resolving them all.

WorkAround.
1) Type Inetmgr in Run Command.
2)Internet manager is open.
3) Go to your website or virtual directory.Click on home directory tab.
4) Click on Configuration button.
4) Search for file extension -.axd
5) Click on Edit(If not there then add .axd extension with all verbs and verify path option unchecked)
6) Select All verbs and UNCHECKED 'Verify Path Exist'

This is one of the troubleshooting step that I followed and successfully resolved similar problem in Development Server,Test Server,Staging Server and Production server.

Hope this is useful !