ASP Error

I have an asp web app which I am moving from win2k (IIS5) to win03 (IIS6). However now it's been ported across I keep getting the below error:

Microsoft VBScript runtime error '800a01a8'
Object required: 'application(...)'
/report29/application/inc/aspFunctions.asp, line 750

The line of the file it refers to is below:

set xmlFiles = application("divisionalFileList") 'server.CreateObject("MSXML2.DomDocument")

Any suggestions?
Lico_wAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
not that I know of, actually.
http://www.w3schools.com/ASP/asp_applications.asp
it is just "used"

you may want to compare the IIS setting for the site itself on the 2 servers ...
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
visibly, you are missing some code (aka include) that defines that "application" variable.
you might want to check on other pages what it could be ...
searching for "application = "  could help ...
0
 
Lico_wAuthor Commented:
Why would it work in IIS5 if that was the case. As I say I'm moving a fully functioning app over. Also I can't find a file where the application function exists  :(
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Lico_wAuthor Commented:
There is a directory called application..?
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>There is a directory called application..?
actually, here we go about what the "application" object:
http://www.w3schools.com/asp/coll_contents_app.asp

0
 
Lico_wAuthor Commented:
Interesting thanks for that. So how would individual pages know what or where the 'application' variables, functions etc. are configured? Is there something like an include that needs to be set on each page or is this done when the code is compiled or is it just an object that can be used on any asp page to set variables?
0
All Courses

From novice to tech pro — start learning today.