Miscellaneous Web Services plug-in issue after upgrading from 3.7 to 3.8

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
I recently trying to upgrade from 3.7 to 3.8. Everything works fine except Miscellaneous Web Services plug-in.
I am getting following error while running, any help would be appreciated.

Error:
The type 'Nop.Plugin.Misc.WebServices.NopService', 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 'Nop.Plugin.Misc.WebServices.NopService', 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 'Nop.Plugin.Misc.WebServices.NopService', 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) +60202
   System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1422
   System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +52
   System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +641

[ServiceActivationException: The service '/Plugins/Misc.WebServices/Remote/NopService.svc' cannot be activated due to an exception during compilation.  The exception message is: The type 'Nop.Plugin.Misc.WebServices.NopService', 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) +481507
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +174
   System.ServiceModel.Activation.ServiceHttpHandler.EndProcessRequest(IAsyncResult result) +11
   System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +129
7 years ago
It seems like issue is in service name.

Ensure that name of service in markup and web config file both are same.
6 years ago
Did you figure out how to fix it? I'm having the same problem.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.