Error Creating ASP.Net Project

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • J

    #1

    Error Creating ASP.Net Project

    Hi,

    I have setup a test server with the following installed:

    1) Windoes Server 2003 - Latest SPs applied.
    2) Ms_SQL Server 2000 - Latest SPs applied
    3) Visual Studio 2003

    I have Admin privledges.

    Each time I open VS and attempt to create a ASP.Net
    project (even the default
    http://LocalHost/WebApplication1) I receive the following
    error:

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

    I have given ASPNet full admin rights but I can get no
    other results.

    Any help would be appreciated.

    Thanks,

    J
  • MS News

    #2
    Re: Error Creating ASP.Net Project

    Did you install FrontPage Server Extensions? It does not get installed by
    default.
    Also give full right to your
    Check, that you installed and enabled ASP.NET extension in WS2k3 (by
    default is dissabled and not installed

    On windows 2003, ASP.Net does not run under ASPNET user account. It uses
    "LocalServi ce" account. Unless you run in IIS5 compatible mode, ASPNET user
    is not recoganized at all.
    The issue here is ASP.Net not active on Windows2003 server by default.
    If you are runing on Enterprise server then you have more trouble. ASP.Net
    won't run without modifying machine.config file and setting "System" account
    in <processModel > node.

    "J" <j.bonnell@remi ngtonadmin.edu> wrote in message
    news:0cde01c35b 6d$8f7be450$a50 1280a@phx.gbl.. .[color=blue]
    > Hi,
    >
    > I have setup a test server with the following installed:
    >
    > 1) Windoes Server 2003 - Latest SPs applied.
    > 2) Ms_SQL Server 2000 - Latest SPs applied
    > 3) Visual Studio 2003
    >
    > I have Admin privledges.
    >
    > Each time I open VS and attempt to create a ASP.Net
    > project (even the default
    > http://LocalHost/WebApplication1) I receive the following
    > error:
    >
    > "The web server reported the following error when
    > attempting to create or open the Web project located at
    > the following
    > URL: 'http://localhost/WebApplication1 '. 'HTTP/1.1 400
    > Bad REquest'. "
    >
    > I have given ASPNet full admin rights but I can get no
    > other results.
    >
    > Any help would be appreciated.
    >
    > Thanks,
    >
    > J[/color]


    Comment

    • Carl Prothman [MVP]

      #3
      Re: Error Creating ASP.Net Project

      "J" <j.bonnell@remi ngtonadmin.edu> wrote in message news:99a501c35c 17$a64f8ba0$a00 1280a@phx.gbl.. .[color=blue]
      > I am a developer with a Universal Subscription. I
      > installed WS2003 Enterprise on a test machine to use as a
      > SQL Server as well as a simple Web server. I am not a
      > network engineer but a software engineer. I could really
      > use some specific instructions as to how to configure
      > WS2003 Ent. for this use (ASP.Net).
      > Any suggestions as to where to find a good white paper or
      > something?
      >[/color]

      J,
      Check out the following MS on-line documentation:

      Deploying ASP.NET Applications in IIS 6.0
      http://www.microsoft.com/technet/pro...0_overview.asp

      --

      Thanks,
      Carl Prothman
      Microsoft ASP.NET MVP





      Comment

      • Yan-Hong Huang[MSFT]

        #4
        Re: Error Creating ASP.Net Project

        Hello J,

        Running aspnet_regiss.e xe -i means remapping asp.net in IIS mapping. It generally happens when you install IIS after
        installing asp.net or vs.net. In Windows 2003 server, you could also run this exe to see if it could resolve the problem.
        Anyway, running it is quickly. :)

        For materials, MSDN provides much info: http://msdn.microsoft.com/library/en-
        us/cpguide/html/cpconiis60appli cationisolation modes.asp?frame =true.

        Thanks.

        Best regards,
        Yanhong Huang
        Microsoft Online Partner Support

        Get Secure! - www.microsoft.com/security
        This posting is provided "AS IS" with no warranties, and confers no rights.

        --------------------
        !Content-Class: urn:content-classes:message
        !From: "J" <j.bonnell@remi ngtonadmin.edu>
        !Sender: "J" <j.bonnell@remi ngtonadmin.edu>
        !References: <0cde01c35b6d$8 f7be450$a501280 a@phx.gbl> <OOtWru3WDHA.12 04@TK2MSFTNGP12 .phx.gbl>
        !Subject: Re: Error Creating ASP.Net Project
        !Date: Wed, 6 Aug 2003 05:38:34 -0700
        !Lines: 78
        !Message-ID: <99a501c35c17$a 64f8ba0$a001280 a@phx.gbl>
        !MIME-Version: 1.0
        !Content-Type: text/plain;
        ! charset="iso-8859-1"
        !Content-Transfer-Encoding: 7bit
        !X-Newsreader: Microsoft CDO for Windows 2000
        !X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
        !Thread-Index: AcNcF6ZNNNh7gRL vSY2PeUjDB1l3pQ ==
        !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
        !Path: cpmsftngxa06.ph x.gbl
        !Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1653 27
        !NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
        !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
        !
        !Thanks for you reply. I had issues with the WS2003 server
        !and my development PC. I solved the PC issue by following
        !the suggestion of another newsgroup member
        !(aspnet_regiis .exe -i).
        !
        !I am a developer with a Universal Subscription. I
        !installed WS2003 Enterprise on a test machine to use as a
        !SQL Server as well as a simple Web server. I am not a
        !network engineer but a software engineer. I could really
        !use some specific instructions as to how to configure
        !WS2003 Ent. for this use (ASP.Net).
        !
        !Any suggestions as to where to find a good white paper or
        !something?
        !
        !Thanks,
        !
        !J
        !
        !>-----Original Message-----
        !>Did you install FrontPage Server Extensions? It does not
        !get installed by
        !>default.
        !>Also give full right to your
        !>Check, that you installed and enabled ASP.NET extension
        !in WS2k3 (by
        !>default is dissabled and not installed
        !>
        !>On windows 2003, ASP.Net does not run under ASPNET user
        !account. It uses
        !>"LocalService " account. Unless you run in IIS5
        !compatible mode, ASPNET user
        !>is not recoganized at all.
        !>The issue here is ASP.Net not active on Windows2003
        !server by default.
        !>If you are runing on Enterprise server then you have
        !more trouble. ASP.Net
        !>won't run without modifying machine.config file and
        !setting "System" account
        !>in <processModel > node.
        !>
        !>"J" <j.bonnell@remi ngtonadmin.edu> wrote in message
        !>news:0cde01c3 5b6d$8f7be450$a 501280a@phx.gbl ...
        !>> Hi,
        !>>
        !>> I have setup a test server with the following
        !installed:
        !>>
        !>> 1) Windoes Server 2003 - Latest SPs applied.
        !>> 2) Ms_SQL Server 2000 - Latest SPs applied
        !>> 3) Visual Studio 2003
        !>>
        !>> I have Admin privledges.
        !>>
        !>> Each time I open VS and attempt to create a ASP.Net
        !>> project (even the default
        !>> http://LocalHost/WebApplication1) I receive the
        !following
        !>> error:
        !>>
        !>> "The web server reported the following error when
        !>> attempting to create or open the Web project located at
        !>> the following
        !>> URL: 'http://localhost/WebApplication1 '. 'HTTP/1.1 400
        !>> Bad REquest'. "
        !>>
        !>> I have given ASPNet full admin rights but I can get no
        !>> other results.
        !>>
        !>> Any help would be appreciated.
        !>>
        !>> Thanks,
        !>>
        !>> J
        !>
        !>
        !>.
        !>
        !


        Comment

        Working...