Server Error in '/EnterpriseVault/Search' Application.
Hi All, Any idea how I can resolve this issue? I have reinstalled IIS, ASP and recreated the virtual directories Server Error in '/EnterpriseVault/Search' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Sections must only appear once per config file. See the help topic for exceptions. Source Error: Line 387: Line 388: Line 389: Line 390: Line 391: Source File: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config Line: 389 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491
Look at this section here (lines 379-392 in your file):
... </system.web> <system.serviceModel> <serviceHostingEnvironment> <add name="net.tcp" transportConfigurationType="System.ServiceModel.Activation.TcpHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <add name="net.pipe" transportConfigurationType="System.ServiceModel.Activation.NamedPipeHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <add name="net.msmq" transportConfigurationType="System.ServiceModel.Activation.MsmqHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <add name="msmq.formatname" transportConfigurationType="System.ServiceModel.Activation.MsmqIntegrationHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> </serviceHostingEnvironment> </system.serviceModel> <system.serviceModel> <serviceHostingEnvironment> </serviceHostingEnvironment> </system.serviceModel> </configuration>
You somehow ended up with a second <system.serviceModel> section in the XML. Your error tells you:
"Sections must only appear once per config file."
Here is what the same section looks like in a working EV lab:
... </system.web> <system.serviceModel> <serviceHostingEnvironment> <add name="net.tcp" transportConfigurationType="System.ServiceModel.Activation.TcpHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> <add name="net.pipe" transportConfigurationType="System.ServiceModel.Activation.NamedPipeHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> <add name="net.msmq" transportConfigurationType="System.ServiceModel.Activation.MsmqHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> <add name="msmq.formatname" transportConfigurationType="System.ServiceModel.Activation.MsmqIntegrationHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> </serviceHostingEnvironment> </system.serviceModel> </configuration>
So probably all you need to do is delete lines 388 through 391. I have attached a version of your web.config with these lines removed. Let me know how it goes.
--Chris