Running SQL Server 2005 on a webserver, doesnt get huge amounts of traffic hence we can host it ourselves, but keep getting timeout errors on SQL queries. Website is in VB.Net 2.0.
The website takes order for spectacles lenses. Theres heaps of information that needs to get loaded from the DB to my order form before an order can even be placed, then theres a big long query to write to the DB to save the new order. This goes fine and dandy until about 5 or 6 orders have been placed. I suspect its dues to me not closing connections properly, or not at all, so that will be my first thing to change, making sure I end each method that reads from the DB with sqlCon.close() or .dispose() (which is better?)
I thought there would be some sort of automatic garabe gobler built into SQL 2005 but maybe thats not the case.
So my question is, if my problem is not cause by leaving sqlconnections open, then what else could it be? Im fairly new to administering SQL 2005. Im running SQL Server Management Studio Express. I start a new job next week so would like to get this resolved ASAP.
I'll post back here this afternoon how I get on after closing all my connections etc.
Cheers
Hadley