DocumentUltimate not loading on IIS
Question asked by Elisha Spicer - April 18 at 1:28 PM
Answered
I have been working on using document ultimate as a viewer for an asp.net app im developing. however when i place the project on my iis server to see how it would feel externally it does not load the document ultimate control.

i can load it correctly and use it well on my development machine. it loads correctly and works great. but when i place it on my iis server to do some external testing i recieve these errors in my browser console.

[Firefox]
The script from “https://domain.com/resource.ashx/636898164990000000/du/viewer.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
Loading failed for the <script> with source “https://domain.com/resource.ashx/636898164990000000/du/viewer.js&rdquo;.

[Chrome]
Failed to load resource: the server responded with a status of 404 (Not Found) viewer.css:1
Failed to load resource: the server responded with a status of 404 (Not Found) viewer.js:1
Failed to load resource: the server responded with a status of 404 (Not Found) viewer.css:1

as stated i can load it up perfectly fine on my development machine. and i am at a loss for what is wrong.

1 Reply

Reply to Thread
0
Elisha Spicer Replied
Marked As Answer
Ok, i apologize for posting this without doing proper troubleshooting.

i was able to get at my iis logs and discovered that the problem was being caused by urlscan. it was preventing the control js files from loading.

I removed urlscan from my site and now it is working.

Reply to Thread