我有一个我在本地开发的 Silverlight 应用程序,我试图在我个人设置的 Windows 2008 R2 服务器上运行它。一切都很顺利和花花公子,除了当我尝试在应用程序上进行身份验证时,它会尝试在本地查找
http://localhost/crossdomainpolicy.xml
http://localhost/clientaccesspolicy.xml
它还会引发一个令人讨厌的错误:
Uncaught Error: Unhandled Error in Silverlight Application An exception occurred during the operation, making the result invalid. Check InnerException for exception details. at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at SomeService.MVServiceReference.CheckUserCompletedEventArgs.get_Result()
at SomeService.Pagini.Autentificare.AuthForm.webServiceSoapClient_CheckUserCompleted(Object sender, CheckUserCompletedEventArgs e)
at SomeService.MVServiceReference.MVWebServiceSoapClient.OnCheckUserCompleted(Object state)