Note that there are some explanatory texts on larger screens.

plurals
  1. POSilverlight RIA Services Complex Type Error On Server
    primarykey
    data
    text
    <p>We are trying to run a Silverlight 4.0 with RIA Services SP1 on an older server without SP1. We copied all of the DLL to a local BIN folder, Copy Local is set to True AND Specific Version is set to True yet we are still getting a "complex type" error below.</p> <pre><code>WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/7339810 Exception: System.ServiceModel.ServiceActivationException: The service '/Linebacker/Services/FCSAmerica-Linebacker-Web-DomainServices-LinebackerDomainService.svc' cannot be activated due to an exception during compilation. The exception message is: Operation named 'SearchCustomers' does not conform to the required signature. Return types must be an entity, collection of entities, or one of the predefined serializable types.. ---&gt; System.InvalidOperationException: Operation named 'SearchCustomers' does not conform to the required signature. Return types must be an entity, collection of entities, or one of the predefined serializable types. at System.ServiceModel.DomainServices.Server.DomainServiceDescription.ValidateMethodSignature(DomainOperationEntry method) at System.ServiceModel.DomainServices.Server.DomainServiceDescription.AddInvokeOperation(DomainOperationEntry method) at System.ServiceModel.DomainServices.Server.DomainServiceDescription.Initialize() at System.ServiceModel.DomainServices.Server.DomainServiceDescription.CreateDescription(Type domainServiceType) at System.ServiceModel.DomainServices.Server.DomainServiceDescription.&lt;&gt;c__DisplayClass8.&lt;GetDescription&gt;b__7(Type type) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at System.ServiceModel.DomainServices.Server.DomainServiceDescription.GetDescription(Type domainServiceType) at System.ServiceModel.DomainServices.Hosting.DomainServiceHost..ctor(Type domainServiceType, Uri[] baseAddresses) at System.ServiceModel.DomainServices.Hosting.DomainServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath) </code></pre> <p>This is what our code looks like in the domain service...its a wrapper around a WCF call not an Entity object.</p> <pre><code> [Invoke] public IEnumerable&lt;Customer&gt; SearchCustomers(string searchValue) { return new List&lt;Customer&gt;(); } </code></pre> <p>Do we need to install SP1 on the Host Server? Will this impact older versions of Silverlight that are running there? Are we missing an attribute or something?</p> <p>We have basically copied every dll local to the hosts bin folder and referenced the same in a library folder on our development machines. </p> <p>Things run fine on our developer machines but not on the Server.</p> <p>Thanks Qui_Jon</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload