Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inconsistent behavior of global.asa

Status
Not open for further replies.

sweta

Programmer
Apr 1, 2003
35
IN

Hi there,

My global.asa opens a connection in Session_OnStart() and accesses a table in SQL Server.
Sometimes the application runs properly but sometimes it gives an error that SQL server database doesn't exist or access denied.But after sometime my application starts working.
For past two days I 've noticed that generally this error occurs just after starting my server.
Is there any possibility that the error is because of SQL server.May be the server takes some time in starting up the database or the cause lies with global.asa.

Thanks,
Sweta
 
Well keeping SQL Server and IIS on same machine(home computer usualy) it may get to that.
It could get to some SQL server connection timeout if the SQL server it's not used for some time or just started.
Maybe it's not 100% loaded.

________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top