迁移Asmx Web服务 [英] Migrating an Asmx Web Service

查看:74
本文介绍了迁移Asmx Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能为我提供将asmx Web服务与sql服务器数据库一起从一台服务器迁移到另一台服务器的分步过程吗?

非常感谢您的帮助.
在此先谢谢您.

Can you pleas provide me step by step procedure for migrating an asmx web service from one server to another along with the sql server database.

really appreciate your help.
Thanks in advance.

推荐答案

我想您的问题对于问答方面的一个很好的答案很含糊,但是我会尝试一下. br/>
1)将与应用程序池和Web应用程序关联的所有IIS设置复制为服务应用程序.
2)制作有问题的sql服务器数据库的备份副本.
3)确保新服务器上安装了正确版本的IIS和SQL Server.
4)使用在步骤1中复制的设置,为新服务器上的应用程序创建Web应用程序和应用程序池.
5)将数据库还原到新服务器上安装的sql server数据库中.
6)在Web应用程序中更新您的连接字符串,以便它可以与复制的数据库连接.
7)你应该很好.

从IIS进行传输的一种方法可能是使用: WebDeploy工具 [
I think your question is much to vague for a really good answer in Q&A, but I''ll give it a try.

1) Copy all the IIS settings associated with the application pool and web application for your service application.
2) Make a backup copy of the sql server database in question.
3) Make sure the correct version of IIS and SQL Server are installed on the new server.
4) Create a web application and app pool for the application on the new server using the settings copied in step 1.
5) Restore the database to the sql server database installed on the new server.
6) Update your connection string in the web application so that it can connect with the copied database.
7) You should be good to go.

One way to do the transfer from IIS may be to use: WebDeploy tool[^]. I haven''t used it myself, but is has been suggested in other forums, etc.


这篇关于迁移Asmx Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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