IIS7 and javascript files

I have a website running on IIS6.  The index page holds frameset for content and a couple other pages.  The index page also has a large javascript file included at the top of the page with a common objects that are accessed like this:  top.appObject.<parameter name>.  This architecture works perfectly.

The problem is that I am moving this site to IIS7.  It doesn't use any .net code at all.  I have configured the site to be (I think) a duplicate of the existing site, but I can't seem to reach the included javascript file ... when trying to call any function in the file I get a 'undefined' error.

any help appreciated.
dhenderson12Asked:
Who is Participating?
 
Big MontyConnect With a Mentor Senior Web Developer / CEO of ExchangeTree.org Commented:
the first test i would do is put the path to the javascript file directly in your browser and see if it comes up, if not, your paths are incorrect
0
 
dhenderson12Author Commented:
yes, it comes up fine.
0
 
dhenderson12Author Commented:
I would like to point out that this is a working web site on iis6.  the only change has been moving it to iis7.  it's not a browser issue (IE10) since that also works with the existing site.  I'm really confused here as to the error with pathing, since it is set up the same way.
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
just to verify that it is indeed a path issue (because to be honest I have no idea what else it could be) can you copy the javascript directly into the page and see if everything works? This'll eliminate any potential compatibility issues.
0
 
dhenderson12Author Commented:
This is a very large js file, but I did copy it into the page between
<script language='javascript'></script> tags.  The page just renders it as text.

I then copied the file to the same folder as the calling page and still got the "undefined" error.

I checked the mime type and .js = application/x-javascript.

Is there anything else I should check?
0
 
dhenderson12Author Commented:
does anyone have any ideas?
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
have you tried testing just a simple javascript include file? something that just would fire off an alert or something?
0
 
dhenderson12Author Commented:
I will try that this week.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.