Select to view content in your preferred language

Unable to load config.json error...file exists on server

5781
11
Jump to solution
02-25-2019 12:25 PM
KenBuja
MVP Esteemed Contributor

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?

0 Kudos
11 Replies
KeithFraley1
Emerging Contributor

cheers, figured it was worth a try:)

0 Kudos
KenBuja
MVP Esteemed Contributor

The web.config files for both sites are identical:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.webServer>
        <staticContent>
            <!-- Configure site to serve JSON files -->
            <remove fileExtension=".json" />
            <mimeMap fileExtension=".json" mimeType="application/json" />
            <!-- Configure site to serve font files -->
            <remove fileExtension=".otf" />
            <mimeMap fileExtension=".otf" mimeType="font/otf" />
        </staticContent>
    </system.webServer>
</configuration>

Is there something else I should look at in the files?

0 Kudos