Cannot connect to SQL Azure master from worker role -
We are currently evolving against SQL Ezur and (unsuccessfully) point to a worker role in the master database in SQL X-ray. Tried to do
Unfortunately this does not work.
A little bit of background: "Allow other Windows Azure services to access this server" is enabled, and we have a firewall rule to enable it.
We suspect that this is not a firewall rule that holds the key to it. Our worker's role works against SQL Azure DBS, is not against the master right now ...
If someone can tell me in the right direction, I would be grateful!
Cheers, IEGO
The problem with the master database has become a red herring The real issue was that I was using the system. Data.SqlClient and Microsoft.SqlServer.Management Objects to run master SQL batch scripts (code in style below)
var serverConnection = new server connection (sqlConnection); Var Server = New Server (Server Connection); Server.ConnectionContext.ExecuteNonQuery (SQL); After playing our head bell against a wall, the issue came out that the DLL required to use these libraries was not working in Azer (we were dependent on dependencies). Were getting errors).
Finally, our solution was to split the batch script into several subscripts (essentially divided into parties, where there was a GO statement) and standard ADO. Net objects were to be run using. This has proven to be a better and more versatile solution, so we have worked fine for it right!
Comments
Post a Comment