Print Page | Close Window

500 error in rss_feed_topic.asp

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=19765
Printed Date: 12 April 2026 at 3:48am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: 500 error in rss_feed_topic.asp
Posted By: DeadMeat
Subject: 500 error in rss_feed_topic.asp
Date Posted: 08 May 2006 at 11:04am
Hi
 
I am getting a 500 error in the file : functions/functions_date_time_format.asp at line 78.
 
The error message is : Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
 
I am not sure what could be causing this, and unfortunately I do not have time at this moment to debug it as to the exact problem. If some one else has had this problem and corrected i, please let me know. If you need more information let me know and I will post more data from the error message.
 
Thanks
DM



Replies:
Posted By: WebWiz-Bruce
Date Posted: 09 May 2006 at 9:08am
You can get this error is the date/time database has not successfully been loaded into the web servers application pool.

There is error handling to prevent this, although there is a bug in the RSS files at present, which is being fixed. But if you get this error in other parts of your forum you may have a corrupted file, so try reuploading the files again.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: DeadMeat
Date Posted: 09 May 2006 at 10:20am
Hi Borg
 
That is the only error I get, everything else works like a dream. The bad part is that the error handling is not catching it.
 
Ok after looking through things, I have located the source of the problem, and it is really simple I should have seen it sooner. The error is only likely to occur when the application variables are reset by the server, and the first page the user/bot loads is the rss feeds. The problem is that adoCon
is set to nothing at that moment in time. The simplest way around this error would be to check if adocon is valid and if not then open the database, and then close it afterwards, so that the real opendatabase does not cause problems.
 
This is not elegant, but will stop the rss feed pages from generating this particular error.
 
In File functions_date_time_format.asp
line 77 insert  :
   dim   we_open
   we_open = false
   if adoCon is Nothing then
      Call openDatabase(strCon)
      we_open = true
   end if
 
and then in line 98 insert :
   if (we_open = true) then
      Call closeDatabase()
   end if
 
Not really nice, but it will stop the error 500, not sure if this is the same as some of the other problems that you are chasing, but could be a pointer.
 
Thanks
DM


Posted By: WebWiz-Bruce
Date Posted: 09 May 2006 at 10:26am
To prevent the error in the RSS_ files, move the call to the include file, functions_date_time_format.asp to after the database opening call.

This will prevent these types of errors occuring.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: DeadMeat
Date Posted: 09 May 2006 at 10:32am
Hi Borg
 
Thanks a bundle mate will do. This should sort out the problem. Just remember that there is no error trapping around the code in functions_date_time_format.asp file.
 
Thanks
DM



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net