1

Closed

Registration Error - NotFound

description

I started a new Windows Phone 7 Cloud Application in VS2010 and followed the documentation from the Readme file. But on registering a new user I always get a "Registration Error - Error in registration. Please try again later. The remote server returned an error: NotFound".
Debugging into the error handler I see the exception of type "Microsoft.Samples.WindowsPhoneCloud.StorageClient.Exceptions.HttpWebException" has a status code of "InternalServerError" and two nested inner exception of type System.Net.WebException (both with a response uri of 127.0.0.1/RegistrationService/register).
 
The first inner exception has a stack trace of:
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.Samples.WindowsPhoneCloud.StorageClient.Credentials.RegistrationClient.<>c__DisplayClassd.<Register>b__c(IAsyncResult asyncResult)
at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClassa.<InvokeGetResponseCallback>b__8(Object state2)
at System.Threading.ThreadPool.WorkItem.doWork(Object o)
at System.Threading.Timer.ring()
 
 
Do I need to perform additional steps to make sure the example works? Can I do something to further debug the problem?
Closed Aug 19, 2011 at 1:23 AM by wwegner
Solved by enabling basic auth in IIS.

comments

GaussZ wrote Jun 14, 2011 at 12:53 PM

Solved this issue. The problem was that IIS was configured for both anonymous and basic authentication. Enabling just basic auth fixed this issue.

bbcyyb wrote Jun 21, 2011 at 10:27 AM

Hi GaussZ,
I have some issue on my environment, could you tell me detail how to set just basic auth in WP7CloudAppX solution?