Results 1 to 5 of 5

Thread: SQL Server problem

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145

    SQL Server problem

    Hello All,

    I have finished an ASP.Net application and already put in production. This was being accessed by over a hundred users. My application is connecting to an SQL Server 2000 db.

    My question is: SOME of my users are experiencing an "SQL Server does not exist or access denied" runtime error sometimes but not always. Is this related to a network error? or an application error? I'm just thinking if I missed out something during development.

    Please shed me some light.

    Thanks in advance.

  2. #2
    Member
    Join Date
    Jan 2000
    Posts
    51
    What connection are you trying to use to make to the sql server? Make sure the permission in sql is grant.

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    SQL Server does not exist or access denied

    That seems pretty vague. Maybe the network is preventing a fast reply, and the timeout on the connection is happening? Not sure though. You might want to provide some logging so you can troubleshoot better. You could match up the log times with the errors and the network traffic at the time.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145
    Hi,

    Thanks for replying. How can I provide logging? Do I have to modify my application?

    Thanks.

  5. #5
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Yes, you would have to modify the app and include in some error catching to log the error and such. .Net has some built in logging classes and such.

    Check the System.Diagnostics namespace, I think the functionality is in there.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width