At first, download and install the latest version of Origin at www.origin.com/download (and make sure you have your Origin account ready as well)
If that doesn’t helped, close the origin client and go directly to you origin folder C:\Program Files\Origin Games. Run the origin.exe in this folder with a rightclick -> run as administrator.
This worked out in the most cases, if not, try to deactivate your firewall/antivirus software and/or check the online ports of your connection:
TCP: 80, 443, 9988, 20000-20100, 22990, 17502, 42127
UDP: 3659, 14000-14016, 22990-23006, 25200-25300
For specific instructions on how to open your ports, please visit http://www.portforward.com/ or contact your router manufacturer.
Open your Origin client, click on “Show Game Details”.
Then you go to the cloud button on BFBC2 and uncheck the “enable cloud storage for all games” box. Launch the game, quit it and re-enable the cloud storage box. Make sure to use the local data when the information box popping up.
If you running on a Windows 7 64bit system, you can try to run the Client under the Windows 7 compatibility mode. The Windows 7 compatibility mode is running as x86, and helped in a few cases to solve this issue.
Please let us now, if this problem after this workaround still exist.
Cheers
Basti