I was using IIS 5.1 on Windows XP PC the page used to load in a fraction of second.
Now I have moved to windows server 2008 R2 with IIS 7.5 and same DB. I checked MySQL, it working in the same way as previous machine. I have checked IIS 7.5 for basic .Net pages not involving DB, even that is working normal.
I think the problem is somewhere else in connection which is making the application dead slow, please suggest how can I increase the speed?
The problem was with my DSN, I didnt write IP Address there so it was checking for available hosts and then taking localhost. I have entered the IP Addr of machine in DSN and things are working smooth.