Hello,
I'm having trouble using WebDeploy to download/publish a site with the new WebMatrix 2.0. I was running WebMatrix 1 (which version I can't remember) and had several websites publishing successfully to a local IIS server. When I upgraded to 2.0 I started getting a failure when I tried to publish to the same servers. I tried uninstalling/reinstalling 2.0, which didn't work. Then I upgraded my OS from XP to Win 7 Enterprise and installed 2.0 and still get the same error. Here's what happens:
- I create an Empty Site to download my existing app from the server.
- I click on the Remote tab, open Settings, and enter all my publishing settings using WebDeploy. These validate successfully.
- I close Settings and then Download the site. I tell it to delete local files from the Empty Site template that aren't needed. The remote site downloads successfully.
- I open Settings and click in the database field to enter the database settings (this wasn't available before I downloaded the site.) The database settings save successfully.
- In the freshly downloaded local files I make a small change to test publishing to the server.
- I click Publish and WebDeploy successfully compares all the files and produces a list of files to upload.
- I leave the copy database field unchecked (the database is actually on a separate SQL Server) and click Publish. The system returns this error message:
"Publishing - Failed. The regular expression 'server=EXAMPLE\EXAMPLE1;database=MYDB_TEST;user id=sa' is invalid."
This message always clips off the password declaration at the end of the statement, though I don't know if that is significant. The password is still there when I review the whole string in the database connection area of the Settings window.
Any ideas on where to troubleshoot this next?
Thanks, Bill