|
-
Apr 11th, 2007, 09:03 AM
#1
Thread Starter
Frenzied Member
[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.
-
Apr 11th, 2007, 09:05 AM
#2
Hyperactive Member
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.
-
Apr 11th, 2007, 09:06 AM
#3
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.
-
Apr 11th, 2007, 09:09 AM
#4
Thread Starter
Frenzied Member
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
-
Apr 11th, 2007, 09:14 AM
#5
Hyperactive Member
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.
-
Apr 11th, 2007, 09:20 AM
#6
Thread Starter
Frenzied Member
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.
-
Apr 11th, 2007, 09:28 AM
#7
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?
-
Apr 11th, 2007, 09:28 AM
#8
Hyperactive Member
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.
-
Apr 11th, 2007, 09:31 AM
#9
Thread Starter
Frenzied Member
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
-
Apr 11th, 2007, 09:40 AM
#10
Hyperactive Member
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.
-
Apr 11th, 2007, 09:42 AM
#11
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.
-
Apr 11th, 2007, 09:48 AM
#12
Hyperactive Member
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.
-
Apr 11th, 2007, 09:52 AM
#13
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.
-
Apr 11th, 2007, 09:55 AM
#14
Thread Starter
Frenzied Member
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.
-
Apr 11th, 2007, 09:56 AM
#15
Re: [02/03] HTTP ERROR WHen trying to create a web project
After you click on properties, look for the configuration button.
-
Apr 11th, 2007, 09:59 AM
#16
Thread Starter
Frenzied Member
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
-
Apr 11th, 2007, 10:30 AM
#17
Thread Starter
Frenzied Member
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
-
Apr 11th, 2007, 10:30 AM
#18
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
-
Apr 11th, 2007, 01:40 PM
#19
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.
-
Apr 12th, 2007, 09:49 AM
#20
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
-
Apr 12th, 2007, 09:51 AM
#21
Hyperactive Member
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.
-
Apr 19th, 2007, 09:01 AM
#22
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
 Originally Posted by RudiVisser
Did you try reinstalling IIS?
yes i tried to reinstall IIS but same error.
-
Apr 19th, 2007, 09:09 AM
#23
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.
-
Apr 19th, 2007, 02:30 PM
#24
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
what does this mean
regsvr32 aspnet_isapi.dll
perform aspnet_regiis -i
-
Apr 19th, 2007, 02:43 PM
#25
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.
-
May 22nd, 2007, 01:59 PM
#26
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
I did everything above and still getting an error:
-
May 22nd, 2007, 03:43 PM
#27
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
-
May 23rd, 2007, 12:14 PM
#28
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
-
May 23rd, 2007, 03:42 PM
#29
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?
-
May 24th, 2007, 11:11 AM
#30
Thread Starter
Frenzied Member
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...
-
May 24th, 2007, 11:53 AM
#31
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
here is what i have what one do i run?
-
May 24th, 2007, 03:43 PM
#32
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
-
May 24th, 2007, 03:50 PM
#33
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.
-
May 25th, 2007, 09:12 AM
#34
Thread Starter
Frenzied Member
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.
-
May 25th, 2007, 10:30 AM
#35
Thread Starter
Frenzied Member
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.
-
May 29th, 2007, 04:19 PM
#36
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.
-
May 31st, 2007, 09:18 AM
#37
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
 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.
-
Jun 1st, 2007, 10:29 AM
#38
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
-
Jun 4th, 2007, 03:18 PM
#39
Re: [02/03] HTTP ERROR WHen trying to create a web project
Are you administrator on your machine?
-
Jun 5th, 2007, 11:13 AM
#40
Thread Starter
Frenzied Member
Re: [02/03] HTTP ERROR WHen trying to create a web project
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|