Classic ASP application experiencing SQL Server “Timeouts” and “SQL Server does not exist or access denied”

后端 未结 3 1662
梦如初夏
梦如初夏 2021-01-18 04:02

We\'ve been seeing this problem for a while now and I\'m really trying to wrap my head around what\'s causing it.

A couple of times a day we\'ll see periods where we

3条回答
  •  伪装坚强ぢ
    2021-01-18 04:32

    Is your web app closing and disposing (set to nothing) of database connections?

    Also, have you tried using SQLOLEDB instead of ODBC? Can't think of any reason why you'd be using ODBC here.

    here's my connection string on a very busy classic asp app:

    Dim strcConn
    strConn = "Provider=SQLOLEDB; Data Source=someserver; Initial Catalog=somedb; User ID=someuserid; Password=somepassword"
    

    Edit

    I came across this blog posting. Kind of interesting.

    http://www.ryanbutcher.com/2006/02/classic-asp-on-2003-server-with.html

提交回复
热议问题