Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: TimeOut While accessing database in Custom App_Code File

  1. #1
    gaurav_asr is offline Junior Member
    Join Date
    Aug 2006
    Posts
    18

    Default TimeOut While accessing database in Custom App_Code File

    Hi

    I am getting timeout error while accessing the database while i am trying to use new class in app_code.

    Any help would be great.

    Thanks
    Gaurav
    Gaurav
    email:-gaurav@infoquestsolutions.com
    gmail:-infoquestindia
    yahoo:-info_quest_solutions
    skype:-infoquestsolutions

  2. #2
    webopius is offline Senior Member
    Join Date
    Nov 2008
    Location
    London, UK
    Posts
    440

    Default

    You're not giving us much to work with to help you...

    - What does your custom class do
    - Do you have a code sample at the point it times out

    I think the default IIS timeout is 90 seconds so if you have a query or process running longer than this, it will timeout unless you change the setting using Server.ScriptTimeout = VALUE;

  3. #3
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    I would increase it anyway. ASPDNSF times out on so many queries and code that its always worth increasing it to overcome these issues.