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:
system.data.sqlclient.sqlexception: timeout expired. timeout period elapsed prior completion of operation or server not responding.
system.data.sqlclient.sqlexception: transport-level error has occured when sending request server.(provider:tcp provider,error:0 - existing connection forcibly closed remote host.)
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.)
sourceedge.bcl.bclexception: unable execute ---> system.data.sqlclient.sqlexception: timeout expired. timeout period elapsed prior completion of operation or server not responding.
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
Post a Comment