Results 1 to 3 of 3

Thread: DataAccess Application Block Question

  1. #1

    Thread Starter
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681

    DataAccess Application Block Question

    Anyone using the DataAccess application block from microsoft?

    Just wondering if there was a creative way to set the connection timeout besides going into the block and overloading methods to take a timeout value.

    Thanks

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I think if you want to set it with each call, you will have to modify the procedures to accept this new argument.

    Is there a reason why the default isn't good enough?

  3. #3

    Thread Starter
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    I think the default is 30 seconds or so - and I have one query in particular that takes a minute + to complete - so for that query I need to set the timeout to 2 minutes.

    That was the answer I was afraid of. I guess the end product will be more flexible in the long run though

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