locked
WCF Error: WebHost failed to process a request The exception message is: Required attribute 'application' not found RRS feed

  • Question

  • User1275456589 posted

    Hi All,

     Could anybody help me to fix this issue?

     WebHost failed to process a request.
     Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/12036987
     Exception: System.ServiceModel.ServiceActivationException: The service '/FrameworkServices/UsageMeteringService.svc' cannot be activated due to an exception during compilation.  The exception message is: Required attribute 'application' not found. (E:\Econdisc\P2BB5R7.STG.10092012_1602\FrameworkServices\web.config line 151). ---> System.Configuration.ConfigurationErrorsException: Required attribute 'application' not found. (E:\Econdisc\P2BB5R7.STG.10092012_1602\FrameworkServices\web.config line 151)

    Thursday, September 12, 2013 1:28 AM

All replies

  • User289622470 posted

    Hi,

       Can you check if you have Web.Config files at the hosted location and the file is having <system.serviceModel> in it.

    Thanks,

    Thursday, September 12, 2013 2:30 AM
  • User1275456589 posted

    Hi Romy,

    yes we have the <system.serviceModel> section in the web.config file.

     

    Thursday, September 12, 2013 4:01 AM
  • User794904726 posted

    Could you post line 151 from web.config?

    Thursday, September 12, 2013 5:11 AM
  • User1275456589 posted
     Line 150: </system.serviceModel>
     Line 151: 
     Line 152:   <mustang.configuration xmlns="http://schemas.cognizant.com/gto/mustang/2011">
     Line 153:     <startup path="..\Extensions\Mustang.UnityExtensions.Wcf.dll" />
     Line 154:   </mustang.configuration>

     

    Thursday, September 12, 2013 5:24 AM
  • User289622470 posted

    Hi,

       Is the config entries <mustang.configuration> specific to any third party component or library.?

    Thnaks,

    Thursday, September 12, 2013 5:46 AM
  • User1275456589 posted

    Yeah It is our own library..

    Thursday, September 12, 2013 5:57 AM