Sitecore Swamp

Dive in the Sitecore Swamp

NAVIGATION - SEARCH

Sitecore Rocks connection error in Sitecore 9

Installed a fresh new Sitecore 9 environment, and trying to connection Sitecore via Sitecore Rocks. But, surprisingly, hit a connection error:

Checked the following permission things:

  • The app pool identity has permission to website folder
  • Visual Studio is running under Administrator

No resolved, until I found this article http://www.rockpapersitecore.com/2017/10/sitecore-rocks-with-sitecore-9/. Due to some security changes with Sitecore 9, Rocks will have a problem connecting to the instance. The solution is quite simple, just add the following config to web.config:

<location path="sitecore/admin">
  <system.web>
    <authorization>
      <deny users="?" />
      <allow users="*" />
    </authorization>
  </system.web>
</location>

Now it works!