Copied to clipboard

Flag this post as spam?

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


  • Tim C 161 posts 528 karma points
    Mar 21, 2021 @ 14:13
    Tim C
    0

    Installing Umbraco 8.1.2 site on IIS Windows 10 Pro

    I have successfully used Umbraco for a long time on hosted services but now want to test on my own machine.

    I have successfully installed and run the demo site using Visual Studio Code and the IIS Express extension.

    I then added the site to IIS on a new port. I allowed the port through the firewall using Inbound Rules.

    However, when I try and access the site from a browser, I see this error:

    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    \\?\D:\IIS Sites\Umbraco\Umbraco812First\web.config
    
    
    Requested URL      http://192.168.0.127:812/products/
    Physical Path      D:\IIS Sites\Umbraco\Umbraco812First\products\
    Logon Method       Not yet determined
    Logon User     Not yet determined
    
    
    Config Source:
      151: 
      152:         <handlers accessPolicy="Read, Write, Script, Execute">
      153:             <remove name="WebServiceHandlerFactory-Integrated" />
    

    I believe this is due to sections of the web config being locked - I have found some documentation and unlocked one section

    system.webServer/handlers
    

    and this changed the eror to a different one, but it is impossible to work out from the error message which sections to unlock.

    Is there any automatic way of doing this (or some sort of script) or a list of what I need to do?

    Failing that, is there another way to install an Umbraco 8 site in IIS?

    Thanks

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Mar 21, 2021 @ 17:10
    Alex Skrypnyk
    1

    Hi Tim,

    Can you check that files and folders permissions are correct?

    Should be like described here - https://our.umbraco.com/documentation/getting-started/setup/server-setup/permissions

    Thanks, Alex

  • Tim C 161 posts 528 karma points
    Mar 21, 2021 @ 20:29
    Tim C
    0

    Hi Alex,

    This is Windows 10 Pro - I have checked in services and World Wide Web Publishing Service is running as 'Local System account' so should have full access to everything shouldn't it?

  • Tim C 161 posts 528 karma points
    Mar 23, 2021 @ 17:26
    Tim C
    0

    Fixed - hadn't enabled ASP.Net 4.8 as a Windows Faetureunder IIS.

Please Sign in or register to post replies

Write your reply to:

Draft