This is a migrated thread and some comments may be shown as answers.

DataService Error

1 Answer 42 Views
Map
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Iron
Iron
Brian asked on 07 May 2012, 10:45 PM
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 

1 Answer, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 08 May 2012, 08:37 AM
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 >>

Tags
Map
Asked by
Brian
Top achievements
Rank 1
Iron
Iron
Answers by
Andrey
Telerik team
Share this question
or