I think all is ok apart from my error as in the title.
I have a web.config file that has READ AND READ&EXECUTE permissions for myself and IUSR as I understand that to enable anonymous access I need IUSR user.
IIS_IUSRS group is also mentioned in many postings but I don't have that available to me on the Security tab within IIS10Ex, and am not sure how to create it, unless it should have been done by some other process.
Looking on my Windows I have IIS_IUSRS in a local group, but no IUSR in the users.
Now I have found IIS_IUSRS as a group when I right click Default Web Sites and the permissions are Read and Read/Execute.
As the permissions appear to be set appropriately I am not sure what else needs to be set.
The world of web dev has always been a bit weird for me but any help to get me restarted would be very welcome.
Try to make a test on your side and let me know whether it work for you or not.
Regards
Deepak
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located.
Hey ho, I'd forgotten how much I dislike Web development.
You had mentioned that,"Well I have stumbled across something that makes it work by "using Microsoft.CodeDom" in the .cs"
By that way, Did your issue solved?
Let us know, Whether you need any further support.
We will try to provide you further suggestions to solve the issue.
Also I suggest you to create a new thread in specifically supported forum regarding codding issue in C# and close the current thread as original issue was resolved.
Regards
Deepak
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
3 Posts
Cannot read configuration file due to insufficient permissions - IIS 10 Express
May 11, 2018 12:41 PM|LordOfKhemri|LINK
Win 10 Pro, IIS 10 Express, VS2015 Pro
After a long break from any web dev, I am starting a very simple asp.net site with one aspc page.
I run it via Edge using http://localhost/TestSite/Testpage.aspx.
I think all is ok apart from my error as in the title.
I have a web.config file that has READ AND READ&EXECUTE permissions for myself and IUSR as I understand that to enable anonymous access I need IUSR user.
IIS_IUSRS group is also mentioned in many postings but I don't have that available to me on the Security tab within IIS10Ex, and am not sure how to create it, unless it should have been done by some other process.
Looking on my Windows I have IIS_IUSRS in a local group, but no IUSR in the users.
Now I have found IIS_IUSRS as a group when I right click Default Web Sites and the permissions are Read and Read/Execute.
As the permissions appear to be set appropriately I am not sure what else needs to be set.
The world of web dev has always been a bit weird for me but any help to get me restarted would be very welcome.
Thanks
529 Posts
Microsoft
Re: Cannot read configuration file due to insufficient permissions - IIS 10 Express
May 14, 2018 08:31 AM|deepakpanchal10|LINK
Hi Lord of Khemri,
Try to make a test on your side and let me know whether it work for you or not.
Regards
Deepak
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
3 Posts
Re: Cannot read configuration file due to insufficient permissions - IIS 10 Express
May 14, 2018 08:42 AM|LordOfKhemri|LINK
Thanks, that got me past the initial problem.
Now I have another :(
The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located.
Hey ho, I'd forgotten how much I dislike Web development.
3 Posts
Re: Cannot read configuration file due to insufficient permissions - IIS 10 Express
May 14, 2018 09:11 AM|LordOfKhemri|LINK
Well I have stumbled across something that makes it work by "using Microsoft.CodeDom" in the .cs
Whether that's the correct way I don't know.
529 Posts
Microsoft
Re: Cannot read configuration file due to insufficient permissions - IIS 10 Express
May 15, 2018 06:35 AM|deepakpanchal10|LINK
Hi LordOfKhemri,
You had mentioned that,"Well I have stumbled across something that makes it work by "using Microsoft.CodeDom" in the .cs"
By that way, Did your issue solved?
Let us know, Whether you need any further support.
We will try to provide you further suggestions to solve the issue.
Also I suggest you to create a new thread in specifically supported forum regarding codding issue in C# and close the current thread as original issue was resolved.
Regards
Deepak
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.