When publishing or downloading a site containing a database using WebMatrix, an error message similar to the following may be displayed in the notification bar:
“Publish: Error – Unable to publish”
Clicking the Log link shows details similar to the following, indicating that the database could not be created:12:00:00 PM: The database 'my_db' could not be created. 12:09:23 PM: Retrying operation 'Add' on object dbFullSql
(database=my_db;user id=my_username;server=my_db_server). Attempt 1 of 2.
12:00:00 PM: An error occurred during execution of the database script. The approximate location of the error was
between lines '530' and '541' of the script. The verbose log may have more information about the error.