简单部署问:如何从2层部署到3层远程Web/SQL主机 [英] Simple Deployment Q: How to deploy to 3-tier remote web/sql host from 2-tier

查看:101
本文介绍了简单部署问:如何从2层部署到3层远程Web/SQL主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我一直在开发具有本地运行数据库的LS Web应用程序.现在,我想将其部署到外部Web主机(Winhost).根据我的阅读,发布向导将无法为我创建数据库.

I've been developing a LS web app with the database running locally. I now want to deploy it to an external web host (Winhost). From what I read, the pubishing wizard will not be able to create a database for me.

如何将表从本地数据库转移到外部数据库(我现在已将其附加到LS中)?还是我应该采取另一种方式?

How can I transfer the tables from my local database to the external database (that I've now attached in LS)? Or is there another way I should do this?

我一直在遵循此指南:

I've been following this guide: http://www.shownthelight.com/index.php?option=com_content&view=article&id=59:publishing-a-silverlight-business-app-to-winhost&catid=42

推荐答案

尝试以下操作:

try the following:

首先将您的项目发布为本地项目,并使用与Web应用程序相同的路径.

first publish your project as local project and use the same paths as in the web app.

然后运行一次.

现在本地应用程序应该为您创建数据库,以便您可以使用创建的数据库来运行Web应用程序.

now the local app should create the database for you, so that you can run the web app using the created databases.

(我会使用像sql这样的extern数据库,我知道它将在此技巧下起作用)

(i would use an extern database like sql, i know that it will works then with this trick)

一旦创建了表,就不再需要loca应用程序了,您只需使用它一次即可在服务器上创建表.

once the tables are created you don't need the loca app anymore, you jsut use it one time for creating the tables on your server.

 

如果这不起作用,请搜索一些可以复制数据库的程序.

if this doesn'T work search for some programms that can copy databases.

我希望它对您有帮助


这篇关于简单部署问:如何从2层部署到3层远程Web/SQL主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆