{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/issues/5","labels_url":"https://api.github.com/repos/MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/issues/5/comments","events_url":"https://api.github.com/repos/MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/issues/5/events","html_url":"https://github.com/MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/issues/5","id":86518752,"number":5,"title":"Lab 4 not working after deployment","user":{"login":"davsebamse","id":94959,"avatar_url":"https://avatars.githubusercontent.com/u/94959?v=3","gravatar_id":"","url":"https://api.github.com/users/davsebamse","html_url":"https://github.com/davsebamse","followers_url":"https://api.github.com/users/davsebamse/followers","following_url":"https://api.github.com/users/davsebamse/following{/other_user}","gists_url":"https://api.github.com/users/davsebamse/gists{/gist_id}","starred_url":"https://api.github.com/users/davsebamse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davsebamse/subscriptions","organizations_url":"https://api.github.com/users/davsebamse/orgs","repos_url":"https://api.github.com/users/davsebamse/repos","events_url":"https://api.github.com/users/davsebamse/events{/privacy}","received_events_url":"https://api.github.com/users/davsebamse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T09:07:52Z","updated_at":"2015-08-20T03:14:45Z","closed_at":null,"body":"I get the following errors when deploying the service in lab 4: \r\n\r\n[SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.  This failure occurred while attempting to connect to the routing destination.]\r\n\r\nI have checked that the connection string is set correctly, by creating a package and examine the files.\r\n\r\nIf I disabled the call to the database initializer will I instead get an error saying that it cannot find the microsoft.windowsazure.service.serviceruntime version 2.4.0.0, but I do not have any reference to that version in the projects."},"comment":{"url":"https://api.github.com/repos/MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/issues/comments/132871445","html_url":"https://github.com/MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/issues/5#issuecomment-132871445","issue_url":"https://api.github.com/repos/MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/issues/5","id":132871445,"user":{"login":"ElaMark","id":12194751,"avatar_url":"https://avatars.githubusercontent.com/u/12194751?v=3","gravatar_id":"","url":"https://api.github.com/users/ElaMark","html_url":"https://github.com/ElaMark","followers_url":"https://api.github.com/users/ElaMark/followers","following_url":"https://api.github.com/users/ElaMark/following{/other_user}","gists_url":"https://api.github.com/users/ElaMark/gists{/gist_id}","starred_url":"https://api.github.com/users/ElaMark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElaMark/subscriptions","organizations_url":"https://api.github.com/users/ElaMark/orgs","repos_url":"https://api.github.com/users/ElaMark/repos","events_url":"https://api.github.com/users/ElaMark/events{/privacy}","received_events_url":"https://api.github.com/users/ElaMark/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T03:14:45Z","updated_at":"2015-08-20T03:14:45Z","body":"Entity Framework 6 is the reason you're getting the issue. To get around the problem do 2 things:\r\n1. Remove the ConnectionTimeout=30 from the database connection string.\r\n2. Change the Constructor in the EventsContext.cs file as follows:\r\n\r\npublic EventsContext()\r\n            : base(\"EventsContextConnectionString\")\r\n        {\r\n            this.Database.CommandTimeout = 240;\r\n        \r\n        }\r\n\r\nMark"}}