I am working on windows azure with asp.net mvc 3 web role. I am trying to list out all the records in my table by using ADO.NET Entity Framework. and i have used the following connection string to bind model.
<add name="CalMedEntities" connectionString="metadata=res://*/Models.CalMedModel.csdl|res://*/Models.CalMedModel.ssdl|res://*/Models.CalMedModel.msl;provider=System.Data.SqlClient;provider connection string="data source=STELLENT-PC.database.windows.net;initial catalog=CalMed;persist security info=True;user id=sa;password=#stellent10;multipleactiveresultsets=True;Encrypt=True;erverCertificate=False;App=EntityFramework"" providerName="System.Data.EntityClient" />
When i run my project at local its working fine in windows azure emulator. but I am getting an error
The underlying provider failed on Open.
after publishing my project to windows azure portal. please guide me.