Tag Archives: wcf

CommunicationException with Silverlight and a cross domain call

You are calling your services from Silverlight but the services are accessed via a different URI than the Silverlight application is being hosted. Errors galore, right?  Silverlight honors the protection that helps mitigate a sites scripts from being called if someone simply copied your app to their server.  The error you get is this:  An… Read More »

Config file issue to make you rip hair out

I spent about 2 hours staring at this lovely cryptic error: Extension element ‘silverlightFaults’ cannot be added to this element.  Verify that the extension is registered in the extension collection at system.serviceModel/extensions/behaviorExtensions I had it setup correctly, but why would the system not compile it? This was the registration: <add name=”silverlightFaults” type=”Seekford.SilverlightFaultBehavior.SilverlightFaultBehavior,Seekford.SilverlightFaultBehavior, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7073c134a4dabf61″… Read More »

FedEx Integration Address Service: Unable to generate a temporary class…ParsedElement[]

Are you using the new WCF service reference against the FedEx Address service WSDL? I’ll bet your scratching your head on why you get this craptastic error. InnerException: {“Unable to generate a temporary class (result=1).rnerror CS0030: Cannot convert type ‘YOURNAMESPACE.FedExAddressService.ParsedElement[]’ to ‘YOURNAMESPACE.FedExAddressService.ParsedElement’rnerror CS0029: Cannot implicitly convert type ‘YOURNAMESPACE.FedExAddressService.ParsedElement’ to ‘YOURNAMESPACE.FedExAddressService.ParsedElement[]’rn”} Message: “There was an error… Read More »