Results 1 to 40 of 40

Thread: [02/03] HTTP ERROR WHen trying to create a web project

  1. #1

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Angry [02/03] HTTP ERROR WHen trying to create a web project

    I keep getting this error when i try to create a web project.

    I can create a windows app just fine.

    I have IIS installed etc.


  2. #2
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Ubuntu Haters Club
    Posts
    405

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Your IIS Server is configured incorrectly.

    Can you visit http://localhost/ in your web browser?
    » Twitter: @rudi_visser : Website: www.rudiv.se «

    If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    if you CAN do what Rudi mentioned above, you may need to install ASP.NET onto IIS which can be done via the command line

    aspnet_regiis -i

    you can do a web search for aspnet_regiis if you want to learn more about what it does.

  4. #4

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    I did do that before and it said 1.1 or something was installed.

    i tried to do aspnet_regiis -i
    but the cmd line gave me error

  5. #5
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Ubuntu Haters Club
    Posts
    405

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    If you're meaning the HTTP/1.1, that's the protocol, not your .NET Version.
    » Twitter: @rudi_visser : Website: www.rudiv.se «

    If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.

  6. #6

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Oh ok, so what do i do?

    Sorry Im new at this stuff.

  7. #7
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    well did you try to type in

    http://localhost/

    in your browser and see if IIS is actually serving pages locally?

  8. #8
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Ubuntu Haters Club
    Posts
    405

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Can you actually visit http://localhost/? And if so what exactly do you get? A login box? A 404? A 500 error?

    A copy and paste of the response would help.
    » Twitter: @rudi_visser : Website: www.rudiv.se «

    If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.

  9. #9

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    I get this:

    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.

    --------------------------------------------------------------------------------

    Please try the following:

    Open the localhost home page, and then look for links to the information you want.
    Click the Refresh button, or try again later.

    Click Search to look for information on the Internet.
    You can also see a list of related sites.




    HTTP 500 - Internal server error
    Internet Explorer

  10. #10
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Ubuntu Haters Club
    Posts
    405

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Okay, who configured your IIS Server? If it was yourself you've done something wrong, so go back through what you changed and check for anything that may look out of place.

    If it was someone else give them a call and tell them they broke your computer (Just joking)/they configured your server incorrectly (Really). They might know what they did wrong.
    » Twitter: @rudi_visser : Website: www.rudiv.se «

    If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.

  11. #11
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Go to IIS (start > run > inetmgr)

    In the Default Website Properties, click on Configuration. You will find a list of handled file extensions. In that list, do you find any .htm or .htmls?

    Also check the subdirectories... especially WebApplication1 for the same thing.

  12. #12
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Ubuntu Haters Club
    Posts
    405

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    I'm guessing it would be in extension *.asp/*.aspx anyway?

    And that's just triggered a thought, doesn't Visual Studio have it's own IIS Development mini-ASP Enabled server for testing?? If you press F5 it normally creates it's own lil' server.
    » Twitter: @rudi_visser : Website: www.rudiv.se «

    If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.

  13. #13
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Yes, that's for VS 2005. You mentioned VS 2003 in the title. And leave the .asp, .aspx extensions alone.

    Did you find any .htm or .htmls, that's one possible cause for this error.

  14. #14

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Ok, so i looked in IIS, right clicked and went to Default Web Site, but i dont see a config, i see a properties.

    SO i went to that, but i dont see anything to do with file extentions.

  15. #15
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    After you click on properties, look for the configuration button.

  16. #16

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Ok found it, i dont see .html etc in there
    I do see asp and aspx in there

  17. #17

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Ok found it, i dont see .html etc in there
    I do see asp and aspx in there

  18. #18
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    OK, that path of troubleshooting's out the window. Need new troubleshooting steps.

    http://support.microsoft.com/kb/822319

  19. #19
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    do you have your XP installation CD?

    you could also just try to uninstall/reinstall IIS, and then rerun the aspnet_regiis -i to install ASP.NET on IIS.

    This would be a "last resort" for me, but it would likely fix the problem.

  20. #20

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Any other ideas?

  21. #21
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Ubuntu Haters Club
    Posts
    405

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Did you try reinstalling IIS?
    » Twitter: @rudi_visser : Website: www.rudiv.se «

    If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.

  22. #22

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Quote Originally Posted by RudiVisser
    Did you try reinstalling IIS?

    yes i tried to reinstall IIS but same error.

  23. #23
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Joe, maybe try the steps outlined here (in order)

    http://codebetter.com/blogs/peter.va.../08/24756.aspx

    I had used this in the past to try to troubleshoot an IIS issue with VS 2003 and it helped me out. (not sure which of the steps solved the problem, but doing them all is a good way to get a clean start on IIS)

    The whole process should take less than 30 minutes to try.

  24. #24

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    what does this mean

    regsvr32 aspnet_isapi.dll
    perform aspnet_regiis -i

  25. #25
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    regsvr32 is an exe that ships with windows and is in your windows\system32 folder. It is used for registering COM DLLs for use on a given system. COM dll files need to be "Registered" which consists of making registry entries to let the system know information about the file. regsvr32 does this automatically for you, so you just need to go do a cmd prompt, and type
    regsvr32 C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll
    This will register the ASP.NET DLL that interacts with IIS to be registered on the system for use.

    aspnet_regiis -i (which I actually mentioned in post 3 above ) is the command that actually installs ASP.NET onto IIS. IIS knows nothing about ASP.NET from the get go, as ASP.NET came out way after IIS 5.1.

    However running aspnet_regiis -i (the -i is for install) runs the commands needed to install and configure ASP.NET to work on IIS (assuming IIS is setup correctly).


    Keep in mind that this ALL is to resolve your issue at hand. Normally, on a "proper" working system, as long as IIS was installed before installing Visual Studio this all gets done automatically.

    You should also make sure you shutdown any anti-virus app ESPECIALLY if it has firewall software built in, or any standalone firewall software.

    I had zonealarm installed once, and even fully disabled, it screwed up Visual Studio and I couldn't load any of my ASP.NET projects. After totally uninstalling zone alarm, my PC was back to normal.

  26. #26

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    I did everything above and still getting an error:


  27. #27

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    anyone?

  28. #28

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    anyone?

  29. #29
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Go back and run aspnet_regiis, but this time, do


    aspnet_regiis -i -enable


    Btw, are you using Windows 2003?

  30. #30

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    I just uninstalled IIS and .NET
    I will do a fresh install and start again, and then do the above...

  31. #31

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    here is what i have what one do i run?


  32. #32

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    anyone?

  33. #33
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Start > Programs > Visual Studio 2003 > Visual Studio Tools > Visual Studio Command Prompt

    In there, type those commands.

  34. #34

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    when i ran this, i cant open my .NET anymore it says one of the componest is missing and i need to reinstall.

  35. #35

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    I just reinstalled .NET and ran the above code, and got this, however i still get the error:

    Here is what it says when i ran that code above.

  36. #36
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Hmm... ok, here's something else to try.

    Go to Internet Explorer. Tools. Options. Connections. Settings.

    Do you have a proxy server specified? If yes, then make sure that the box "Bypass proxy server for local addresses" is checked.

  37. #37

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Quote Originally Posted by mendhak
    Hmm... ok, here's something else to try.

    Go to Internet Explorer. Tools. Options. Connections. Settings.

    Do you have a proxy server specified? If yes, then make sure that the box "Bypass proxy server for local addresses" is checked.

    ok i did that...and still no go.

  38. #38

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    anyone?

  39. #39
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Are you administrator on your machine?

  40. #40

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: [02/03] HTTP ERROR WHen trying to create a web project

    Quote Originally Posted by mendhak
    Are you administrator on your machine?
    yes..............

Posting Permissions

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



Click Here to Expand Forum to Full Width