Last post May 16, 2013 05:31 PM by sukumarraju
May 15, 2013 11:25 PM|csharp_starter|LINK
While trying to run the service, encounter the following problem,
The type 'Application.Folder.Services.GeneralSetup', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
May 16, 2013 12:00 AM|csharp_starter|LINK
after adding this line,
having another error like :
Error 30 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\Documents and Settings\hsdffhsfh\My
Documents\Visual Studio 2010\WebSites\TestWCFService\Services\ServiceHost\Web.config 79
May 16, 2013 05:31 PM|sukumarraju|LINK
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.
The error is due to incorrect configuration section in Web.config.
Make sure that <ServiceHostingEnvironment element is with in under <serviceModel section.
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingEnabled="true">
when the above doesn't resolve the issue, copy Web.config here.