SQL Azure connectivity fails all of a sudden -


i have website hosted on godaddy server , many users access website respective username , passwords. database in azure. of sudden when users of website try access website username , password fail identified valid users though valid.

consequently when such thing happens more 5 mins no user can login website. can connect database local server or through azure portal.

the series of errors gets logged event viewer follows:

  1. system.data.sqlclient.sqlexception: timeout expired. timeout period elapsed prior completion of operation or server not responding.

  2. system.data.sqlclient.sqlexception: transport-level error has occured when sending request server.(provider:tcp provider,error:0 - existing connection forcibly closed remote host.)

  3. system.data.sqlclient.sqlexception: network-related or instance-specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections. (provider: tcp provider, error: 0 - connection attempt failed because connected party did not respond after period of time, or established connection failed because connected host has failed respond.)

  4. sourceedge.bcl.bclexception: unable execute ---> system.data.sqlclient.sqlexception: timeout expired. timeout period elapsed prior completion of operation or server not responding.

  5. system.argumentnullexception: value cannot null. parameter name: connection

after error shown in 5 occurs subsequent logins result in invalid user though values not null.

can tell me why error happens of sudden. gets normal after few minutes or takes hours sometimes.

i'm not sure if you're aware of pitfalls regarding connection handling sql azure. sql azure service might close connections @ time reasons. need called transient condition handling. not sure if problem, if you'are not aware of this, i'd suggest read following resources:

microsoft technet - windows azure sql database connection management

microsoft technet - retry logic transient failures in windows azure sql database


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -