Problem while connecting SQL Server & ASP Page - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Problem while connecting SQL Server & ASP Page

Hi all,

While connecting my asp page with SQL Server, I am getting following error:-

Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
Timeout expired

My Connection String is :-
"Provider=SQLOLEDB.1;SERVER=MYSERVER;DATABASE=Northwind;
User ID=sa;PWD=;"

I am stuck here. Kindly provide any solution..

Thanks.


Comments

  • FlakesFlakes Posts: 642Member
    : Hi all,
    :
    : While connecting my asp page with SQL Server, I am getting following error:-
    :
    : Error Type:
    : Microsoft OLE DB Provider for SQL Server (0x80004005)
    : Timeout expired
    :
    : My Connection String is :-
    : "Provider=SQLOLEDB.1;SERVER=MYSERVER;DATABASE=Northwind;
    : User ID=sa;PWD=;"
    :
    : I am stuck here. Kindly provide any solution..
    :
    : Thanks.
    :
    :
    :

    can you connect thru wuery analyzer/enterprise manager using that user id and password?

    Also show a bit more code.


  • punit kumar rapunit kumar ra Posts: 2Member
    : Hi all,
    :
    : While connecting my asp page with SQL Server, I am getting following error:-
    :
    : Error Type:
    : Microsoft OLE DB Provider for SQL Server (0x80004005)
    : Timeout expired
    :
    : My Connection String is :-
    : "Provider=SQLOLEDB.1;SERVER=MYSERVER;DATABASE=Northwind;
    : User ID=sa;PWD=;"
    :
    : I am stuck here. Kindly provide any solution..
    :
    : Thanks.
    :
    :
    :

Sign In or Register to comment.