Asked by:
PS 2013 BUG: Import Timesheet exception (russian regional settings)
-
Hello!
I've installed PS 2013 trial and I have russian regional settings (PS VM : win 2008 r2 sp1; SQL VM: Windows 7, sql 2012 express). Russian language pack installed.
When I press Import Timesheet (Импорт расписания) in Tasks (in PWA) I get exception page (ULS, strange data is there mon jul 09 08:02:18 2012):
[bucketHash:6BA66C60] System.FormatException: String was not recognized as a valid DateTime. at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at Microsoft.Office.Project.PWA.ApplicationPages.ImportTimesheetPage.mnuPeriods_ItemBound(PWADropdown sender, PWADropdownEventArgs args) at Microsoft.Office.Project.PWA.CommonControls.PWADropdown.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at Microsoft.Office.Project.PWA.ApplicationPages.ImportTimesheetPage.PJWebPage_OnLoad(EventArgs e) at Microsoft.Office.Project.PWA.PJWebPage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) StackTrace: at Microsoft.Office.Project.Server.Native.dll: (sig=435d7b9e-6d66-4296-9702-0defb7d00da1|2|microsoft.office.project.server.native.pdb, offset=3C1E) at Microsoft.Office.Project.Server.Native.dll: (offset=1254D)
another record:
Watson bucket parameters: Microsoft Project Server 2013, ULSException14, 070f6ea0 "project server", 0f001144 "15.0.4420.0", c180aef3 "mscorlib", 0400766f "4.0.30319.0", 4ffa57ca "mon jul 09 08:02:18 2012", 00002f17 "00002f17", 0000002a "0000002a", 5e112e42 "formatexception", 001475c3 "afhxd"
- Edited by Pavel Birioukov Sunday, July 28, 2013 12:48 PM
Question
All replies
-
Well, it was interesting for me to investigate a little bit. So I took .Net Reflector and found the mentioned method that had thrown and exception.
Microsoft.Office.Project.PWA.ApplicationPages.ImportTimesheetPage.mnuPeriods_ItemBound
in
Microsoft.Office.Project.Server.PWA.ApplicationPages.dll
Seemed ok, but as it is works in PS 2010, I also opened the same PS 2010 assembly (Microsoft.Office.Project.Server.PWA.ApplicationPages.dll) in reflector.
And what do you think? :) Yes - it is a bit different with DateTime format change (
Thread.CurrentThread.CurrentCulture is PS2010 is changed to InvariantInfo is PS2013):
As now it's not working - it seems to be a BUG.
-

