{"id":6074,"date":"2014-04-12T02:59:59","date_gmt":"2014-04-12T02:59:59","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/12\/windows-azure-forumswindows-azure-mobile-servicesrelated-issues-collection-of-common-programming-errors\/"},"modified":"2014-04-12T02:59:59","modified_gmt":"2014-04-12T02:59:59","slug":"windows-azure-forumswindows-azure-mobile-servicesrelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/12\/windows-azure-forumswindows-azure-mobile-servicesrelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"windows-azure-forums,windows-azure-mobile-servicesRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-development<br \/>\nHi All,I have attempted to create website a lot of times. Each time I choose different region to see if it can help to solve website creation failures, but the same failures still occurs. I have used &#8220;Quick Create&#8221;, Create with database method, but it does nothelp at all. I have pasted the error code below, please see if the code below is helpful to solve website creation problem.Provisioning failed.Try again. Contact support if the problem persists.Browser: 5.0 (compatible; MSIE 9.0;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-media-services<br \/>\nI tried below code to transcode a 3gp recorded on an Android device to mp4 but I received JobState.Error.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IMediaProcessor processor = GetMediaProcessor(&#8220;Windows Azure Media Encoder&#8221;);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ Create a task with the encoding details, using a string preset.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ITask task = job.Tasks.AddNew(&#8220;My en<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-sql-database<br \/>\nI have 3 Azure SQL in East Asia, East US and West Europe. I try to setup data sync group and there is one issue. If I add specific table, I keep getting fail message.\u00a0Is anyone\u00a0know how to solve it?Database re-provisioning failed with the exception &#8220;Cannot resolve the collation conflict between &#8220;SQL_Latin1_General_CP1_CS_AS&#8221; and &#8220;SQL_Latin1_General_CP1_CI_AS&#8221; in the equal to operation.Innerexception: SqlException Error Code: -2146232060 &#8211; SqlError Number:468, M<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-web-sites<br \/>\nHi There,Signed up to the free trial and am getting the web provisioning error, I was asked by James Cheshire to post on the support forums from all the similar threads I see that someone has had to sort out a back end issue in order for it to work. Attached is acopy of the error message that I get and have been getting for some days.Cheers,Nick.Provisioning failed.Try again. Contact support if the problem persists.Browser:\u00a05.0 (Windows NT 6.1) AppleWebKit\/537.4 (KHTML, like Gecko) Chrome\/2<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-virtual-machines<br \/>\nI failed to ssh to the Linux VM I created.Whenever I tried ssh, it says Network Error: Connection refused.Do I have to do something special when I create the VM?I thought it would be just straightforward.Any help is appreciated.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-virtual-machines<br \/>\nHi,Our client VM failed has failed to restart and is not responding at the moment. We have tried several attempts with the same outcome.Error:\u00a0The server encountered an internal error. Please retry the request. The long running operation tracking ID was: d8c7a88fa5e245d9836fa89bcb9cbb92.Please advice.Chris<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-virtual-machines<br \/>\nVM Creation Failed:I&#8217;m a paying customer and just can&#8217;t get started.\u00a0 Very disheartening.The server encountered an internal error. Please retry the request. The long running operation tracking ID was: 8a2d94dca4844cbdbabb9e9403d83f07.Browser: 5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident\/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)User language: en-usPortal Version: 2.6.00296.149 (rd_auxportal_stable.121009<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-development<br \/>\nHi,I followed the exact steps in below URL to create a build and also provided all details.http:\/\/www.windowsazure.com\/en-us\/develop\/net\/common-tasks\/publishing-with-tfs\/But build is failing with following error. Am i missing anything?Error:1 error(s), 0 warning(s)Exception Message: Parameter name: Url (type ArgumentException)Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context)at System.Activities.CodeActivity.InternalExecute(ActivityInstance insta<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-troubleshooting-diagnostics-amp-logging<br \/>\nI just created a Ubuntu server VM and installed some software. \u00a0 I shut down the VM and then rebooted it. \u00a0When I tried using SSH to log in again the SSH connection failed. \u00a0I am pretty sure I had the password right because I saved it whileI was setting up the machine.Has anyone experienced a similar issue? \u00a0It&#8217;s a bit concerning for long term server management&#8230;Mike Borozdin &#8211; DocuSign<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-virtual-machines<br \/>\nHi!I&#8217;m trying to download a VM&#8217;s VHD from the Azure storage, but after a while the download fails. I&#8217;ve tried with different tools (self programmed, third party; last tool tried is Azure Storage Explorer 4.0.0.10), but none of them worked. The download failsalways at the same size downloaded. Here&#8217;s the error that Azure Storage Explorer gave to me:The download always stops at 1,77 GB.I really need to download this VHD, how can i do that?ThanksClaudio Valerio<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nI am trying to port an app, that&#8217;s working fine on iOS (with javascript\/html5 client) and WP8 (native) to Firefox OS (again with js\/html5). So far I&#8217;ve tried in the simulator, but every time I try to access, it gives &#8220;Unexpected connection failure&#8221;error. Could someone please help me with it? Could it be because of CORS, which I have only localhost now.\u00a0I&#8217;m kind of lost at this at the moment. Please help. Thanks.\u00a0<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nI am trying to run sample windows azure windows store mobile client with todoitem table.Always getting error Unexpected character encountered while parsing value: &lt;. Path &#8221;, line 0, position 0. while querying for table.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nHi,I am creating a small wp8 app and have a table with rowversion data typeWhat data type should I use in c# to map it with azure mobile service database columnWhen I use byte[] it gives me error as&#8221;Error reading bytes. Unexpected token: StartObject. Path &#8216;TimeStamp.0&#8217;, line 1, position 76.&#8221;Timestamp is the name of the column I am using having rowversion as datatype.This is how my class looks like on c# side and same name columns are present in the azure server databasepublic class Bod<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nHey guys,I&#8217;ve not used this framework before, I&#8217;m currently trying to use the\u00a0JavaScript library to talk to Azure Mobile Services from an HTML5\/js web client (it will consume the same data store as a companion mobile app being developed in tandem).I&#8217;m using ASP.NET 4.5 with MVC &#8212; I&#8217;ve registered a bundle correctly, and referenced it in my _Layout.cshtml &#8212; and sure enough the script is rendered as follows: &#8220;&lt;script src=&#8221;\/js\/MobileServices.js&#8221;&gt;&lt;\/script&gt;&#8221; &#8212; t<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nI have an HTML5 application that uses Azure mobile authentication to login (straight from the example code&#8230;provided below). It works fine in all desktop browsers and iPhone\u00a0in Safari.\u00a0 But from app \/ full screen mode, it does nothing (doesn&#8217;task for permission to show a popup window like it does in safari and no popup windows shows up) and I can wait forever and nothing happens.\u00a0 If I invoke it a second time, it gives an error saying &#8220;Error: Unexpected failure&#8221;&#8230;perha<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nHi,I have an android app that uses facebook login, therefore I have an access token(via Session.getCurrentSession().getAccessToken()).In the example that shows the authentication feature for Windows Azure Mobile Services, they use a new Login window to authenticate withe the mobile service. I do not need a new window therefore I use the method that takes an acces token as a string.I tried to use the method that takes an access token and used the access token from the current active session, via<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nSo I have this query that is returning just finevar subscriptionTable = tables.getTable(&#8220;Subscription&#8221;); var activityTable = tables.getTable(&#8220;Activity&#8221;); var subscription;function read(query, user, request) {subscriptionTable.where({UserId: user.userId,Started: true}).read({success: function(subscriptions) {subscription = subscriptions[0];query.where(function(subscription) {return this.PlanId === subscription.PlanId &amp;&amp; this.Type === &#8220;Sport&#8221; &amp;&amp; this.D<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nHey,I have a problem with calling a custom API call in Azure.I have the standard script:And I basically want to just respond with hello world.I use the standard InvokeApiAsync as followingpublic class tst{public string Message { get; set; }}private async void ReadTable(){try{var result = await App.MobileService.InvokeApiAsync&lt;tst&gt;(&#8220;gogo&#8221;, System.Net.Http.HttpMethod.Get,null);MessageBox.Show(result.ToString()); }catch (Exception e){MessageBox.Show(e.Message, string.Format(&#8220;H<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nHi,\u00a0 \u00a0I am using android webView and trying to load Windows azure javascript-html code in android webview. But I am getting &#8216;unexpected connection failure&#8217; error.\u00a0When I use the same code in desk-top browser, It works fine. Somebody please help. Thanks in advance.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nwindows-azure-forums windows-azure-mobile-services<br \/>\nI am Trying to connect to a Azure Mobile Service from Metro App. I checked the the service, it says up and running, but when I try to access the data using SDK it tells me\u00a0&#8220;Unexpected connection failure&#8221;.Here is my code for reference on what I am doing:&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;WinJS.Application.mobileClient = new Microsoft.WindowsAzure.MobileServices.MobileServiceClient(&#8220;https:\/\/diabetolyzer.azure-mobile.net\/&#8221;, &#8220;MY KEY HERE&#8221;<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>msdn windows-azure-forums windows-azure-development Hi All,I have attempted to create website a lot of times. Each time I choose different region to see if it can help to solve website creation failures, but the same failures still occurs. I have used &#8220;Quick Create&#8221;, Create with database method, but it does nothelp at all. I have pasted [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6074","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6074"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6074\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}