DataService Error

2 posts, 1 answers
  1. Brian
    Brian avatar
    15 posts
    Member since:
    Jul 2010

    Posted 07 May 2012 Link to this post

    I am trying to setup a DataService in my Map App. I try to view the DataService in a browser, and get this error; I do not get this error in a plain Silverlight Bing Maps application.

    The type 'RadControlsSilverlightApp1.Web.DataService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: The type 'RadControlsSilverlightApp1.Web.DataService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [InvalidOperationException: The type 'RadControlsSilverlightApp1.Web.DataService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.] System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +574 System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1136 System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +45 System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +604 [ServiceActivationException: The service '/DataService.svc' cannot be activated due to an exception during compilation. The exception message is: The type 'RadControlsSilverlightApp1.Web.DataService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found..] System.Runtime.AsyncResult.End(IAsyncResult result) +372 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +188 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, String routeServiceVirtualPath, Boolean flowContext, Boolean ensureWFService) +236 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext, Boolean ensureWFService) +24 System.ServiceModel.Activation.HttpHandler.ProcessRequest(HttpContext context) +34 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +405 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76 

  2. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 08 May 2012 Link to this post

    Hi Brian,

    I'm sorry but creation and deployment of Data Services is outside of the support scope for the RadMap control. You can ask this question in the official Silverlight forums where I believe you will be helped. 

    Greetings,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top