Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

"Publishing - Failed" error with WebDeploy in WebMatrix 2.0

$
0
0

 

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:

  1. I create an Empty Site to download my existing app from the server.
  2. I click on the Remote tab, open Settings, and enter all my publishing settings using WebDeploy.  These validate successfully.
  3. 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.
  4. 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.
  5. In the freshly downloaded local files I make a small change to test publishing to the server.
  6. I click Publish and WebDeploy successfully compares all the files and produces a list of files to upload.
  7. 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


Viewing all articles
Browse latest Browse all 663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>