Ask a Question related to ASP, Design and Development.
-
b_boy #1
Session.LCID problem
Hi all,
I recently downloaded a calendar that i am trying out for a client. It works
fine when i test it on my machine..however when i test it on the hosts
server it can't handle the date format. when i run it i get the following
error
Error:
Type mismatch: 'DateValue'
/calendar/inc_default.asp, line 77
Code:
If Request("iDate") <> "" Then
This is line 77----> iDate = DateValue(Request("iDate"))
Else
iDate = date
End if
I thought the LCID value for Germany which is where the host's server is.
When i do this it works...(horray!) but it also changes the days and the
months to German(awww!) Is there any way to avoid this? PLease help, i got
this pain in my head that won't go away. Any other suggestions?There's not
much in support for the calendar as its free. Its DUcalendar from duware.com
maybe someone else has experienced something similar?
Many thanks in advance
b_boy Guest
-
How to set LCID permanently in MX?
Working usually in vb/asp I'd like to force the script language header to include the LCID as per this as most of my work involves dates. ... -
Session.Lcid question
Hi all, I've recently installed a calendar that I downloaded but I'm having a bit of a problem with the date settings. I thought setting the LCID... -
Session.Lcid
Trying to locate the list of valid lcid's on MS's site and googled. Ive toiled long and hard, but alas I cannot locate the information. (previous... -
Session.LCID does not work
I live in Brazil and i am trying to set my application to work with american date format. The problem is, even when i set the LCID property at... -
LCID Problem.
This has just started. I don't recal installing any updates or security fixes lately. But I am getting a script debugger notification just... -
Ray at #2
Re: Session.LCID problem
What's the value of request("iDate") and is that request.form, querystring,
etc.? Specify that in your code.
Response.write request.FORM("iDate")
response.end
Ray at work
"b_boy" <b_boy@b2k.co.uk> wrote in message
news:OMMQNvBlDHA.1672@TK2MSFTNGP09.phx.gbl...works> Hi all,
> I recently downloaded a calendar that i am trying out for a client. Itduware.com> fine when i test it on my machine..however when i test it on the hosts
> server it can't handle the date format. when i run it i get the following
> error
> Error:
>
> Type mismatch: 'DateValue'
>
> /calendar/inc_default.asp, line 77
>
> Code:
>
> If Request("iDate") <> "" Then
> This is line 77----> iDate = DateValue(Request("iDate"))
> Else
> iDate = date
> End if
>
> I thought the LCID value for Germany which is where the host's server is.
> When i do this it works...(horray!) but it also changes the days and the
> months to German(awww!) Is there any way to avoid this? PLease help, i got
> this pain in my head that won't go away. Any other suggestions?There's not
> much in support for the calendar as its free. Its DUcalendar from> maybe someone else has experienced something similar?
>
> Many thanks in advance
>
>
>
>
>
>
Ray at Guest
-
b_boy #3
Re: Session.LCID problem
Without LCID value
16/10/2003
with LCID value for Germany
16.10.2003
hmmm...
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OwdD1zBlDHA.1004@TK2MSFTNGP09.phx.gbl...querystring,> What's the value of request("iDate") and is that request.form,following> etc.? Specify that in your code.
>
> Response.write request.FORM("iDate")
> response.end
>
>
> Ray at work
>
> "b_boy" <b_boy@b2k.co.uk> wrote in message
> news:OMMQNvBlDHA.1672@TK2MSFTNGP09.phx.gbl...> works> > Hi all,
> > I recently downloaded a calendar that i am trying out for a client. It> > fine when i test it on my machine..however when i test it on the hosts
> > server it can't handle the date format. when i run it i get theis.> > error
> > Error:
> >
> > Type mismatch: 'DateValue'
> >
> > /calendar/inc_default.asp, line 77
> >
> > Code:
> >
> > If Request("iDate") <> "" Then
> > This is line 77----> iDate = DateValue(Request("iDate"))
> > Else
> > iDate = date
> > End if
> >
> > I thought the LCID value for Germany which is where the host's servergot> > When i do this it works...(horray!) but it also changes the days and the
> > months to German(awww!) Is there any way to avoid this? PLease help, inot> > this pain in my head that won't go away. Any other suggestions?There's> duware.com> > much in support for the calendar as its free. Its DUcalendar from>> > maybe someone else has experienced something similar?
> >
> > Many thanks in advance
> >
> >
> >
> >
> >
> >
>
b_boy Guest
-
Aaron Bertrand - MVP #4
Re: Session.LCID problem
Uh, convert it to a string and replace . with / or vice-versa?
"b_boy" <b_boy@b2k.co.uk> wrote in message
news:OMMQNvBlDHA.1672@TK2MSFTNGP09.phx.gbl...works> Hi all,
> I recently downloaded a calendar that i am trying out for a client. Itduware.com> fine when i test it on my machine..however when i test it on the hosts
> server it can't handle the date format. when i run it i get the following
> error
> Error:
>
> Type mismatch: 'DateValue'
>
> /calendar/inc_default.asp, line 77
>
> Code:
>
> If Request("iDate") <> "" Then
> This is line 77----> iDate = DateValue(Request("iDate"))
> Else
> iDate = date
> End if
>
> I thought the LCID value for Germany which is where the host's server is.
> When i do this it works...(horray!) but it also changes the days and the
> months to German(awww!) Is there any way to avoid this? PLease help, i got
> this pain in my head that won't go away. Any other suggestions?There's not
> much in support for the calendar as its free. Its DUcalendar from> maybe someone else has experienced something similar?
>
> Many thanks in advance
>
>
>
>
>
>
Aaron Bertrand - MVP Guest
-
b_boy #5
Re: Session.LCID problem
I'm trying...i'm trying, i can convert it to the dd.mm.yyyy format but i
think i need to convert it back to date format otherwise the application
won't work Type mismatch error again! Maybe i'm not doing it right. I'm not
sure there's a date function that will keep the dd.mm.yyyy format in place..
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:%23CnFCXClDHA.1656@tk2msftngp13.phx.gbl...following> Uh, convert it to a string and replace . with / or vice-versa?
>
>
>
>
> "b_boy" <b_boy@b2k.co.uk> wrote in message
> news:OMMQNvBlDHA.1672@TK2MSFTNGP09.phx.gbl...> works> > Hi all,
> > I recently downloaded a calendar that i am trying out for a client. It> > fine when i test it on my machine..however when i test it on the hosts
> > server it can't handle the date format. when i run it i get theis.> > error
> > Error:
> >
> > Type mismatch: 'DateValue'
> >
> > /calendar/inc_default.asp, line 77
> >
> > Code:
> >
> > If Request("iDate") <> "" Then
> > This is line 77----> iDate = DateValue(Request("iDate"))
> > Else
> > iDate = date
> > End if
> >
> > I thought the LCID value for Germany which is where the host's servergot> > When i do this it works...(horray!) but it also changes the days and the
> > months to German(awww!) Is there any way to avoid this? PLease help, inot> > this pain in my head that won't go away. Any other suggestions?There's> duware.com> > much in support for the calendar as its free. Its DUcalendar from>> > maybe someone else has experienced something similar?
> >
> > Many thanks in advance
> >
> >
> >
> >
> >
> >
>
b_boy Guest
-
b_boy #6
Re: Session.LCID problem
hmmm, that's a no then.
"b_boy" <b_boy@b2k.co.uk> wrote in message
news:O$FQ3IDlDHA.1708@TK2MSFTNGP12.phx.gbl...not> I'm trying...i'm trying, i can convert it to the dd.mm.yyyy format but i
> think i need to convert it back to date format otherwise the application
> won't work Type mismatch error again! Maybe i'm not doing it right. I'mplace..> sure there's a date function that will keep the dd.mm.yyyy format inthe> "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
> news:%23CnFCXClDHA.1656@tk2msftngp13.phx.gbl...> following> > Uh, convert it to a string and replace . with / or vice-versa?
> >
> >
> >
> >
> > "b_boy" <b_boy@b2k.co.uk> wrote in message
> > news:OMMQNvBlDHA.1672@TK2MSFTNGP09.phx.gbl...> > works> > > Hi all,
> > > I recently downloaded a calendar that i am trying out for a client. It> > > fine when i test it on my machine..however when i test it on the hosts
> > > server it can't handle the date format. when i run it i get the> is.> > > error
> > > Error:
> > >
> > > Type mismatch: 'DateValue'
> > >
> > > /calendar/inc_default.asp, line 77
> > >
> > > Code:
> > >
> > > If Request("iDate") <> "" Then
> > > This is line 77----> iDate = DateValue(Request("iDate"))
> > > Else
> > > iDate = date
> > > End if
> > >
> > > I thought the LCID value for Germany which is where the host's server> > > When i do this it works...(horray!) but it also changes the days and> got> > > months to German(awww!) Is there any way to avoid this? PLease help, i> not> > > this pain in my head that won't go away. Any other suggestions?There's>> > duware.com> > > much in support for the calendar as its free. Its DUcalendar from> >> > > maybe someone else has experienced something similar?
> > >
> > > Many thanks in advance
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
b_boy Guest



Reply With Quote

