App renders fine with IIS Express but throws Javascript errors when deployed to full IIS.

As the title says. I have a COT app that renders fine with IIS Express. When I publish the app to the web server and configure IIS the application just loads up with a blank page and the javascript console is riddled with errors. I've re-compiled and re-published a couple times on a couple different machines.

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

The script from “http://localhost:8081/pages/home?Retu... was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
home

SyntaxError: expected expression, got '
unicode.min.js:1
ReferenceError: Web is not defined
home:104:613
1 person has
this question
+1
Reply