OLE DB provider for SQL Server, Connection Failure
Posted on 2008-11-14
Good morning expert,
Classic ASP written in VB6 connects to SQL Server 2000 database. We use this environ for test
but next week will be used for VIP presentation so must get it to work. When we go to a page that hits the database we get:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed. ....
Microsoft OLE DB Provider for SQL Server (0x80004005)
/wtemsc/EnterDetail.asp, line 36
The really wierd thing about it is if we click the refresh button on the browser the page
comes up normal.
I know the ASP error message are notorious for being red herrings but they are consistent
The page EnterDetail fails at line 36 which is
vntDetails = objEmployee.RetrieveEmployeeDetails(Session("intDB"),Session ("strEmployeeNumber"),1)
The page SelectCompany fails at line 56 which is
vntList = objTimeEntry.RetrieveCompanies (Session("intDB"),Session ("lngLoginID"))
The page ViewSelectEmployee fails at line 74 which is
vntList = objTimeEntry.RetrieveCostCenterTimeCards (Session("intDB"),Session ("lngLoginID"), Session ("strPlantNumber"), Session ("EndDate"), Session ("strCompany"))
I have tried everything I can think of and can't figure what causes this. The question is two fold
1. Is the obvious, what causes this. If there is no idea about the cause
2. Any ideas on how to troublshoot.
Allen in Dallas