Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • m 20 posts 43 karma points
    Mar 04, 2012 @ 07:51
    m
    0

    My Site stop working after I clicked Reset site delegation

    Hi Guys,

    Guys pls help urgently.

    I own a VDI and hosted a few Umbraco sites.

    I was installing a new Umbraco by trying to replicate an existing site. The new site after setting up wasnt working so I read a few forums which one of them suggested to "Reset All Delegation" in IIS (Feature Delegation). Clearly the wrong solution, dont know what I was thinking when I applied it. Now All my Umbraco sites have crashed and I cant get them to work. Please help!

    One of the Umbraco based site is http://www.zabreenenterprises.com/. The error thrown right now is

    Internet Information Services 7.5

    Error Summary

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Detailed Error Information
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x80070021
    Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
    Config File \\?\C:\Inetpub\...\zabreenenterprises.com\httpdocs\web.config
    Requested URL http://www.zabreenenterprises.com:80/
    Physical Path C:\Inetpub\...\zabreenenterprises.com\httpdocs
    Logon Method Not yet determined
    Logon User Not yet determined
    Config Source
      155:     <validation validateIntegratedModeConfiguration="false" />
      156:     <modules runAllManagedModulesForAllRequests="true">
      157:       <remove name="ScriptModule" />
    
  • m 20 posts 43 karma points
    Mar 04, 2012 @ 08:03
    m
    0

    Here the current features on the site. If it helps solve the problem.

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 04, 2012 @ 10:20
    Jan Skovgaard
    0

    Hi m

    I'm not sure what resetting feature delegation does I must admit.

    But here is what I would try to check in your curret situation

    1) Does all the Umbraco sites all have the proper permissions set for network service and iusr?

    2) Are the app pool settings correct? Running .net 4 (If it's Umbraco 4.5+ sites) and is it running integrated mode with the network user being set to run it?

    3) If it's none of the above you should perhaps have a look at the web.config file to see if something has been modified as a concequence of the above. Try downloading a clean version of Umbraco and compare a web.config from a site that does not work with the clean web.config. There will of course be a difference in the <add keys> since the they're populated with the properties of your site etc. - But perhaps other things have been added/removed or modified.

    Hope this helps.

    /Jan

  • m 20 posts 43 karma points
    Mar 04, 2012 @ 10:50
    m
    1

    Thanks Jan for that. I had all those checked but none worked. But got it working anyway. pheeew!!

    /*For those with similar errors - Jan suggestion applies, its the first step of troubleshooting*/

    The error I had was specifically - "Lock"ing up the IIS's ability to execute modules (e.g server functionailty) on all websites. How I managed to do that is (Sarcasm)

    By hitting on "Rest all delegation" an option found under "Feature Delegation" in IIS 7.x. Whats happened - when I rested delegation, it logically took the default settings of the parent site aka. "Default website" and applied on the all child sites (umbraco sites). The default setting as I said was "modules" Read only (Locked).

    Physically these settings are managed in a configuration file at "C:\Windows\System32\inetsrv\config\applicationHost.config".

    Solution 1. Open up the config file through notepad and find the attribute for module and make it Read/Write. Bit complicated.

    Solution 2. The IIS 7.x lets you manage these through "Feature Delegation" (Ding!). I opened it once again, there there was the golden setting which says "Modules" with the Value "readonly" (Refer to screen grab above). Changed this to "Read/Write" and everything was back to normal.

    IIS expert pls confirm the above.

Please Sign in or register to post replies

Write your reply to:

Draft