Cannot install MOSS solution, returns A web configuration modification operation is already running.

Posted on 2009-12-16
Last Modified: 2012-05-08
So I'm attempting to install SharePoint Solutions Workflow Essentials into my MOSS 2007 farm (2 WFE, 1 index).  The deployment process fails whens it reaches the part where it kicks off a timer job to modify the web.config files.  Here's the exact error message:

A web configuration modification operation is already running.

INDEXSVR : The solution was successfully deployed.
WFE1 : The solution was successfully deployed.
WFE2 : The solution was successfully deployed.

***** ERROR *****
A web configuration modification operation is already running.
System.InvalidOperationException: A web configuration modification operation is already running.
   at Microsoft.SharePoint.Administration.SPWebService.ApplyWebConfigModifications()
   at SPSolutions.SharePoint.WorkflowEssentials.Activities.WebConfigEntry.FeatureActivated(SPFeatureReceiverProperties properties)
   at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
   at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)
   at Microsoft.SharePoint.SPAdminFeatureCollection.Add(Guid featid, SPFeaturePropertyCollection props, Boolean fForce)
   at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly)
   at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)
   at SPSolutions.Installation.SolutionInstaller.InstallProcessControl.ActivateFeatureCommand.Execute()
   at SPSolutions.Installation.SolutionInstaller.InstallProcessControl.TimerEventInstall(Object myObject, EventArgs myEventArgs)

I've contacted their support and they suggested looking in Operations -> Timer Job Definitions for a job called "Windows SharePoint Services Web.Config Update" and to delete it.  I did this, attempted to reinstall, and still no good.  

Does anyone have any other ideas?  I need to get this working ASAP.

Question by:trc29
    LVL 15

    Expert Comment

    Please go here - you need to clear our browser cache -

    Author Comment

    Thanks for the tip.  I tried it but am still having the same issue.
    LVL 15

    Expert Comment

    2 questions - how many fron ends are in your farm? If more than one, then you must do the operation on every front end.
    Did you try the solution from here:
    LVL 15

    Expert Comment

    Ok I see you have 2 front ends - so make sure you run the solution provided in the first post on both servers + delete the timer job as well. If it wont work try the second solution - on both servers.

    Author Comment

    Thanks for the replies dp expert.  I've ran the outlined stsadm commands mentioned in that link above as well as tried deploying the solution on both web front ends.  The product's support team did get back to me saying I should delete any lines added to any of the web.config files by their installer.  I did this but noticed only half of our SharePoint sites are getting their web.configs updated.  I don't know if it helps but it seems about 5 of the sites are having their web.config modified before the error appears.  

    Accepted Solution

    The issue was resolved by ensuring the domain accounts that ran the different MOSS app pools had the proper DCOM rights in the IIS WAMREG admin service component.  Since our environment runs all app pools with local admin rights, I simply had to add the one app pool account to the local administrators group on all three MOSS boxes (two WFE and one index/Excel services).  The web.config update ran fine after this.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
    Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now