I am getting the error "Unable to load config.json?wab_dv=2.8 status: 404 and an error in handleAs: transformation of response" on a web site I've deployed. It's a duplicate (with a few minor changes) of another site that I've deployed that works. The config.json file exists on the server for both sites.
Both sites work properly on our staging server.
Why would I be getting the error on the production server for one but not the other?
Solved! Go to Solution.
Ken,
The only time I have seen IIS refuse to serve a particular file type has been when there is a MIME issue. Both sites have the woff2 mime type missing.
Ken,
That is strange. Are both site configured as application in IIS?
It is not serving the appinfo.json file either.... But all the other files are coming up like the config-readme.txt, readme.html, etc in the main app folder.
From the IT dept: Yes, they are configured in IIS
Ken,
The only time I have seen IIS refuse to serve a particular file type has been when there is a MIME issue. Both sites have the woff2 mime type missing.
This was missing from the root level configuration:
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff" />
What was odd is that one site would work but the other wouldn't.
That is strange. Glad it is working now though.
So am I! I always appreciate your help, Robert
Ken,
OK after some further testing that app will not serve up any json files at all. Not for the widgets either. It's like you only configured the json mime type for that other app folder and not your whole IIS instance.
Hi Robert, do you ever develop widgets as a side gig?
Sorry No.