Go through the Service Definition wizard but instead of publishing directly, close the dialog box so that a service definition draft (file) is created (under the My Hosted Services Draft folder).Open the created draft by double-clicking.Publishing will now work.