こちらの記事:: http: //www.microsoft.com/web/post/how-to-publish-a-web-application-using-webmatrix
FTP経由で公開するには、「宛先データベースの接続文字列を入力する」必要があると述べ、例を示します。現在のweb.config文字列を置き換える必要があるのか、それとも追加するのかはわかりません。また、宛先データベースとしてマークする必要があるかどうかもわかりません。
これが私がこれまでに持っているものです。ウェブサイトにアクセスすると、「建設中」と表示されます。その状態から抜け出す方法を知っておくと、ログエラーをオンにするのに役立ちます。
<!-- this is the local connection -->
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" />
<!-- this is the destination db -->
<add name="myConnectionStrings" connectionString="Server=205.xxx.xxx.xxx;Database=mydbname;uid=mydbusername;pwd=mydbpasswd;" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<!-- Connection String for SQL Server 2005/2008 Express - kept for backwards compatability - legacy modules -->
<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" />
.
.
.
</appSettings>