There are several possible fixes for this issue.
First, run Arma 2 once. Then try to run Arma BAF(without beta or DayZ). If that won't help you can try to verify game cache of the Arma 2 and Arma OA.
1.) If that will not help, follow this guide:
- RUN STEAM AS ADMINISTRATOR
- Exit Steam.
- Right-click on Steam icon.
- Left-click on "Run As Administrator".
- If the problem persists, reboot your computer and try the procedure again.
2.) DELETE ARMA 2 BAF REGISTRY ENTRIES
- Exit Steam, open Start menu and type this directly into the menu (in Windows XP, you will have to click on "Run" first) regedit
- Press Enter.
- In regedit window, click on HKEY_LOCAL_MACHINE.
- Press CTRL+F to bring up search.
- Look for "ArmA" (without the quotes).
- Delete all the "ArmA" entries you find from the registry.
- Run Steam as Administrator.
- Right-click on the game in Steam Library.
- Click on "Properties".
- Select "Local files" tab and click on "Verify integrity of game cache files" button.
- Please wait, the process can take several minutes.
3) REINSTALL STEAM
- Go to Steam's installation folder.
- Delete everything there except "steam.exe" and "steamapps" folder.
- Run "steam.exe" - Steam will reinstall itself automatically.