how to deploy a web site built in visual studio 2005??

Last post 07-01-2009 3:14 AM by Thomas Sun – MSFT. 9 replies.

Sort Posts:

  • how to deploy a web site built in visual studio 2005??

    06-26-2009, 5:29 AM
    • Member
      point Member
    • somney
    • Member since 06-26-2009, 9:15 AM
    • Posts 8

    hi everybody.........

    i have developed a website in visual studio 2005 on my laptop with windows vista basic as OS.i have used sql server 2005 to create database. now how can i get this web site to be deployed on any other computer in a way that i dont want my laptop to be needed for any purpose like as a server or anything.

    i tried to create web setup and deplyoment projects. when i installed using that setup all that i get on internet exlplorer is code behind of default.aspx page. i get no controls, no login, no web page.

    please help me its very urgent. i am new at asp and i have made this web site but now getting it deployed is really giving me hard times.

  • Re: how to deploy a web site built in visual studio 2005??

    06-26-2009, 6:02 AM
    Answer
    • Member
      315 point Member
    • sureshmdb
    • Member since 05-27-2008, 12:18 PM
    • Baleru
    • Posts 61

    Hi,

         Open your application in .net environment(2005),Go to Build menu(ALT+B),Buil the web site for build the application,and then in same menu Publish web site for publish.It show one window which having path for published folder.This published application folder upload to the server.

     

     

    Suresh Mediboyina



    Mark as answer if my response is useful to you.
  • Re: how to deploy a web site built in visual studio 2005??

    06-26-2009, 6:03 AM
    Answer
    • Participant
      1,393 point Participant
    • jagjot
    • Member since 10-19-2006, 9:02 AM
    • United Kingdom
    • Posts 720

    if you done all the installations and setting of  .net framework correctly.

    you only need to enable your website to use .net. or register Aspnet_regiis.exe using command prompt.

    check this link

    http://msdn.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx

    Jagjot Singh
    MCP, CCNA
  • Re: how to deploy a web site built in visual studio 2005??

    06-26-2009, 8:46 AM
    Answer
    • Member
      113 point Member
    • EJM
    • Member since 02-22-2007, 6:37 PM
    • Black Forest, CO
    • Posts 247

    Here is a good article on how to run a deployment project. It is one of the options. http://www.dotnetforce.com/content.aspx?t=a&n=214

    You can also just copy the files, this option will copy all the files, but if security of your source code is crucial try the first option.

     

    As far as SQL concern, you'll have to do that in a separate step. First shrink the database (optional) then back it up and move the backup to the target sql serer and restore it.

    I don't know your expertise level, but would assume that you are familiar with all these techniques.

    There is another article at http://msdn.microsoft.com/en-us/library/6hbb4k3e.aspx

    Good luck!

     

    EJM

    Software engineering is a team sport.
  • Re: how to deploy a web site built in visual studio 2005??

    06-26-2009, 9:11 AM
    Answer
  • Re: how to deploy a web site built in visual studio 2005??

    06-26-2009, 12:10 PM
    • Member
      point Member
    • somney
    • Member since 06-26-2009, 9:15 AM
    • Posts 8

    thanxx a lot guys for replying n helping me out..

    i will try your suggestions and get back to you all.

  • Re: how to deploy a web site built in visual studio 2005??

    06-27-2009, 2:54 AM
    • Member
      point Member
    • somney
    • Member since 06-26-2009, 9:15 AM
    • Posts 8

    i am getting the error as posted below.

    the name of project that i created is audit_website.

    the name of set up that i made of my project is audit_websetup.


    HTTP Error 500.23 - Internal Server Error


    An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

    Detailed Error Information
    Module ConfigurationValidationModule
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x80070032
    Requested URL http://localhost:80/audit_websetup
    Physical Path C:\inetpub\wwwroot\audit_WebSetup
    Logon Method Not yet determined
    Logon User Not yet determined


  • Re: how to deploy a web site built in visual studio 2005??

    06-27-2009, 4:52 AM
    • Member
      point Member
    • somney
    • Member since 06-26-2009, 9:15 AM
    • Posts 8

    thanxxxx a lot for your help.

    well i have sorted most of it.

    just wanted to know how could i take my sql server databse to the new machine.

    where r these database files found???

  • Re: how to deploy a web site built in visual studio 2005??

    06-29-2009, 4:34 AM
    • Participant
      1,393 point Participant
    • jagjot
    • Member since 10-19-2006, 9:02 AM
    • United Kingdom
    • Posts 720

    Well, if i am not wrong you want to move your database to another machine? Then you must reinstall on the other machine and if you machine is one the network, you can use IP (login/password) address to access your sql server.

    Hope its clear.

    Jagjot Singh
    MCP, CCNA
  • Re: how to deploy a web site built in visual studio 2005??

    07-01-2009, 3:14 AM
    Answer

    Hi,


    Since you are using SQL Server 2005, you can upload your database file to server and attach it to host server's SQL Server, and then change your ASP.NET application connection string.

    You can also use Database Publishing Wizard to create .SQL Installation Scripts for your Database and then use this .SQL files to create your remote databases on the SQL Server. Besides, you need to change the connection string in the Web.config. For more information about connection string, see http://www.connectionstrings.com

    For more information, see (Deploying a SQL Database to a Remote Hosting Environment) http://weblogs.asp.net/scottgu/archive/2006/12/22/recipe-deploying-a-sql-database-to-a-remote-hosting-environment-part-1.aspx

    If you want to use Web Setup project to install website, you can create custom action to create new Database while installing. To do so, you need to create a text file that contains a SQL statement to create a database and need to know the connection string used to connect server and the user should have proper permission on server, and then you can execute SQL statement to create database in custom action.

    For more information, see http://msdn.microsoft.com/en-us/library/49b92ztk.aspx

    I look forward to receiving your test results.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
Page 1 of 1 (10 items)