Any of you able to deploy a Windows Phone 7 cloud applicaiton to Azure and able to get it worked?

Jul 2, 2011 at 9:25 PM

Hi All

I followed all the instructions in the "Deploy your services to windows Azure" and was able to deploy the application to Windows Azure.  I able to launch my application via IE and able to login, register etc.  However when I tried the phone applicaiton from the emulator, I able to install the certificate.  After that, I could not able to login or register from phone application.  Any idea how can I trouble shoot this issue?

Thanks in advance.

 

Jul 3, 2011 at 10:28 AM
what is the exact, actual error?

On Sat, Jul 2, 2011 at 3:25 PM, carthi <notifications@codeplex.com> wrote:

From: carthi

Hi All

I followed all the instructions in the "Deploy your services to windows Azure" and was able to deploy the application to Windows Azure. I able to launch my application via IE and able to login, register etc. However when I tried the phone applicaiton from the emulator, I able to install the certificate. After that, I could not able to login or register from phone application. Any idea how can I trouble shoot this issue?

Thanks in advance.

Read the full discussion online.

To add a post to this discussion, reply to this email (watoolkitwp7@discussions.codeplex.com)

To start a new discussion for this project, email watoolkitwp7@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Jul 3, 2011 at 7:21 PM

I am getting following error:  "Error in Login:  The remote server returned an Error: Not Found. Please make sure  to install SSL certificate in the phone". 

Jul 3, 2011 at 8:59 PM

Multiple reasons for this.  I dealt with this about four weeks ago and there is a myriad of different reasons.  You need to be quite more specific (local or remote?  Config files? Type of certificate, if remote, using a custom domain or xx.cloudapp.net to name a few). Nevertheless, here are a few tips:

1-a) Is your service deployed locally?  If so, is port 443 free or is another application taking it (I have heard Skype does it for example).

2 a/b) Try to telnet to the server on port 443 (for local should be 127.0.0.1, or for remote, the DNS name of the service you deployed into).  If your server is not working, you will get an error (connection refused or something like that).

3 a/b) Are you using (installing on the phone via the browser) the self generated certificate which is part of the project (named 127.0.0.1.cer I believe) or another type, and once again, local or remote.

If you are indeed trying remote.  Does it work locally at all?  If not, make sure your service is running on port 443.

Jul 7, 2011 at 5:47 AM

Thanks for your quick response.

1) No.  My service is deployed in the clound.

2) Yes, I was able to telnet on port 443.

3) I generated a new certificate as instructed in step 1.  Then uploaded this certificate to Azure (remote).  Then I added the .cer file to my web project.

4) Locally it is working without any issues.

That is why I am confused and want to know whether any one able to deploy this solution in Azure.

Here are the few lines in my App.xaml. 

<system:String x:Key="SSLCertificateUrl">http://4a507b5f76384284a80e8fb5507ae60b.cloudapp.net:10080/MobileCloudDialer.cer</system:String >

 <system:String x:Key="SharedAccessSignatureServiceEndpoint">https://4a507b5f76384284a80e8fb5507ae60b.cloudapp.net/SharedAccessSignatureService</system:String>

<system:String x:Key="AzureStorageTableProxyEndpoint">https://4a507b5f76384284a80e8fb5507ae60b.cloudapp.net/AzureTablesProxy.axd</system:String > 

<system:String x:Key="AzureStorageQueueProxyEndpoint">https://4a507b5f76384284a80e8fb5507ae60b.cloudapp.net/AzureQueuesProxy.axd</system:String>  

<system:String x:Key="AuthenticationServiceEndpoint">https://4a507b5f76384284a80e8fb5507ae60b.cloudapp.net/AuthenticationService</system:String>

<system:String x:Key="PushNotificationServiceEndpoint">https://4a507b5f76384284a80e8fb5507ae60b.cloudapp.net/PushNotificationService</system:String>

Jul 7, 2011 at 5:25 PM

I definitely believe it has to do with the certificate.  When I tried to use the certificate that I generated locally, I run into this issue too.  Any idea what I might be doing with certificate?

Jul 8, 2011 at 5:54 AM

I able to solve the problem by following instructions posted in the article below.

http://blogs.msdn.com/b/davidhardin/archive/2011/01/19/wp7certinstaller-1-0-0-0-explained.aspx