Click here to Skip to main content
15,901,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Comments
ZurdoDev 29-Oct-12 15:26pm    
Copy the file, deploy to IIS, copy the database. Pretty simple.

1 solution

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.
 
Share this answer
 
v2
Comments
naveedahmed43 29-Oct-12 15:37pm    
Thanks for your Reply. If you dont mind can you please tell me how to Copy all the IIS settings associated with the application pool and web application for service application.
Thanks again.
Nelek 29-Oct-12 16:16pm    
Good guide. +5
fjdiewornncalwe 29-Oct-12 16:18pm    
Thanks, Nelek.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900