BasicDatePicker is not working IIS server

Posted by Jaypalsinh under ASP.NET on 2/10/2011 | Points: 10 | Views : 2201 | Status : [Member] | Replies : 7
hello to all,
Plz help me,
I have the problem with BasicDatePicker control. when i run my site on IIS server then BasicDatePicker is take the wrong date that is
01-jan-01 12:00:00 AM'
is datepicker not worked in IIS server?
plz help me. it's urgent.




Responses

Posted by: Jaypalsinh on: 2/10/2011 [Member] Starter | Points: 25

Up
0
Down
OK - truck loads of folk have reported this problem - but I cannot solve it - so apologies for repeating the question...



My SQL Server 2005 Report is developed on the same server as it is run.

I have SQL Server 2005 SP2 installed. The report language is set as en-GB.

The browser language setting is en-NZ.



The report previews fine - I pick May 22 from the picker and it appears as 22/05/2007 in the report parameter text box - which is exactly as I want it.



I deploy the report - If I run it from the report manager virtual directory the date picker performs as above i.e correctly.



I run the deployed report from the report server virtual directory and here is where the problem occurs - selecting May 22 from the date picker produces 05/22/2007 in the report parameter text box and produces the error



"The value provided for the report parameter 'StartScheduledDate' is not valid for its type. (rsReportParameterTypeMismatch)"



thanks for any help here -

Jaypalsinh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 2/10/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Jaypalsinh


ithink u set you Set Date in Under Regional Setting ... it's use full for you

Best Regard's
Prabhakar

Jaypalsinh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jaypalsinh on: 2/10/2011 [Member] Starter | Points: 25

Up
0
Down
Thnaks a lot Mr. Prabhakar to reply me.

Can u explain me. what kind of Regional settings i make to my desired output.
I want to dateformat as "dd/MM/yyyy".
plz. reply me...


Jaypalsinh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 2/10/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Jaypalsinh
sorry for late replying ... you go

Start->Control Panel -> Regional and Language Option
Click in regional Tab Set Customize Date Setting desired Format


Best Regard's
Prabhakar

Jaypalsinh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jaypalsinh on: 2/14/2011 [Member] Starter | Points: 25

Up
0
Down
Thanks Prabhakar,
hi everybody.
I made changes in Regional setting but when i deployed the website and run on the IIS server then the Basic Date Picker take the wrong date that is "01-jan-01 12:00:00 AM", so is problem in IIS server or any else? plz. reply me fast


Jaypalsinh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/14/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

You can set the new new time by going to
Command Prompty > Date&Time

Change it to the new date and time.

You need to restart the server once you are done

Thanks
Karthik
www.f5Debug.net

Jaypalsinh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jaypalsinh on: 2/14/2011 [Member] Starter | Points: 25

Up
0
Down
thanks Karthik,

hi,

I changed the date and time. but the problem is that Basic Date Picker does not work on IIS server.
It is work properly in the Asp.net's default local server.
It not working in the IIS server.
Anybody has any idea why this happen plz. tell me.

Jaypalsinh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response