Newbie IIS6/ASP.net problem

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Newbie IIS6/ASP.net problem

    Yesterday I installed Windows Server 2003 onto a computer for testing and
    development. I then chose the Application server role and loaded IIS 6
    making sure to enable ASP.NET while I was doing it. I then installed Visual
    Studio.NET 2003. Today I was loading some sample files from a C# book I got
    from Microsoft Press and got this error from the Windows Development
    Environment:

    "The Web server reported the following error when attempting to create or
    open the web project located at the following URL:
    'http://Localhost:/aspnetsbs_cs/Chapter_01/'.'HTTP/1.1 400 Bad Request'.

    When I loaded the same sample files on my Win2k Pro machine it came off
    without a hitch. I have scoured Microsoft Technet but I seem to be unable to
    find anything to explain this. So far I have not been able to get any
    classic ASP or ASP.NET pages to run.

    If anyone can give me some pointers I would really appreciate it. I imagine,
    as usual, that the answer is quite simple. Obviously I am very inexperienced
    with IIS and .NET. I usually do MSAccess programming.




    Michael Kelty Guest

  2. Similar Questions and Discussions

    1. WSCONFIG Problem - MX6.1 on Windows 2003/IIS6
      I'm having a problem with connecting a ColdFusion server instance to my IIS webserver using the wsconfig GUI. A few months ago I successfully...
    2. Problem with Coldfusion 7.0.1, IIS6.0 and Perl
      Hi, I have somewhat of a wierd problem that I am unable to figure out. We are running a coldfusion 7.0.1 application server We are also using...
    3. CF7 / IIS6 / Win 2003 Server Install Problem
      Hi, any help would be very much appreciated as MACROMEDIA have provided no useful help. One would think they would have a decent level of...
    4. ASP.Net Session State Problem with IIS6
      We recently installed our web application on Windows 2003 and found that our ASPX pages are not coming up correctly. We are using...
    5. newbie php problem
      I am going crazy trying to find out whats wrong with the below. It shows all the right information but not in the right order. What I want is for...
  3. #2

    Default Re: Newbie IIS6/ASP.net problem

    If nothing runs, open the IIS Administration Console on the Server. Expand
    the local computer node, and click on Web Service Extensions. In the right
    pane, make sure Active Server Pages and ASP.NET are set to "Allow". Windows
    Server 2003, as part of the new security initiative, now disables many
    things by default.

    --
    James J. Foster, DotNetCoders
    [url]http://www.dotnetcoders.com[/url]


    "Michael Kelty" <mkelty@hotmail.com> wrote in message
    news:befe00$bnv$1@news1.radix.net...
    > Yesterday I installed Windows Server 2003 onto a computer for testing and
    > development. I then chose the Application server role and loaded IIS 6
    > making sure to enable ASP.NET while I was doing it. I then installed
    Visual
    > Studio.NET 2003. Today I was loading some sample files from a C# book I
    got
    > from Microsoft Press and got this error from the Windows Development
    > Environment:
    >
    > "The Web server reported the following error when attempting to create or
    > open the web project located at the following URL:
    > 'http://Localhost:/aspnetsbs_cs/Chapter_01/'.'HTTP/1.1 400 Bad Request'.
    >
    > When I loaded the same sample files on my Win2k Pro machine it came off
    > without a hitch. I have scoured Microsoft Technet but I seem to be unable
    to
    > find anything to explain this. So far I have not been able to get any
    > classic ASP or ASP.NET pages to run.
    >
    > If anyone can give me some pointers I would really appreciate it. I
    imagine,
    > as usual, that the answer is quite simple. Obviously I am very
    inexperienced
    > with IIS and .NET. I usually do MSAccess programming.
    >
    >
    >
    >

    James J. Foster Guest

  4. #3

    Default Re: Newbie IIS6/ASP.net problem


    "James J. Foster" <james@dotnetcoders.com> wrote in message
    news:%23CeQHSbRDHA.2224@TK2MSFTNGP12.phx.gbl...
    > If nothing runs, open the IIS Administration Console on the Server. Expand
    > the local computer node, and click on Web Service Extensions. In the right
    > pane, make sure Active Server Pages and ASP.NET are set to "Allow".
    Windows
    > Server 2003, as part of the new security initiative, now disables many
    > things by default.
    >
    > --
    > James J. Foster, DotNetCoders
    > [url]http://www.dotnetcoders.com[/url]
    Thanks but the Server console is set to "Allow" for both Active Server Pages
    and ASP.NET. I'm still at a standstill without a clue.

    Perhaps bagging the idea of using Win2k3 and IIS 6 altogether and going with
    Windows 2000 server would be better, no? The site I am eventually going to
    set up will be in an intranet setting so security shouldn't be too much of a
    problem (famous last words).

    > "Michael Kelty" <mkelty@hotmail.com> wrote in message
    > news:befe00$bnv$1@news1.radix.net...
    > > Yesterday I installed Windows Server 2003 onto a computer for testing
    and
    > > development. I then chose the Application server role and loaded IIS 6
    > > making sure to enable ASP.NET while I was doing it. I then installed
    > Visual
    > > Studio.NET 2003. Today I was loading some sample files from a C# book I
    > got
    > > from Microsoft Press and got this error from the Windows Development
    > > Environment:
    > >
    > > "The Web server reported the following error when attempting to create
    or
    > > open the web project located at the following URL:
    > > 'http://Localhost:/aspnetsbs_cs/Chapter_01/'.'HTTP/1.1 400 Bad Request'.
    > >
    > > When I loaded the same sample files on my Win2k Pro machine it came off
    > > without a hitch. I have scoured Microsoft Technet but I seem to be
    unable
    > to
    > > find anything to explain this. So far I have not been able to get any
    > > classic ASP or ASP.NET pages to run.
    > >
    > > If anyone can give me some pointers I would really appreciate it. I
    > imagine,
    > > as usual, that the answer is quite simple. Obviously I am very
    > inexperienced
    > > with IIS and .NET. I usually do MSAccess programming.
    > >
    > >
    > >
    > >
    >
    >

    Michael Kelty Guest

  5. #4

    Default Re: Newbie IIS6/ASP.net problem

    Hi Michael,

    Please go to IIS configuration->Default web site->Properties->select "web
    site" tab. There is a IP address setting. Did you set it to an IP address?
    If so, please change it back to (all unassigned).

    If this setting is set as an IP address, then localhost(127.0.0.1) can't be
    resolved by IIS and so you couldn't visit any site in [url]http://localhost[/url].

    Please post here if the problem is not resolved. Thanks.

    Best regards,
    yhhuang
    VS.NET, Visual C++
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Got .Net? [url]http://www.gotdotnet.com[/url]
    --------------------
    !From: "Michael Kelty" <mkelty@hotmail.com>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !Subject: Re: Newbie IIS6/ASP.net problem
    !Date: Wed, 9 Jul 2003 10:32:18 -0400
    !Organization: RadixNet Internet Services
    !Lines: 60
    !Message-ID: <beh91k$4i$1@news1.radix.net>
    !References: <befe00$bnv$1@news1.radix.net>
    <#CeQHSbRDHA.2224@TK2MSFTNGP12.phx.gbl>
    !NNTP-Posting-Host: ip5.ci.alexandria.va.us
    !X-Priority: 3
    !X-MSMail-Priority: Normal
    !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    !Path:
    cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
    e.de!npeer.de.kpn-eurorings.net!news-out.nuthinbutnews.com!propagator2-sterl
    ing!news-in-sterling.newsfeed.com!tdsnet-transit!newspeer.tds.net!newspeer.r
    adix.net!news1.radix.net!not-for-mail
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:158011
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !
    !"James J. Foster" <james@dotnetcoders.com> wrote in message
    !news:%23CeQHSbRDHA.2224@TK2MSFTNGP12.phx.gbl...
    !> If nothing runs, open the IIS Administration Console on the Server.
    Expand
    !> the local computer node, and click on Web Service Extensions. In the
    right
    !> pane, make sure Active Server Pages and ASP.NET are set to "Allow".
    !Windows
    !> Server 2003, as part of the new security initiative, now disables many
    !> things by default.
    !>
    !> --
    !> James J. Foster, DotNetCoders
    !> [url]http://www.dotnetcoders.com[/url]
    !
    !Thanks but the Server console is set to "Allow" for both Active Server
    Pages
    !and ASP.NET. I'm still at a standstill without a clue.
    !
    !Perhaps bagging the idea of using Win2k3 and IIS 6 altogether and going
    with
    !Windows 2000 server would be better, no? The site I am eventually going to
    !set up will be in an intranet setting so security shouldn't be too much of
    a
    !problem (famous last words).
    !
    !
    !> "Michael Kelty" <mkelty@hotmail.com> wrote in message
    !> news:befe00$bnv$1@news1.radix.net...
    !> > Yesterday I installed Windows Server 2003 onto a computer for testing
    !and
    !> > development. I then chose the Application server role and loaded IIS 6
    !> > making sure to enable ASP.NET while I was doing it. I then installed
    !> Visual
    !> > Studio.NET 2003. Today I was loading some sample files from a C# book I
    !> got
    !> > from Microsoft Press and got this error from the Windows Development
    !> > Environment:
    !> >
    !> > "The Web server reported the following error when attempting to create
    !or
    !> > open the web project located at the following URL:
    !> > 'http://Localhost:/aspnetsbs_cs/Chapter_01/'.'HTTP/1.1 400 Bad
    Request'.
    !> >
    !> > When I loaded the same sample files on my Win2k Pro machine it came off
    !> > without a hitch. I have scoured Microsoft Technet but I seem to be
    !unable
    !> to
    !> > find anything to explain this. So far I have not been able to get any
    !> > classic ASP or ASP.NET pages to run.
    !> >
    !> > If anyone can give me some pointers I would really appreciate it. I
    !> imagine,
    !> > as usual, that the answer is quite simple. Obviously I am very
    !> inexperienced
    !> > with IIS and .NET. I usually do MSAccess programming.
    !> >
    !> >
    !> >
    !> >
    !>
    !>
    !
    !
    !

    Yan-Hong Huang[MSFT] Guest

  6. #5

    Default Re: Newbie IIS6/ASP.net problem


    "Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
    news:oWiukoqRDHA.2192@cpmsftngxa06.phx.gbl...
    > Hi Michael,
    >
    > Please go to IIS configuration->Default web site->Properties->select "web
    > site" tab. There is a IP address setting. Did you set it to an IP address?
    > If so, please change it back to (all unassigned).
    >
    > If this setting is set as an IP address, then localhost(127.0.0.1) can't
    be
    > resolved by IIS and so you couldn't visit any site in [url]http://localhost[/url].
    >
    > Please post here if the problem is not resolved. Thanks.
    >
    > Best regards,
    > yhhuang
    > VS.NET, Visual C++
    > Microsoft
    I did as you said and now the error I get is the same except instead of
    saying 'Bad Request' it says 'Service Unavailable'. During the course of
    trying to get the webserver up and running, I got an error page in IE with
    those words on it on several occasions but all the indications that I could
    see led me to believe that the website was running.

    Sorry to truncate but the thread was getting quite long.
    Continuing thanks.


    Michael Kelty Guest

  7. #6

    Default Re: Newbie IIS6/ASP.net problem

    Hi Michael,

    Could you creaet a new asp.net web application from application wizard successfully? If not, I think you need to reinstall
    asp.net in the system. Please refer to [url]http://support.microsoft.com/?id=306005[/url] for detailed steps. Thanks.

    Best regards,
    yhhuang
    VS.NET, Visual C++
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Got .Net? [url]http://www.gotdotnet.com[/url]
    --------------------
    !From: "Michael Kelty" <mkelty@hotmail.com>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !Subject: Re: Newbie IIS6/ASP.net problem
    !Date: Thu, 10 Jul 2003 14:17:01 -0400
    !Organization: RadixNet Internet Services
    !Lines: 30
    !Message-ID: <bekaiu$k5r$1@news1.radix.net>
    !References: <befe00$bnv$1@news1.radix.net> <#CeQHSbRDHA.2224@TK2MSFTNGP12.phx.gbl> <beh91k$4i$1
    @news1.radix.net> <oWiukoqRDHA.2192@cpmsftngxa06.phx.gbl>
    !NNTP-Posting-Host: ip5.ci.alexandria.va.us
    !X-Priority: 3
    !X-MSMail-Priority: Normal
    !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!
    news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!tdsnet-transit!newspeer.tds.net!
    newspeer.radix.net!news1.radix.net!not-for-mail
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:158373
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !
    !"Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
    !news:oWiukoqRDHA.2192@cpmsftngxa06.phx.gbl...
    !> Hi Michael,
    !>
    !> Please go to IIS configuration->Default web site->Properties->select "web
    !> site" tab. There is a IP address setting. Did you set it to an IP address?
    !> If so, please change it back to (all unassigned).
    !>
    !> If this setting is set as an IP address, then localhost(127.0.0.1) can't
    !be
    !> resolved by IIS and so you couldn't visit any site in [url]http://localhost[/url].
    !>
    !> Please post here if the problem is not resolved. Thanks.
    !>
    !> Best regards,
    !> yhhuang
    !> VS.NET, Visual C++
    !> Microsoft
    !
    !I did as you said and now the error I get is the same except instead of
    !saying 'Bad Request' it says 'Service Unavailable'. During the course of
    !trying to get the webserver up and running, I got an error page in IE with
    !those words on it on several occasions but all the indications that I could
    !see led me to believe that the website was running.
    !
    !Sorry to truncate but the thread was getting quite long.
    !Continuing thanks.
    !
    !
    !


    Yan-Hong Huang[MSFT] Guest

  8. #7

    Default Re: Newbie IIS6/ASP.net problem

    Excellent, thank you.
    "Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
    news:brtQ3afSDHA.1928@cpmsftngxa06.phx.gbl...
    > Hi Michael,
    >
    > Could you creaet a new asp.net web application from application wizard
    successfully? If not, I think you need to reinstall
    > asp.net in the system. Please refer to
    [url]http://support.microsoft.com/?id=306005[/url] for detailed steps. Thanks.
    >
    > Best regards,
    > yhhuang
    > VS.NET, Visual C++
    > Microsoft
    >
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    > Got .Net? [url]http://www.gotdotnet.com[/url]
    > --------------------
    > !From: "Michael Kelty" <mkelty@hotmail.com>
    > !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > !Subject: Re: Newbie IIS6/ASP.net problem
    > !Date: Thu, 10 Jul 2003 14:17:01 -0400
    > !Organization: RadixNet Internet Services
    > !Lines: 30
    > !Message-ID: <bekaiu$k5r$1@news1.radix.net>
    > !References: <befe00$bnv$1@news1.radix.net>
    <#CeQHSbRDHA.2224@TK2MSFTNGP12.phx.gbl> <beh91k$4i$1
    > @news1.radix.net> <oWiukoqRDHA.2192@cpmsftngxa06.phx.gbl>
    > !NNTP-Posting-Host: ip5.ci.alexandria.va.us
    > !X-Priority: 3
    > !X-MSMail-Priority: Normal
    > !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    > !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    > !Path:
    cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
    e.de!news-spur1.maxwell.syr.edu!
    >
    news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!tdsne
    t-transit!newspeer.tds.net!
    > newspeer.radix.net!news1.radix.net!not-for-mail
    > !Xref: cpmsftngxa06.phx.gbl
    microsoft.public.dotnet.framework.aspnet:158373
    > !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > !
    > !
    > !"Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
    > !news:oWiukoqRDHA.2192@cpmsftngxa06.phx.gbl...
    > !> Hi Michael,
    > !>
    > !> Please go to IIS configuration->Default web site->Properties->select
    "web
    > !> site" tab. There is a IP address setting. Did you set it to an IP
    address?
    > !> If so, please change it back to (all unassigned).
    > !>
    > !> If this setting is set as an IP address, then localhost(127.0.0.1)
    can't
    > !be
    > !> resolved by IIS and so you couldn't visit any site in [url]http://localhost[/url].
    > !>
    > !> Please post here if the problem is not resolved. Thanks.
    > !>
    > !> Best regards,
    > !> yhhuang
    > !> VS.NET, Visual C++
    > !> Microsoft
    > !
    > !I did as you said and now the error I get is the same except instead of
    > !saying 'Bad Request' it says 'Service Unavailable'. During the course of
    > !trying to get the webserver up and running, I got an error page in IE
    with
    > !those words on it on several occasions but all the indications that I
    could
    > !see led me to believe that the website was running.
    > !
    > !Sorry to truncate but the thread was getting quite long.
    > !Continuing thanks.
    > !
    > !
    > !
    >
    >

    Michael Kelty Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139