H
Harry Whitehouse
Hi!
Today I coded a small ASPNET page which accepts a 5 digit ZIP code and will
return all the street names in that ZIP code. You can try it out here:
http://65.203.54.72/FindAddress/FindAddress.aspx
The server side reads a special USPS database and creates a Dataview which
in turn is bound to a datagrid.
I've found one problem thusfar. If you put in a very urban ZIP code
(10016 -- NYC) and no street name, the query takes about 30 seconds to
render -- but it does come up eventually. There are about 11,100 entires in
the grid - which is likely a worst-case. If you then input another ZIP
(try your own) and press Go again, one immediately gets a "page not found"
screen.
If you push the refresh button on the brower and try again with the new ZIP,
it will work OK.
Similarly, if you don't look up a "stressful query", you can examine any
number of ZIP's in succession without a problem.
I'm wondering what's going on. Granted, the data download for 11,000
entries is pretty substantial. Is there some sort of connection timeout
that I'm encountering? Is there a setting in the CONFIG file that I need
to tweak?
I'm running IIS5 and .NET 2003. My browser is IE 6 with all the updates.
Any thoughts would be appreciated!
TIA
Harry
Today I coded a small ASPNET page which accepts a 5 digit ZIP code and will
return all the street names in that ZIP code. You can try it out here:
http://65.203.54.72/FindAddress/FindAddress.aspx
The server side reads a special USPS database and creates a Dataview which
in turn is bound to a datagrid.
I've found one problem thusfar. If you put in a very urban ZIP code
(10016 -- NYC) and no street name, the query takes about 30 seconds to
render -- but it does come up eventually. There are about 11,100 entires in
the grid - which is likely a worst-case. If you then input another ZIP
(try your own) and press Go again, one immediately gets a "page not found"
screen.
If you push the refresh button on the brower and try again with the new ZIP,
it will work OK.
Similarly, if you don't look up a "stressful query", you can examine any
number of ZIP's in succession without a problem.
I'm wondering what's going on. Granted, the data download for 11,000
entries is pretty substantial. Is there some sort of connection timeout
that I'm encountering? Is there a setting in the CONFIG file that I need
to tweak?
I'm running IIS5 and .NET 2003. My browser is IE 6 with all the updates.
Any thoughts would be appreciated!
TIA
Harry