Simple steps in deploying a simple ASP.NET

Last post 05-09-2008 3:34 AM by _Azrael_. 4 replies.

Sort Posts:

  • Simple steps in deploying a simple ASP.NET

    05-08-2008, 4:25 AM
    • Loading...
    • _Azrael_
    • Joined on 04-02-2008, 3:58 AM
    • Posts 32

    Hi,

     I have been looking for steps in deploying asp.net applications but nothing seem to work for me. Can anyone provide me and the other noobs simple steps in deploying simple web applications.I have a simple Application with a button and when clicked, changes the text of a label. That is all. So here are the steps i took to deploy.

     
    1.) made sure ASP.NET version in IIS is 2.0****
    2.) Added a new web setup project.
    3.) Added Primary Output.
    4.) Added Content Files.
    5.) Build.
    6.) Installed the MSI file.
    7.) Access the file through http://localhost/applicationDirectory/ApplicationName.aspx

    But all i get is this error:

    XML Parsing Error: no element found
    Location: http://192.168.1.203/WebDeploymentExample/Default.aspx
    Line Number 1, Column 1:


    Any help would be greatly appreciated. Thank you in advance.

     

    Thanks and Regards,



     

  • Re: Simple steps in deploying a simple ASP.NET

    05-08-2008, 6:57 AM
    Answer
    • Loading...
    • satalaj
    • Joined on 11-28-2007, 12:41 AM
    • Pune
    • Posts 503

    Follow below Simple steps

    1. Right click on Solution explorer
    2. Build web Project
    3. Publish Web Site
    4. It will ask for target location
    5. click to Browse
    6. In left pen click on Local IIS
    7. Collapse Default Web Site (Select Default web sites)
    8 Top Right corner of that window  Click on create new virtual directory
    9. Give alias
    10 Folder Name
    11 Browse Create New folder
    12 Click ok
    13 select newly created virtual directory
    14 Click ok

    Start=>Run=>Inetmgr
    run your website

    Same thing you can do for publishibg it it on FTP or remote web. select FTP / Remote instead of Local IIS.

    Also you can try Copy web site option provided

    Satalaj

  • Re: Simple steps in deploying a simple ASP.NET

    05-09-2008, 12:27 AM
    • Loading...
    • _Azrael_
    • Joined on 04-02-2008, 3:58 AM
    • Posts 32

     Hi Satalaj,

     Thanks so much for your reply. I followed your simple step but I got confused after number 14. When i finished the 14 steps, I did the Start--> Run--> Inetmgr and the IIS windows pops up, i chose my Application and Chose my default webpage which was default.aspx and right clicked then browse. Then IE opened my default.aspx but I got this message

    "Internet Explorer cannot display the webpage"

     Any idea what could be the problem? Thank you again in advance.

     

    Thanks and regards,
     

     

  • Re: Simple steps in deploying a simple ASP.NET

    05-09-2008, 12:44 AM
    Answer
    • Loading...
    • satalaj
    • Joined on 11-28-2007, 12:41 AM
    • Pune
    • Posts 503

    I think you forget to start IIS.
    1. open IIS
    2. Select Default websites. Click on start (Play button |>)
    3. Browse your page.

    Satalaj

  • Re: Simple steps in deploying a simple ASP.NET

    05-09-2008, 3:34 AM
    • Loading...
    • _Azrael_
    • Joined on 04-02-2008, 3:58 AM
    • Posts 32

     Hi Satalaj,

     Worked like Charm. Thank you so much for your help, I really appreciate. it. Thanks for your time. ;)

     

    Thanks and Regards,
     

Page 1 of 1 (5 items)