Hi,
I have a big Silverlight app which I have successfully converted and added a CloudService project. I have uploaded the database to SQL Azure, and from my webconfig file with a connection to this database on SQL Azure everything works fine. So, my next step, where I'm crashing, was when adding a Cloud Service to my solution and setting that service as a startup project.
So, I'm guessing that I'm not adding the connectionstring correctly to ServiceConfiguration.cscfg/ServiceDefinition.csdef ?
Error I get is: Error message is for Query LoadUsers: System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query 'LoadUserInfo'. The remote server returned an error: NotFound.....
My connectionstring look like this in webconfig:
<add name="LiveEntities" connectionString="metadata=res://*/LiveModel.csdl|res://*/LiveModel.ssdl|res://*/LiveModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.;Initial Catalog=Live09092010;Integrated Security=True;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
Do I need to put the same connectionstring into ServiceConfiguration.cscfg/ServiceDefinition.csdef and how should it look like?
Solution Live
SilverLight App proj 1
--files
Silverlight App proj 2
--files
Silverlight App proj 3...
--files...
Live.Web
--My Project
--Default.aspx
--Web.config
--etc..
LiveCloudServices
Roles
--Live.Web
--ServiceConfiguration.cscfg
--ServiceDefinition.csdef