OLE DB provider for SQL Server, Connection Failure

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. ....
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
Connection failure
/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.

Thanks

Allen in Dallas
LVL 1
Allen PittsBusiness analystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James MurrellProduct SpecialistCommented:
have you read http://tutorials.aspfaq.com/8000xxxxx-errors/80004005-errors.html it has help me many times with this problem
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Allen PittsBusiness analystAuthor Commented:
Not much of a solution but no else answered so I guess I am stuck with it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.