Click here to Skip to main content
15,921,336 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi!

I have a silverlight application hosted in an aspx page. Service i built with C# framwork 4.0.

It loads and I can make wcf calls via the client interface on a WIN7 machine and one Vista. On two XP and another Vista it doesn't. The both vista's might have different SP's haven't been able to check. The silverlight application always load but the problem occurs when the first wcf call is made. The errormessage is just referring to the wcf-enabled method and doesn't give any more info. I installed framework 4.0 CLR on one of the XP-machines made sure it was installed properly but still it didn't work.

I know you can work with certificates (X509...??) but it seems strange that it works on WIN7 but not the other ones.

The service i hosted on windows server 2008 iis 7. It is not a browser error. I have tried ie 8, ie 9, moz on the variuos machines and it dosn't not come down to a browser error.

Message:

Detaljerad information om felet på webbsidan

Användaragent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Tidsstämpling: Tue, 30 Aug 2011 12:05:16 UTC


Meddelande: Unhandled Error in Silverlight Application [Async_ExceptionOccurred]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=3.0.50106.0&File=System.dll&Key=Async_ExceptionOccurred   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at AgerusModelHandler.AgerusData.GetModelsCompletedEventArgs.get_Result()
   at AgerusModelHandler.MainPage.client_GetModelsCompleted(Object sender, GetModelsCompletedEventArgs e)
   at AgerusModelHandler.AgerusData.AgerusDatabasServiceClient.OnGetModelsCompleted(Object state)
Rad: 1
Tecken: 1
Kod: 0




Any ideas would be greatly appreciated.

Thanks, Fredrik
Posted
Updated 30-Aug-11 8:31am
v2

Check your firewall settings first.
 
Share this answer
 
Exceptions trying to get the result of an asynchronous web service operation usually mean that there was a problem fulfilling the request – and if the service works on some machines, that is almost certainly a connection issue. Try navigating to the .svc in a browser; if there is a problem even seeing the service then check your connection and firewall settings. Otherwise, check that Silverlight apps are permitted to access the Internet.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900