0

I need to make some code changes to a website, except I can't find the code in any source code repository. The code only seems to exist on the IIS server itself. I have logged onto the IIS server that hosts the files and copied all the file contents to my local machine. I have opened the website from my machine in Visual Studio and it builds fine. However, when I try to 'play' the solution in Visual Studio it opens up an explorer page with the error 'http error 500.19 internal server error. Error code 0x80070021. The configuration section cannot be used at this path. This happens when the section is locked at the parent level. Config source is < Windowsautentcation enabled="true">. I can't get to the stage of starting my code changes until I can 'play' the existing code successfully. Any ideas?

LeedsWalker
  • 189
  • 1
  • 3
  • 13
  • Probably a dupe of https://stackoverflow.com/questions/4762538/iis-express-windows-authentication Let me know if it helps. – spender Jun 25 '17 at 21:57
  • ...or possibly https://serverfault.com/questions/360438/iis-complains-about-a-locked-section-how-can-i-find-out-where-its-locked – spender Jun 25 '17 at 21:58
  • Just to clarify I am not even trying to host this in IIS yet, I do not want to publish it to IIS yet. I am just trying to run the code in Visual Studio and can't do that due to the error above. I've tried all the settings in the links but they seem to be dealing with the IIS issues, rather than trying to get something working inVS. Once it works in VS successfully I will then post to IIS. Any ideas? Thanks. – LeedsWalker Jun 26 '17 at 07:25

0 Answers0