Results 1 to 2 of 2

Thread: Problems with System DSN....

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343

    Question Problems with System DSN....

    Hi!

    Is there any way to set the connection time on a System DSN??

    I'm connection to a Access database from a ASP page using ADO and ODBC (a System DSN). This works when I open the connection for the very first time. But if I try to open a new connection say 20 sekunds later through the same System DSN, I get a driver error. And yes I have closed the first connection by using the close method and setting the object to nothing.

    It seems to be some problem with a ODBC setting?? Can this be fixed in some way???

    I have tried connecting to the database without any DSN and then it works great.

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    This doesn't answer you're question, but use a DSN-less OLEDB connection. You'll get better performance.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

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