Answered by:
"An error occurred while retrieving Date"

Question
-
Hi all,
My issue is in CRM 4.0My problem is that in forms (edit.aspx) that includes attributes type date, sometimes I the browser freeze and not responding , after 5 or 6 minutes I gets a global error alert (client - Ok Cancel dialogbox – not modal dialog !!! that Exception Accrued ….) , after hit on OK button I get an alert dialogbox that says "An error occurred while retrieving Date"
We have tried everything, running the Crm Trace didn't gets us any ideas …
Every help will be great
Thanks
ItzikBSMonday, September 22, 2008 11:28 AM
Answers
-
Hi,
The solution for my problem, is not about a date format , but it was an issue of limitation of Internet Explorer that limits the number of simultaneous downloads to two downloads, plus one queued download – probably a crm form goes with AJAX to do something with date fields, and that limitation was stop it from working currect.
My solution was to increase that amount by using this :
How to configure Internet Explorer to have more than two download sessions
I'm sure everyone who developing WEB apps will find this article very interesting.
Wednesday, September 24, 2008 10:37 PM
All replies
-
I take it you upgraded from MSCRM 3.0 to 4.0? If so are you using the same date format on both machines? (i.e. dd/mm/yyyy) vs (mm/dd/yyyy) ?
* Does this occur of any form or specific forms.
* Is there any customization (js) which might be causing these issues?
Cheers,
KarloMonday, September 22, 2008 6:36 PM -
First, Thanks
No, I didn't upgrade from 3 to 4 , it's the last installation of Version 4.0 Enterprise Edition.
Do you think that is a date time format issue ? Maybe it's related to the SQL Machine* Does this occur of any form or specific forms.
we sow it only on Costume Entities
* Is there any customization (js) which might be causing these issues?
noThank for helping
Monday, September 22, 2008 8:49 PM -
Hi,
I've experienced somewhat similar problems in the client side when writing code for MSCRM which takes dd/mm/yyyy as a SQL data format and then deploying to a machine which accepts mm/dd/yyyy. I've also experienced an issue with date fields when trying to set a fields value through JS... it breaks the form.
* Can you replicate this? i.e. is this an intermittent error or will it occur each time for the same record?
I have next to no experience with the Enterprise version of MSCRM though I could imagine if different data formats are used from one company to the next you could be experiencing problems.
See if you can edit on a record with a day value < 12, i.e. 11/12/2008 and then see if the same problem occurs if you can a date with day value > 12 or 14/12/2008.
Cheers,
KarloTuesday, September 23, 2008 8:19 PM -
Now I have more details:
We getting this exception jest in that cases:
All Entities (Custom or not ) with date time (Jest Date Data) attributes
AND
The value of the date is DAY value <> MONTH value (NOT equal) All cases of date and month that equal like 1/1/yyyy , 2/2/yyyy … there will not be exception and the form will be loaded jest fine.To make the problem more complicate, I will add the amazing fact that in Browser IE version 7 , this problem not accrued what so ever at all … Please don't respond that all clients should have IE 7 installed – because most of our clients (Intranet) have IE 6 , and I can't change it.
All kind of help or any direction to a solution will be great !!!
Thanks
Wednesday, September 24, 2008 5:55 AM -
Hi,
The solution for my problem, is not about a date format , but it was an issue of limitation of Internet Explorer that limits the number of simultaneous downloads to two downloads, plus one queued download – probably a crm form goes with AJAX to do something with date fields, and that limitation was stop it from working currect.
My solution was to increase that amount by using this :
How to configure Internet Explorer to have more than two download sessions
I'm sure everyone who developing WEB apps will find this article very interesting.
Wednesday, September 24, 2008 10:37 PM -
Thanks for the update itzik.
Will give that a read.
Cheers,
KarloThursday, September 25, 2008 8:30 PM