Webhost Failed To Process A Request Sharepoint 2010



codeWebHost failed to process a request. Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/47208365 Exception: System.ArgumentException: An item with the same key has already been added. Posts about SharePoint 2010 written by jbarntish. Ah, Microsoft patches. Dislike them or hate them (notice there’s no love?), they are a necessary evil in the day to day operation of any Windows server. WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/31364015 Exception: System.ServiceModel.ServiceActivationException: The service '/vtibin/client.svc' cannot be activated due to an exception during compilation.

Ah, Microsoft patches. Dislike them or hate them (notice there’s no love?), they are a necessary evil in the day to day operation of any Windows server. Under normal circumstances, framework and Windows server patch installation goes fairly well. There are those occasions, however, where all hell breaks loose. This is one of those occasions.

After installing the latest round of security patches, our SharePoint 2010 farm went offline. According to our ELMAH error page (if you’re not using ELMAH, you SHOULD be), this is the error we were receiving when hitting any url on the farm. The key bit of info is in bold:

Shor in the city saibo download. WebHost failed to process a request.

Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/17653682
Exception: System.ServiceModel.ServiceActivationException: The service '/SecurityTokenServiceApplication/securitytoken.svc' cannot be activated due to an exception during compilation.

The exception message is: Method not found: 'System.String System.ServiceModel.Activation.Iis7Helper.ExtendedProtectionDotlessSpnNotEnabledThrowHelper(System.Object)'. ---> System.MissingMethodException: Method not found: 'System.String System.ServiceModel.Activation.Iis7Helper.ExtendedProtectionDotlessSpnNotEnabledThrowHelper(System.Object)'.
at System.ServiceModel.WasHosting.MetabaseSettingsIis7V2.WebConfigurationManagerWrapper.BuildExtendedProtectionPolicy(ExtendedProtectionTokenChecking tokenChecking, ExtendedProtectionFlags flags, List`1 spnList)
at System.ServiceModel.WasHosting.MetabaseSettingsIis7V2.WebConfigurationManagerWrapper.GetExtendedProtectionPolicy(ConfigurationElement element)
at System.ServiceModel.WasHosting.MetabaseSettingsIis7V2.ProcessWindowsAuthentication(String siteName, String virtualPath, HostedServiceTransportSettings& transportSettings)
at System.ServiceModel.WasHosting.MetabaseSettingsIis7V2.CreateTransportSettings(String relativeVirtualPath)
at System.ServiceModel.Activation.MetabaseSettingsIis.GetTransportSettings(String virtualPath)
at System.ServiceModel.Activation.MetabaseSettingsIis.GetAuthenticationSchemes(String virtualPath)
at System.ServiceModel.Channels.HttpChannelListener.ApplyHostedContext(VirtualPathExtension virtualPathExtension, Boolean isMetadataListener)
at System.ServiceModel.Channels.HttpTransportBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()
at System.ServiceModel.Channels.MessageEncodingBindingElement.InternalBuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.BinaryMessageEncodingBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()
at System.ServiceModel.Channels.Binding.BuildChannelListener[TChannel](Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
at System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession)
at System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result)
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRuntime()
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHost.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)

This was due to installing the KB2756920 security patch. According to this: KB280172, the before mentioned hotfix caused the System.ServiceModel and System.ServiceModel.WasHosting assemblies to become out of sync, and surprise! They depend on each other.

Webhost Failed To Process A Request Sharepoint 2010 Document

KB280172 recommends that another hotfix be installed to bring both of these assemblies into parity. I chose to simply uninstall the offending patch using ControlPanel > Programs > Programs and Features > Installed Updates. Uninstalling does require a reboot, but after this the farm was back online and no other issues have been encountered.

Reason for not installing the other hotfix: I didn’t want to introduce yet another untested hotfix into a production environment. You all know this (right?!?), but I’ll say it anyway: as a best practice, test these hotfixes on your staging or QA stack before moving into the production environment.

So, to sum up: no new hotfix to fix the bad hotfix until the two hotfixes are hotfixed together.

Ost to pst converter microsoft. For good measure, I’m going to say hotfix one more time: hotifix.

We had originally installed the latest round of patches on our staging farm servers and ran through our normal tests. A few weeks went by before moving them to the production servers, however. This has brought up a vulnerability in our patching process; moving forward we need to double check that what is installed and tested on staging is exactly what is moved to production.

Request.

When triaging the issue, it seemed logical that something went to production that wasn’t installed on stage. But how do you easily reconcile what was patched on one server vs the other? Well there’s this nifty little command line you can run that will export all of your server patches to a convenient CSV file:

Run this in a command window (as administrator) and it will export the list to CSV. Comparison between two servers at this point is as simple as importing to Excel or a DB table. In this case I knew the offending patch number, so it was a simple search in both files.

I’m not a sys/admin on a typical day, so I’d be interested in hearing if there are better ways to reconcile what is installed on two different Windows servers.

Happy hotfixing!
Jim

Problems: Unable to Login with Claim base authenticationto SharePoint 2010 Site
An exceptionoccurred when trying to issue security token: The requested service,'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc'could not be activated. See the server's diagnostic trace logs for moreinformation.
WebHost failedto process a request.
Sender Information:System.ServiceModel.ServiceHostingEnvironment+HostingManager/15688314
Exception:System.ServiceModel.ServiceActivationException: The service'/SecurityTokenServiceApplication/securitytoken.svc' cannot be activated due toan exception during compilation. Theexception message is: Method not found: 'System.StringSystem.ServiceModel.Activation.Iis7Helper.ExtendedProtectionDotlessSpnNotEnabledThrowHelper(System.Object)'.---> System.MissingMethodException: Method not found: 'System.StringSystem.ServiceModel.Activation.Iis7Helper.ExtendedProtectionDotlessSpnNotEnabledThrowHelper(System.Object)'.
atSystem.ServiceModel.WasHosting.MetabaseSettingsIis7V2.WebConfigurationManagerWrapper.BuildExtendedProtectionPolicy(ExtendedProtectionTokenCheckingtokenChecking, ExtendedProtectionFlags flags, List`1 spnList)
atSystem.ServiceModel.WasHosting.MetabaseSettingsIis7V2.WebConfigurationManagerWrapper.GetExtendedProtectionPolicy(ConfigurationElementelement)
atSystem.ServiceModel.WasHosting.MetabaseSettingsIis7V2.ProcessWindowsAuthentication(StringsiteName, String virtualPath, HostedServiceTransportSettings&transportSettings)
at System.ServiceModel.WasHosting.MetabaseSettingsIis7V2.CreateTransportSettings(StringrelativeVirtualPath)
atSystem.ServiceModel.Activation.MetabaseSettingsIis.GetTransportSettings(StringvirtualPath)
atSystem.ServiceModel.Activation.MetabaseSettingsIis.GetAuthenticationSchemes(StringvirtualPath)
atSystem.ServiceModel.Channels.HttpChannelListener.ApplyHostedContext(VirtualPathExtensionvirtualPathExtension, Boolean isMetadataListener)
atSystem.ServiceModel.Channels.HttpTransportBindingElement.BuildChannelListener[TChannel](BindingContextcontext)
atSystem.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()
atSystem.ServiceModel.Channels.MessageEncodingBindingElement.InternalBuildChannelListener[TChannel](BindingContextcontext)
at System.ServiceModel.Channels.BinaryMessageEncodingBindingElement.BuildChannelListener[TChannel](BindingContextcontext)
atSystem.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()
atSystem.ServiceModel.Channels.Binding.BuildChannelListener[TChannel](UrilistenUriBaseAddress, String listenUriRelativeAddress, ListenUriModelistenUriMode, BindingParameterCollection parameters)
atSystem.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(BooleanactuallyCreate, Type[] supportedChannels, Binding binding,BindingParameterCollection parameters, Uri listenUriBaseAddress, StringlistenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottlethrottle, IChannelListener& result, Boolean supportContextSession)
at System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfostuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode,Boolean supportContextSession, IChannelListener& result)
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescriptiondescription, ServiceHostBase serviceHost)
atSystem.ServiceModel.ServiceHostBase.InitializeRuntime()
atMicrosoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHost.InitializeRuntime()
atSystem.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
atSystem.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
atSystem.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(StringnormalizedVirtualPath)
atSystem.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(StringnormalizedVirtualPath)
atSystem.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(StringnormalizedVirtualPath)

Webhost Failed To Process A Request Sharepoint 2010 Email

atSystem.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(StringrelativeVirtualPath)

Webhost Failed To Process A Request Sharepoint 2010 Pdf

Process ID: 4780

Webhost Failed To Process A Request. Sharepoint 2010

Solution: Uninstall Security Update No. - KB2756920

Webhost Failed To Process A Request Sharepoint 2010 Free

http://blogs.technet.com/b/praveenh/archive/2013/01/15/issue-found-with-net-framework-3-5-1-security-update-kb2756920.aspx