Jump to content
Forum²

Recommended Posts

Posted

I have an 2008 r2 server that has iis 7 installed on it. The server hosts a webapp that works perfectly fine. The problem is that a plan ordinary web page with a java script does not work. I can take the directory and copy it to a Windows 7, a Mac osx, win xp or a plan ordinary win 2008 r2 server (without IIS installed) and if I load the webpage from a browser on any of those machines the java script displays the changing jpg's correctly. On the server with IIS installed all I see is a white box with three dots that blink (not quit flashing). the java script is bannerad3.js. I am sure that it is something simple, but can't figure it out.

 

I even tested loading the web page from the root of c: (taking it out of the inetpub/wwwroot directory) using just the browser and I still get the white box with the 3 blinking dots.

Posted

If your JavaScript is in an external file make sure that your web page is pointing to the correct URL and make sure that the permissions at that URL are set so anyone can access it. Make sure JavaScript is enabled in your clients browser. Make sure that your IIS configuration includes a *.js mime type so your server knows how to correctly serve the JavaScript file to clients.

A great program for debugging web sites is Charles.

http://charlesproxy.com

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...