At a guess:

" i have error: SSL encryption
> for data sent between client and server is not implemented."

and

"SqlConnection("Server=tcp:asz59ug1bl.database.windows.net,1433;Database=Mymd;User
> ID=myuser@asfe41241;Password=MyPwd;Trusted_Connection=True;Encrypt=True;"))"

Take out "Encrypt=true" and it might work - no idea if Azure supports
non-encrypted connections tho.

Of course, you are pushing data unencrypted over the internet, which
is usually a bad idea, not to mention REALLY inefficient.

Might be a good idea to put a Azure web service in, and talk to that
(over HTTP(S)) which then talks to your DB.


On Wed, Feb 1, 2012 at 10:53, ideveloper <[email protected]> wrote:
> Hello. I have a problem with connect to database MS SQL Azure in monotouch.
> To a simple database MS SQL I can connect - all successfully opens a
> connection request and is, but to MS SQL Azure i have error: SSL encryption
> for data sent between client and server is not implemented.
> using (SqlConnection connection = new
> SqlConnection("Server=tcp:asz59ug1bl.database.windows.net,1433;Database=Mymd;User
> ID=myuser@asfe41241;Password=MyPwd;Trusted_Connection=True;Encrypt=True;"))
>                        {
>                connection.Open(); }
> how to solve this problem?
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Sql-azure-problem-tp4347507p4347507.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to