locked
How to use Web Deployment Project in ASP.Net? RRS feed

  • Question

  • User-651208615 posted

    Hello Community

        I have an ASP.Net web application on my computer.

        I also have IIS 7 installed on my computer.

        Right now the ASP.Net web application runs perfectly in VS 2008.

        I would like to setup this ASP.Net web application to run from
    IIS 7 via creating a url for the ASP.Net application and then being able to
    type the url into the address bar in Internet Explorer causing the ASP.Net
    web application page appear on the screen.

        Using Web Deployment Project what are the steps that I need to take
    to run the existing ASP.Net  web application in IIS 7,  if I need a port number
    where would I get it from?

        Thank you
        Shabeaut

    Tuesday, April 10, 2012 4:41 PM

Answers

  • User-2001332922 posted

    Duplicacy of section is the error it indicates which tracks to some problem with web.config file if it exists. i just want to guide you to proceed with debugging techniques of commenting the statements (temporariliy) and to find the loc in code which could be of issue. repro and give the correct needs dev tool the fallsback of mine :(

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, April 13, 2012 11:08 PM

All replies

  • Wednesday, April 11, 2012 2:10 AM
  • User-2001332922 posted

    Hello shabeaut,

    Wouldn't it be easier to publish the asp.net application from your VS 2008 tool itself. The button should be at solution explorer.

    give your verfication opinion.

    Wednesday, April 11, 2012 2:15 AM
  • User-651208615 posted

    Hello aspnet2sams

        I have been trying to publish from asp.net application VS 2008, that is the problem, I
    haven't been able to get it to succeed.

        Do you know the steps?

        Thank you
        Shabeaut

    Wednesday, April 11, 2012 3:35 PM
  • User-2001332922 posted

    I
    haven't been able to get it to succeed.

    so, it's throwing some error? pleased to be provided  the error

    Wednesday, April 11, 2012 11:08 PM
  • User-101068015 posted

    Hi

    You can refer to MSDN:

    Using Web Deployment Projects with Visual Studio 2005

    I think it still work for 2008.

    And if you have some error, please paste the error message here for us trouble shooting.

    Thanks

    Thursday, April 12, 2012 3:31 AM
  • User-651208615 posted

    Hello Dino He

        The application I have is gies thru "Web Development Project" but
    how do I make it visible thru the address bar using a url, what is the syntax
    to type in the address bar?

        Thank you
        Shabeaut

    Thursday, April 12, 2012 1:43 PM
  • User-2001332922 posted

    what is the syntax to type in the address bar?

    http://<computername>/<projectname>/ replace correctly.

    pl let forum

    Friday, April 13, 2012 12:33 AM
  • User-651208615 posted

    Hello aspnet2sams

        When I type the syntax the error is 500.19, the error message is:

    Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined

        This ASP.Net appl ran under IIS 6 but under IIS 7 it gives this error which is why I don't understand
    what the problem is.  What do you think?

        Thank you
        Shabeaut

    Friday, April 13, 2012 3:20 PM
  • User-2001332922 posted

    Duplicacy of section is the error it indicates which tracks to some problem with web.config file if it exists. i just want to guide you to proceed with debugging techniques of commenting the statements (temporariliy) and to find the loc in code which could be of issue. repro and give the correct needs dev tool the fallsback of mine :(

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, April 13, 2012 11:08 PM