I have an infopath form with a datepicker control published to SharePoint. When I open the form from the server it works correctly. When I open the form from the client machine it generates a javascript error on the left side of the form, and when I open the error I see the following:

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3; Media Center PC 6.0) Timestamp: Wed, 27 Jul 2011 06:57:59 UTC

Message: Syntax error Line: 2 Char: 1 Code: 0 URI: http://servername/_layouts/FormResource.aspx?culture=1033&version=1

Message: 'dateTime1033' is undefined Line: 2 Char: 51921 Code: 0 URI: http://servername/_layouts/inc/Core.js?rev=8PdoqL6fQahtzwwVSZ2lpw%3D%3D

Any ideas?

closed as too localized by Stu Pegg, Alex Angas Aug 3 '11 at 5:57

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

migrated from stackoverflow.com Jul 27 '11 at 11:06

This question came from our site for professional and enthusiast programmers.

  • Some things to check...What zone (i.e. Trusted) is the site running in your browser? Have you tried opening it on another client machine, with and without a different browser version? – Rob D'Oria Jul 27 '11 at 13:39