I got this error when I tried to use a WCF
. The full error message is “The requested content appears to be script and will not be served by the static file handler.”
There might have been the different solution I will explain here which solution works for me.
Go to Inetmgr and Right click on the particular site and go to Manage Application and then click on Advanced Setings… as shown in the figure below:
Then in the Advanced Settings dialogbox. Click on Application Pool and I have changed to ASP.NET v4.0 as shown in the fig as below and now it works fine.
Also, you can check out my previous posts on:
You May Also like the Following SharePoint Online Tutorials:
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.