You may see the “Sorry, you are not allowed to access this page” message for a variety of reasons. It might be that WordPress doesn't recognize you as an Administrator. In other situations, the information contained in your site's core code or in a theme or plugin may not match what's in your database.