linq to sql - SQL Azure: "The instance of SQL Server you attempted to connect to requires encryption but this machine does not support it" -


i'm getting following sql exception intermittently when azure worker role trying connect azure sql database call executecommand, using linq-to-sql:

"the instance of sql server attempted connect requires encryption machine not support it."

google seems know nothing error message. stack trace shows it's failing during pre-login handshake:

system.data.sqlclient.sqlexception (0x80131904): instance of sql server attempted connect requires encryption machine not support it. @ system.data.sqlclient.sqlinternalconnection.onerror(sqlexception exception, boolean breakconnection) @ system.data.sqlclient.tdsparser.throwexceptionandwarning() @ system.data.sqlclient.tdsparser.consumepreloginhandshake(boolean encrypt, boolean trustservercert, boolean& marscapable) @ system.data.sqlclient.tdsparser.connect(serverinfo serverinfo, sqlinternalconnectiontds connhandler, boolean ignoresniopentimeout, int64 timerexpire, boolean encrypt, boolean trustservercert, boolean integratedsecurity, boolean withfailover) @ system.data.sqlclient.sqlinternalconnectiontds.attemptonelogin(serverinfo serverinfo, string newpassword, boolean ignoresniopentimeout, timeouttimer timeout, sqlconnection owningobject, boolean withfailover) @ system.data.sqlclient.sqlinternalconnectiontds.loginnofailover(serverinfo serverinfo, string newpassword, boolean redirecteduserinstance, sqlconnection owningobject, sqlconnectionstring connectionoptions, timeouttimer timeout) @ system.data.sqlclient.sqlinternalconnectiontds.openloginenlist(sqlconnection owningobject, timeouttimer timeout, sqlconnectionstring connectionoptions, string newpassword, boolean redirecteduserinstance) @ system.data.sqlclient.sqlinternalconnectiontds..ctor(dbconnectionpoolidentity identity, sqlconnectionstring connectionoptions, object providerinfo, string newpassword, sqlconnection owningobject, boolean redirecteduserinstance) @ system.data.sqlclient.sqlconnectionfactory.createconnection(dbconnectionoptions options, object poolgroupproviderinfo, dbconnectionpool pool, dbconnection owningconnection) @ system.data.providerbase.dbconnectionfactory.createpooledconnection(dbconnection owningconnection, dbconnectionpool pool, dbconnectionoptions options) @ system.data.providerbase.dbconnectionpool.createobject(dbconnection owningobject) @ system.data.providerbase.dbconnectionpool.usercreaterequest(dbconnection owningobject) @ system.data.providerbase.dbconnectionpool.getconnection(dbconnection owningobject) @ system.data.providerbase.dbconnectionfactory.getconnection(dbconnection owningconnection) @ system.data.providerbase.dbconnectionclosed.openconnection(dbconnection outerconnection, dbconnectionfactory connectionfactory) @ system.data.sqlclient.sqlconnection.open() @ system.data.linq.sqlclient.sqlconnectionmanager.useconnection(iconnectionuser user) @ system.data.linq.sqlclient.sqlprovider.get_issqlce() @ system.data.linq.sqlclient.sqlprovider.initializeprovidermode() @ system.data.linq.sqlclient.sqlprovider.system.data.linq.provider.iprovider.execute(expression query) @ system.data.linq.datacontext.executecommand(string command, object[] parameters) 

i've found reports of other, similar errors due various issues in pre-login handshake (wherein fell similar error message problem in handshake), , others sql server "force encryption" setting needed changed, since azure sql database can't go in , change setting in sql server , don't expect need to.

since can't find else on specific error, , it's not happening every single time, i'm not sure look. pointers here?

edit: until shown otherwise, i'm chalking 1 transient errors due heavy traffic on db server 1 of hosted services. details in follow-up question asked: can 2 azure sql databases on same server affect each other's performance?

i've had issue morning, connect sql azure instance machine, log in through sql azure management portal not through azure website.

the solution in end go dashboard azure website , add database linked resource.

not obvious , maybe coincidence time being works.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -