In order to use the web deploy method with Visual Studio 2012 you must activate IIS Manager permissions in Control Panel. For details on activating IIS Manager, please see this Knowledge Base article.
2. In Visual Studio 2012, right click on your project and select “Publish..."
To publish your web application using Web Deploy:
3. Click Import and select the file you downloaded in step 1
4. In the "Connection" section, most of the information should be pre-populated.
a. Enter the path where you want to publish your application
b. Enter the password of your user account
5. On the Settings Page
a. Set up your destination database by clicking on the ellipsis to open the Destination Connection Strings
b. Check "Use this connection string at runtime"
c. Check "Update database" (Note: this update database method only migrates the schema of the database not the data)
6. Click the "Publish" button