Print Page | Close Window

another ’cdate’ problem

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=16336
Printed Date: 15 April 2026 at 7:38pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: another ’cdate’ problem
Posted By: clarity
Subject: another ’cdate’ problem
Date Posted: 26 August 2005 at 5:56am
My forum was running just fine, when all of a sudden it broke
down saying:
 
"Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CDate'

/waaterstad/forum/common.asp, line 351 "

Yesterday I closed and reopened my browser, after which it worked
again. Now I can't seem to get it to work anymore. Anyone got an idea?
 
Is it a time or a cookie thing?
 
Kris



Replies:
Posted By: WebWiz-Bruce
Date Posted: 26 August 2005 at 1:32pm
This maybe a cookie issue, try deleting your internet files followed by your cookie cache to reset the cookies in IE.

-------------
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: clarity
Date Posted: 26 August 2005 at 6:07pm
It seems to work now; I made some modifications.
 
But now I'm having admin-troubles.
I'm getting messages like this:
 
"Microsoft VBScript compilation error '800a0411'

Name redefined

/waaterstad/forum/admin/forum_configure.asp, line 59

Dim strWebSiteName		'Holds the web site name"
I can not enter some parts of the admin section. Uploading the 
files again didn't work. 


Posted By: jigsaw
Date Posted: 06 September 2005 at 6:35pm
Dear Clarity,
 
We have been using the 7.9 version of the webwiz forum, and it was working OK until I added a global.asp file to the root of my server then all went down.
 
We host our website on a European Server and the local language id is for German ID=1031 [oneandone.co.uk !] this was not a problem for the forum but we had German dates etc in other asp applications.
 
Unfortunately correcting this to English ID=2057 has created an problem like you have too:'CDate' DataType Mismatch in the "Common.asp"?
 
I'm not sure what we can do presently, cleaning the cookie cache is not the answer to the problem, many visiters to our forum would not know what to do?  I guess the dates are saved in the database in Month/Day/Year instead of the usual Day/Moth/Year format?
 
I think a SQL query to change these round may work, pity there is not a fix for this, I cannot find a FAQ about it yet. If users switch hosts with different local ID's they had better watch out - it will not work! 
 
best of luck!
 
 


-------------
dovetailer


Posted By: christian
Date Posted: 12 September 2005 at 5:20pm
Dear jigsaw,
we have the same problems since two month, and i have not find out a way how to solve this problem complete yet. I use the german version of Windows Server 2003 and IIS 6, because my hosting company is located in Germany.
Cause of the users don't know to solve the problem by deleting the cookies, I have a lot of trouble with my customers, because the supportforum is very important for them.
If there is no solution for this problem, i must switch to another forum system.Angry

Has anybody an idea to solve the "cdate"-Problem?

With best regards Christian


Posted By: WebWiz-Bruce
Date Posted: 13 September 2005 at 5:21am
If only returning customers are getting this problem due to having an old cookie in a different format then you can get around this by editing the common.asp files and entering a new cookie name at:-

Const strCookieName = "WWF"

This will mean that the old cookie will be ignored thus setting a new cookie and getting around asking your users to delete their old cookie cache.


-------------
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: christian
Date Posted: 15 September 2005 at 4:13pm
Hello boRg,
this will not solve the problem, because if the customer returns a second time after changing the cookie-name, the problem will be the same. I have tested this.Ouch

With best regards Christian


Posted By: jigsaw
Date Posted: 16 September 2005 at 8:40am
Dear christian,
 
I found a fix for this and you will be pleased to know it is quite simple!
In the common.asp file you will see lines 55 and 56:
'Set the date time format to your own if you are getting a CDATE error
'Session.LCID = 1033
 
Remove the character ' and the codeline 1033 is then enabled for American English defaults, I changed this to German 1031 then my copy of the forum worked again because it was on a German server!
 
I put this in my file to remind me later if I move hosts:
'On a German server 1031=Germany 2057=UK 1033=USA
 
Remember if you switch hosts they could be any Language, you need to find out what is the default and adjust this, find your local ID code from your host help files.
 
Hope this helps.
 
 


-------------
dovetailer


Posted By: zooeycat
Date Posted: 22 September 2005 at 5:52pm
i did the 1033 fix, but my date is still displaying as  22/September/2005 (the time is correct).  any idea how to change the date format?


Posted By: WebWiz-Bruce
Date Posted: 23 September 2005 at 8:33am
You can change the date format in your forum profile, for non-logged in users it can be changed in the admin area under date and time configuration.

-------------
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: Unleash_Hell
Date Posted: 26 September 2005 at 3:04am
Originally posted by jigsaw jigsaw wrote:

Dear christian,
 
I found a fix for this and you will be pleased to know it is quite simple!
In the common.asp file you will see lines 55 and 56:
'Set the date time format to your own if you are getting a CDATE error
'Session.LCID = 1033
 
Remove the character ' and the codeline 1033 is then enabled for American English defaults, I changed this to German 1031 then my copy of the forum worked again because it was on a German server!
 
I put this in my file to remind me later if I move hosts:
'On a German server 1031=Germany 2057=UK 1033=USA
 
Remember if you switch hosts they could be any Language, you need to find out what is the default and adjust this, find your local ID code from your host help files.
 
Hope this helps.
 
 
 
Should the LCID be the location of the server? I thought it didnt depend on the server, but what time you wanted the server to use in the script.
 
I'm experience the same problem, and I've almost given it up. Still getting;
 

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CDate'

/forum/common.asp, line 314



Posted By: Unleash_Hell
Date Posted: 07 October 2005 at 7:37am
Have anyone found a fix on this error?


Posted By: WebWiz-Bruce
Date Posted: 10 October 2005 at 8:25am
It's a server misconfigartion error that can be fixed by updating the LCID locale in the common.asp file

-------------
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: jclothier
Date Posted: 12 October 2005 at 5:17am
I am also having the problem of having a 1and1 server in Germany. I have set the correct LCID and if I change my time offset in my user settings all displays ok. Is it possible to enable a time offset of say -1 for all users? Also if you are not logged on and are a Guest the time stamp is wrong. Is there a way of changing that?


Posted By: dj air
Date Posted: 12 October 2005 at 5:19am
if you look in the mods forum scotty 32 has made a change offset globally MOD

its in the mod's forum

regards to the timestamp for guests what value are you getting.


Posted By: jclothier
Date Posted: 12 October 2005 at 6:06am
Originally posted by dj air dj air wrote:

if you look in the mods forum scotty 32 has made a change offset globally MOD

its in the mod's forum

regards to the timestamp for guests what value are you getting.
 
When you just browse to the site the time is showing as German time, e.g. one hour ahead of actual time. When I log on, because of my time offset, all is ok. I want to be able to change this so that the time is always uk time. I blame 1And1 really! Wink


Posted By: jclothier
Date Posted: 12 October 2005 at 6:12am
Originally posted by dj air dj air wrote:

if you look in the mods forum scotty 32 has made a change offset globally MOD

its in the mod's forum

regards to the timestamp for guests what value are you getting.
 
I ran The mod you suggested and that sems to have fixed my problem. Thanks to all!



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