Unexpected error customising the Cost, Cost Exposure and Exposure columns in a Project Server 2010 Risk list

An annoying feature of Project Server 2010 when it shipped was the inability to fully customise the risk list of a Project workspace. Whilst most of the list could be customised, when you tried to modify the Cost, Cost Exposure or Exposure columns, you would get a really annoying ‘An Unexpected error has occurred’ message, even cracking open SharePoint Designer to try and modify those columns would result in an error.

An Unexpected error has occurred

When you dig into the ULS logs, you see the following errors:

Unexpected    System.FormatException: Input string was not in a correct format.    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)     at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)     at Microsoft.SharePoint.SPGlobal.GetNamedIntItem(XmlNode node, String strName, Int32& iValue)     at Microsoft.SharePoint.SPFieldCalculated.get_CurrencyLocaleId()     at Microsoft.SharePoint.ApplicationPages.BasicFieldEditPage.get_CurrencyLocaleId()     at Microsoft.SharePoint.ApplicationPages.BasicFieldEditPage.PopulateCurrencyList(DropDownList ddl)     at Microsoft.SharePoint.ApplicationPages.BasicFieldEditPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Thanks to a heads up from Brian Smith, this issue has been addressed in Hotfix 2459113 which is part of the Project Server 2010 December CU, so get patching.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s