PDA

View Full Version : Silverlight 2 Webservice problem


rohito
04-05-2008, 06:23 AM
Hi all,

Tried SL2.0 webservice...works great in Visual Studio. On upload gives error:


ManagedRuntimeError
Error Code: 4002
errorMessage"System.Exceptio<WBR>n: [AsyncCallbackException]

After some tweaking it would seem to be related to the address binding at the client. In VS 2008 the address binding string was:



http://localhost:49905/AJAXFuturesEnabledWebSite5/DataWCFService.svc


NowI haveuploaded the site in DiscountASP to /SL2/AJAXFuturesEnabledWebSite5/ but left the above string the same. Should this be changed somehow?

wisemx
04-05-2008, 10:53 AM
I've done a lot with Silverlight but no Web services yet, however I do see this sort of thing a lot.
If you search the forums at http://www.silverlight.net you'll see this does appear to be a domain reference.
Here's one of the threads:
http://silverlight.net/forums/p/11224/35990.aspx#35990
Salute,
Mark