I have two computers both installed with OSX 10.9.2 and on one computer I did this with no problem what so ever but on the other computer, when I attempt to setup my Exchange account in the System Preferences>Internet Accounts menu, it throws this error:
There was an error in Internet Accounts preference pane.
Having looked for a solution on Apple Discussion Forums, I have attempted to delete these files:
/Library/Preferences/com.apple.system preferences .plist
/Library/Preferences/By Host/com.apple.systempreferences.xxx.plist of them)
followed by emptying my recycle-bin and restart the computer, but the problem persists.
Console Excerpt (Link to view complete Console report)
Process: com.apple.preferences.internetaccounts.remoteservice  Path: /System/Library/PreferencePanes/InternetAccounts.prefPane/Contents/XPCServices/com.apple.preferences.internetaccounts.remoteservice.xpc/Contents/MacOS/com.apple.preferences.internetaccounts.remoteservice Identifier: com.apple.preferences.internetaccounts.remoteservice Version: 1.0 (1) Build Info: InternetAccounts-225004000000000~1 Code Type: X86-64 (Native) Parent Process: ???  Responsible: System Preferences  User ID: 501 Date/Time: 2014-05-10 18:12:32.176 -0700 OS Version: Mac OS X 10.9.2 (13C1021) Report Version: 11 Anonymous UUID: F82228C3-4125-D958-C4C9-1F3EF208729F Crashed Thread: 11 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: serverName)' terminating with uncaught exception of type NSException abort() called