Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

IIS stops serving *.js files - Object Expected error occur..

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Logfile IIS not correct date  
Author Message
MJohnson

External


Since: Jun 08, 2006
Posts: 1



(Msg. 1) Posted: Thu Jun 08, 2006 6:07 am
Post subject: IIS stops serving *.js files - Object Expected error occurs in bro
Archived from groups: microsoft>public>inetserver>iis (more info?)

The web application (after working for a while) starts throwing 'Object
Expected' errors for javascript functions defined in external .js files added
to the webpage using the <script src="..."></script> tag.

The problem is not resolved by doing a 'Hard Refresh' (ctrl+F5) or clearing
the cache in the browser. This problem is persistent in both IE and Firefox,
so I am guessing it is not a browser or code problem, especially since the
code works for a while... (probably the hardest general problem to resolve!)

I am able to resolve the problem in the following two scenarios:

1) The web application is located somewhere on the local disk and a virtual
directory is created in IIS Manager. An application is created in the IIS
manager properties for the virual directory. Two solutions that work
sometimes:
1a) "Remove" application in IIS Manager's properties for the virtual directory
1b) If Solution (a) does not work, the virtual directory has to be recreated
using a different name
1c) If Solution (b) does not work, make a folder in your wwwroot for the
application and simply copy it there (and in most cases this solves the
problem)

2) The web application is located in the wwwroot of your website in a
seperate folder. An application is created in the IIS manager properties for
the folder. The only solution:
2a) "Remove" application in IIS Manager's properties for the folder (and
hope that it doesn't happen again)

This ofcourse cannot continue to happen at a client!! So there must be a
reason why it happens? Any ideas?

Scope:
-IIS 5.0 (Windows Server 2000) - scarce, IIS 5.5 (Windows XP) - routinely,
IIS 6.0 Windows Server 2003) - scarce
-ASP-based web application

Regards,

M Johnson

 >> Stay informed about: IIS stops serving *.js files - Object Expected error occur.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
newbie!! runtime error - object expected - I have created a simple intranet page in dreamwever and it contains pop up menus (using Java scripts ?) when running the page (ie6, iis5) on the web server all is OK, but on any machine on the w2k network I get the error. runtime error: line xxx 'menu'....

IIS stops serving requests with DCOM error in event log - Hi, Each night IIS goes into failoure mode and I see the following error in the event log: Event Type: Error Event Source: DCOM Event Category: None Event ID: 10004 Date: 1/27/2004 Time: 4:37:37 PM User: N/A Computer: MCCSPAPI2 Description: DCOM go...

IIS 5.0 stops serving ASP pages - Occasionally (average about once per day), my IIS server stops serving ASP pages. It will serve static requests. I have use the ADPlus utility to generate all sorts of log files. I can post those logfiles here if they will help. I have downloaded the...

IIS Stops serving randomly - We have a server that is used on our internal intranet and hosts 2 web sites using IIS. Both sites are configured to use HTTPS using a certificate we generated. We have found that IIS will stop serving these sites at random times. If I log directly..

PWS Stops After Serving One Page - Our home PC is somewhat outdated and runs Windows 95 (no chance of upgrading). I use PWS (i.e. IIS 4.0) to develop ASP applications and then upload them to my website. I have installed JET 4.0 SP8, MDAC 2.6 (the Y2K update is installed so this works) and...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]