can i host a project in

Posted by Barcelona under ASP.NET on 6/23/2015 | Points: 10 | Views : 421 | Status : [Member] | Replies : 2
I have developed a web application project in visual studio 2012 using c# and i have a SqlServer 2008 R2 database for this project. How can i upload the project with database to and what changes i have to make?


Posted by: Rojalin on: 10/13/2015 [Member] Starter | Points: 25

If you have the authorization like if you have FTP user name and Password then you can publish you website:
Open your project in Visual studio 2012 => right click upon solution under solution explorer =>Select Publish then publish window will open there in Connection section you can select Publish method as FTP, Put your information and check the connection (you can also publish your database from here) then publish. If you find to publish Database then you can create one database in profile and restore your local backup file there.

Mandatory to change the Connection String in Web.config file to have database access,

Barcelona, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajnilari2015 on: 10/14/2015 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 25

The easiest way is to publish the files (using the Publish Wizard ) and copy them to the server under WWWWeb.

For the database part, take a backup of your database (in your local) and restore them in your server .

N.B.~ Since we are doing in that way , henceforth I have mentioned the same. There are other ways though.

Hope this helps.
Let me know in case of any concern.

Thanks & Regards,
RNA Team

Barcelona, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response