Since I found this script, I have used it for every single move I make from Localhost to Live or vice versa.
It’s incredibly simple to use and has worked every time.
https://github.com/interconnectit/Search-Replace-DB (Review: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ )
From their site:
You must use a safe search and replace method that preserves the integrity of the serialized string lengths. A simple find and replace of a dump file for http://localhost
to, for example, http://examplesite.com
is problematic because the length of the string changes but the indexes for the serialized strings does not. Consequently settings are lost and widgets disappear.