I run the exact same site on 2 servers. I use a datareader to cycle through my main data. It look like this:
While drRecords.Read()
Call DetailLine(intI)
End While
One one server, it very fast. On the other it is so slow it usually times out. I have narrowed the line to the first time the "While drRecords.Read()" is called. It literally takes about 75 seconds for 65 rows. The weird thing is this runs slow on a server with 4gig of ram and 4processers. It runs extrememely fast on a crappy test server.
Both servers have .Net sp2 and mdac 2.7.
Any ideas why it's running slow?
Thanks for your help!
Steve
While drRecords.Read()
Call DetailLine(intI)
End While
One one server, it very fast. On the other it is so slow it usually times out. I have narrowed the line to the first time the "While drRecords.Read()" is called. It literally takes about 75 seconds for 65 rows. The weird thing is this runs slow on a server with 4gig of ram and 4processers. It runs extrememely fast on a crappy test server.
Both servers have .Net sp2 and mdac 2.7.
Any ideas why it's running slow?
Thanks for your help!
Steve