Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Connection Timeout from one website but NO problem from another

Connection Timeout from one website but NO problem from another

Scheduled Pinned Locked Moved ASP.NET
databasehelpdiscussion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hasanali00
    wrote on last edited by
    #1

    I have hit a strange problem. I have one application deployed on 2 different websites. They both access the same database. The connection string in the web.config is same. The problem is that on one website I have started getting 'Connection Timeout' message. This website has stopped completely and I keep getting timeout error. I have ConnectionTimeout = 1000 in my code. However, on the second website, the same application is able to connect to DB without any problem. So I am not sure why one website is able to connect to a DB and another cannot. Any thoughts on this please. Thanks

    D 1 Reply Last reply
    0
    • H hasanali00

      I have hit a strange problem. I have one application deployed on 2 different websites. They both access the same database. The connection string in the web.config is same. The problem is that on one website I have started getting 'Connection Timeout' message. This website has stopped completely and I keep getting timeout error. I have ConnectionTimeout = 1000 in my code. However, on the second website, the same application is able to connect to DB without any problem. So I am not sure why one website is able to connect to a DB and another cannot. Any thoughts on this please. Thanks

      D Offline
      D Offline
      D4ever
      wrote on last edited by
      #2

      which databse u use?

      Darshana Pathak

      H 1 Reply Last reply
      0
      • D D4ever

        which databse u use?

        Darshana Pathak

        H Offline
        H Offline
        hasanali00
        wrote on last edited by
        #3

        Shared (hosted) MS SQL Server 2000

        D 1 Reply Last reply
        0
        • H hasanali00

          Shared (hosted) MS SQL Server 2000

          D Offline
          D Offline
          D4ever
          wrote on last edited by
          #4

          is it working successfully with another website Simulteneously? Check one by one it can be possible that if one is using that connection so other may not be able to access. Or check your web.config file that u have written correct server name & database name.

          Darshana Pathak

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups