Tuesday, September 15, 2009

Common Issues durinng migration on IIS6

hi.
during migrating of well running website from one server to another server some times create common issues. this can be avoid by keeping some issues in mind.
common issues are like.

(1) Page not found Error on each request.
(2)Only .html are served not .aspx pages.
(3)URL rewriting not working.
(4) Loop of Request..
........etc.

one of the following may be the cause of these issues.

(1) Ensure proper version of .Net framework is set or not from IIS.

(2) Ensure that All Extensions are mapped in configuration section of IIS.

(3) Ensure that Proper Wild card is inserted in Configuration section of IIS.

-This may be issue if you have used URL-Rewriting.

(4) Make sure that you have use all Extension as per type of platform of server(32-bit/64-bit)

-if you have 64-bit you have to mapped .dll from Framework64 directory.

(5) Check that you haven't use IP address of old server in your Code.

(6) Host headers are not configured properly.

-Loop of request may occur if you have configured Host headers incorrectly.

Thanks.

Monday, September 7, 2009

Common things to consider during migration from IIS6-to-IIS7

We have to face many problems in the initial stage of moving from one version to another version.
Some times your application working smoothly in iis6 will not work on IIS7.

There may be one or many reasons of such problem. In such condition first of all check these things on your machine.

1) Whether or not asp.net installed on your machine.

Go to Control panel -> add remove windows component -> Expand Internet information server Select asp.net.

2) Check Application pool:

iis7 have two mode of operation

a) Classic-Pipeline mode.

b) Integrated -Pipeline mode

if your application have any code in Global Application file(Global.asax) . that is necessary to execute first (URL rewriting). configure application to use Classic pipeline mode.

3)Check all modules in iis7 are assigned according to type of resource.

Static handler in iis is not mapped properly: in that case static resources like Images ,JavaScript ,HTML page or stylesheet(css) not are not server by iis7.
Page handler not mapped :Dynamic(aspx) Pages will not server by IIS.

for more detail on iis please visit about setting up iis visit

http://forums.iis.net

Thanks.