ClientUIBusinessApp Authentication fails on production servers... help please?

1 reply. Last post: April 18, 2011 4:02 AM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Taj JamesMember

Are there specific requirements on an IIS server for the Authentication services used in the base ClientUIBusinessApp to work?  Both the sample app and the custom application I built based on that work just fine when run ont he visual studio 2010 development server but they both have the exact same failures on any production server i put them on.  So far I have tried them on 3 different IIS servers, one running on a Win2k3 box with IIS6, one on a Win2k8 server with IIS7, and my own test server which is IIS 7 on a Win7 Ultimate box.  In all 3 cases any calls involving the authentication service fail with the same error:  

"Load operation failed for query 'xxxx'. The remote server returned an error: NotFound."

Here is the compelte error message upon navigating to the application on a server outside of the vs2010 environment:

Load operation failed for query 'GetUser'. The remote server returned an error: NotFound.
   at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)
   at System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationOperation.End(IAsyncResult result)
   at System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationOperation.<>c__DisplayClass1.<HandleAsyncCompleted>b__0(Object state)
   at System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationOperation.RunInSynchronizationContext(SendOrPostCallback callback, Object state)
   at System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationOperation.HandleAsyncCompleted(IAsyncResult asyncResult)
   at System.ServiceModel.DomainServices.Client.AsyncResultBase.Complete()
   at System.ServiceModel.DomainServices.Client.ApplicationServices.WebAuthenticationService.HandleOperationComplete(OperationBase operation)
   at System.ServiceModel.DomainServices.Client.LoadOperation.<>c__DisplayClass4`1.<Create>b__0(LoadOperation`1 arg)
   at System.ServiceModel.DomainServices.Client.LoadOperation`1.InvokeCompleteAction()
   at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)
   at System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error)
   at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
   at System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass1b.<Load>b__17(Object )

 

Where 'xxxx' is the method name it is failing on.  There are 3 methods it is failing on depending on what you are doing (ie autologin, login, register etc).  The methods that have hit this error so far are 'GetUser', 'Login', and 'CreateUser'.

Creating a new ClientUIBusinessApp and publishing it will do this everytime on any of the servers I have available to me, yet they will work flawlessly when launched from within visual studio.

Do I need to have somethign set in a particular manner or make sure something is present ont he webservers for this to work once it is published to any type of production like environment?

Tahnks in advance for any insight / help on this.

All times are GMT -5. The time now is 11:27 PM.
Previous Next