Trouble starting web site

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?ZGFmb3JnYQ==?=

    #1

    Trouble starting web site

    Hello,
    I am trying to build a simple web site using VS 2008. I do the following:
    1. Files New Website, Name the site
    2. Put any text within the div tag
    3. Run
    I get the error:
    Unable to start debugging on the web server. The web server is not
    configured correctly. See Help for Common Configuration Errors. Running the
    web page outside the debugger may provide further information.

    All information points to my running aspnet_regiis -ga David (my user name
    is David )
    This does not work
    Can anyone help with this?
    Thanks
    David

  • Juan T. Llibre

    #2
    Re: Trouble starting web site

    re:
    !I am trying to build a simple web site using VS 2008

    Are you using file system or HTTP ?

    re:
    !All information points to my running aspnet_regiis -ga David (my user name is David )
    !This does not work

    It won't unless you use :

    aspnet_regiis -ga YourMachineName \David

    What happens if you try to create a web project (File, New Project), instead of a new website ?
    Can you try that...and post back what happens ?

    re:
    !The web server is not configured correctly

    Which operating system are you using ?




    Juan T. Llibre, asp.net MVP
    asp.net faq : http://asp.net.do/faq/
    foros de asp.net, en español : http://asp.net.do/foros/
    =============== =============== ========
    "daforga" <daforga@discus sions.microsoft .comwrote in message
    news:3DA9BF5D-ADCE-4CE4-A895-CB14A2419ECD@mi crosoft.com...
    Hello,
    I am trying to build a simple web site using VS 2008. I do the following:
    1. Files New Website, Name the site
    2. Put any text within the div tag
    3. Run
    I get the error:
    Unable to start debugging on the web server. The web server is not
    configured correctly. See Help for Common Configuration Errors. Running the
    web page outside the debugger may provide further information.
    >
    All information points to my running aspnet_regiis -ga David (my user name
    is David )
    This does not work
    Can anyone help with this?
    Thanks
    David
    >

    Comment

    • =?Utf-8?B?ZGFmb3JnYQ==?=

      #3
      RE: Trouble starting web site

      Thanks Juan.
      I am going through a book and the example uses HTTP
      I retried the aspnet_regiis with the leading Machine Name\David -- to no
      avail.
      Creating a web application works. But the site does not show up in IIS,
      naturally.
      I am using XP Professional 5.1.2600

      Again, thanks


      "daforga" wrote:
      Hello,
      I am trying to build a simple web site using VS 2008. I do the following:
      1. Files New Website, Name the site
      2. Put any text within the div tag
      3. Run
      I get the error:
      Unable to start debugging on the web server. The web server is not
      configured correctly. See Help for Common Configuration Errors. Running the
      web page outside the debugger may provide further information.
      >
      All information points to my running aspnet_regiis -ga David (my user name
      is David )
      This does not work
      Can anyone help with this?
      Thanks
      David
      >

      Comment

      • Juan T. Llibre

        #4
        Re: Trouble starting web site

        re:
        !Thanks Juan.

        You're quite welcome, daforga.

        re:
        !I retried the aspnet_regiis with the leading Machine Name\David -- to no avail.

        It doesn't look like permissions was the problem.

        re:
        !Creating a web application works. But the site does not show up in IIS

        Here's what you can do :

        In the VS 2008 IDE, in the solution explorer,
        right click the web application's name and select "properties " from the context menu.

        Then, click "Web" in the leftmost menu and click "Use IIS Web Server".
        Make sure you click the "Create Virtual Directory" button.

        Close that dialog, right-click "default.as px" in the solution explorer
        and cjhoose "View in Browser" from the context menu.

        Your web application should start...using IIS, and should be configurable in the IIS Manager.

        re:
        !I am using XP Professional 5.1.2600

        These instructions should work fine with IIS 5.1.




        Juan T. Llibre, asp.net MVP
        asp.net faq : http://asp.net.do/faq/
        foros de asp.net, en español : http://asp.net.do/foros/
        =============== =============== ========
        "daforga" <daforga@discus sions.microsoft .comwrote in message
        news:AB194BB8-B647-4A40-8570-B3247FE33E3B@mi crosoft.com...
        Thanks Juan.
        I am going through a book and the example uses HTTP
        I retried the aspnet_regiis with the leading Machine Name\David -- to no
        avail.
        Creating a web application works. But the site does not show up in IIS,
        naturally.
        I am using XP Professional 5.1.2600
        >
        Again, thanks
        >
        >
        "daforga" wrote:
        >
        >Hello,
        >I am trying to build a simple web site using VS 2008. I do the following:
        >1. Files New Website, Name the site
        >2. Put any text within the div tag
        >3. Run
        >I get the error:
        >Unable to start debugging on the web server. The web server is not
        >configured correctly. See Help for Common Configuration Errors. Running the
        >web page outside the debugger may provide further information.
        >>
        >All information points to my running aspnet_regiis -ga David (my user name
        >is David )
        >This does not work
        >Can anyone help with this?
        >Thanks
        >David
        >>

        Comment

        Working...