I have written a Lightswitch application with both Silverlight and HTML web frontends. Everything work just fine on my development box, but when I deploy to Azure Websites (from within Visual Studio) I get the following exception from the Silverlight client:
Load operation failed for query 'GetAuthenticationInfo'. The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:GetAuthenticationInfoResult. The InnerException message was 'Invalid enum value 'AnonymousOrCustom' cannot be deserialized into type 'Microsoft.LightSwitch.Security.AuthenticationType'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.'. Please see InnerException for more details.
There is no authentication in my application.
Any ideas on how I can solve this problem?