Connection timeout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mohana123
    New Member
    • Jun 2008
    • 7

    Connection timeout

    HI,

    While running an asp.net application in other than server system it gives the error of connection timeout. In this case as i need to change the IIS configuration? kindly provide the solution for this.

    Thanks in advance,
    Mona
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    Hi Mona,

    You can increase the timeout limit in the IIS console if you right click on the relevant Default Web Site, select Properties and the Web Site tab. You'll see a property called Connection Timeout which you can increase as desired.

    You may also set a connection timeout property when creating your connection objects.

    Hope this helps,

    Dr B

    Comment

    • mohana123
      New Member
      • Jun 2008
      • 7

      #3
      Thank you for your reply.

      I have changed the IIS connection timeout by the max of 10000 seconds. But still i am facing the same problem. Already i have configured the connection time out in connection string itself. Is there any other solution?

      Thanks,
      Mona


      Originally posted by DrBunchman
      Hi Mona,

      You can increase the timeout limit in the IIS console if you right click on the relevant Default Web Site, select Properties and the Web Site tab. You'll see a property called Connection Timeout which you can increase as desired.

      You may also set a connection timeout property when creating your connection objects.

      Hope this helps,

      Dr B

      Comment

      • kenobewan
        Recognized Expert Specialist
        • Dec 2006
        • 4871

        #4
        Are you using a local connection string? Show us what you are using please. Can you ping the server?

        Comment

        • mohana123
          New Member
          • Jun 2008
          • 7

          #5
          Originally posted by kenobewan
          Are you using a local connection string? Show us what you are using please. Can you ping the server?
          This is my connection string <add key="myconn" value="Data Source=172.16.1 .208;Initial Catalog=pmg;Use r ID=sa;Password= sa;Connect Timeout=1000; pooling='true'; Max Pool Size=200"/>

          yes, i can ping the server.

          Comment

          Working...