Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Type mismatch: ’CDate’
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Type mismatch: ’CDate’

 Post Reply Post Reply Page  123>
Author
©[CSiP]@Gud View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote ©[CSiP]@Gud Quote  Post ReplyReply Direct Link To This Post Topic: Type mismatch: ’CDate’
    Posted: 13 May 2003 at 3:03pm

Why? Got new server up, and now this... My forum is on

http://www.csip.dk/asp/english/forum/

Regards
©[CSiP]@Gud
Back to Top
oneminuteguy View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 18 October 2002
Location: Denmark
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote oneminuteguy Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2003 at 3:32pm

This is a common error with server dat/time format and it's described in the forum documentation.

In the file common.asp u need to change the line near the top which says:

'Session.LCID = 1033


change it to:

Session.LCID = 1030  (notice that the quote mark is deleted)

This will work if the server is in Denmark! If it's not then find your LCID code here: http://www.webwiz.net/asp/faq/date_time_settings.asp

..and don't forget to empty ur cache before refreshing!

Regards,
OMG



Edited by oneminuteguy
Back to Top
©[CSiP]@Gud View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote ©[CSiP]@Gud Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2003 at 5:54pm
There is a lot of other files whit that linie... Dont touch them???
Regards
©[CSiP]@Gud
Back to Top
oneminuteguy View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 18 October 2002
Location: Denmark
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote oneminuteguy Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2003 at 6:20pm

Nope - u only need to change the one in common.asp

In my forum (v7.01/access) it's line 56

Regards,
OMG

Back to Top
©[CSiP]@Gud View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote ©[CSiP]@Gud Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2003 at 6:40pm
nope... Dont work... Could it be that I have put the new server on danish time-zone?
Regards
©[CSiP]@Gud
Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2003 at 6:44pm

what error are you getting now?, on what file and line? and what you got on that line?

I was getting an error on your link earlier but now i just get a page cannot be displayed....

FeRnAN
Back to Top
©[CSiP]@Gud View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 25 April 2003
Location: Denmark
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote ©[CSiP]@Gud Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2003 at 6:51pm

First I get;

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CDate'

/asp/dansk/forum/common.asp, line 327

Secornd, Think it's that I got admin-login on;

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CDate'

/asp/english/forum/Default.asp, line 136

VBScript should be active...



Edited by ©[CSiP]@Gud
Regards
©[CSiP]@Gud
Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2003 at 7:02pm
Did you checked the chart on the link oneminuteguy provided and make sure you have the right LCID code for your server?
FeRnAN
Back to Top
 Post Reply Post Reply Page  123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.