Welcome to WebmasterWorld Guest from 54.198.93.179

Forum Moderators: ocean10000

Message Too Old, No Replies

IIS problems (files not opening)

http://localhost

     
3:42 am on Dec 11, 2003 (gmt 0)

10+ Year Member



I just installed IIS on my win2k machine. I started the service and created an asp file...

when I open a browser and enter the path(http://localhost***) the file wont open.
I get an HTTP 500 - Internal server error

Any ideas why this is happening?

J

9:43 am on Dec 11, 2003 (gmt 0)

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Switch off show friendly http error message and then let us know what error you are actually getting.
2:37 pm on Dec 11, 2003 (gmt 0)

10+ Year Member



Thanks

Will do when I get home...
I think I didn't config. my DNS properly so I'll give that a try. If I dont succeed I might need more help

J

6:26 pm on Dec 11, 2003 (gmt 0)

10+ Year Member



dont worry about dns
if you are using localhost or 127.0.0.1
10:38 pm on Dec 11, 2003 (gmt 0)

10+ Year Member



well.. it says BAD URL.

my file is in the wwwroot directory in the MyWeb folder and it's called example.asp
When I type in h*tp://localhost/MyWeb/examples.asp I get the above error.

I dont understand it. It supposed to be the correct URL.

J

6:10 am on Dec 12, 2003 (gmt 0)

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Does

h*tp://localhost/MyWeb/examples.htm resolve correctly or does that also give a bad URL error?

1:24 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



Unfortunately it gives me the same bad url error.
1:35 pm on Dec 12, 2003 (gmt 0)

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Have you set up the default website properties in IIS to point the default directory to

wwwroot/MyWeb

?

3:05 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



I think I did... I remember checking the dir.
let me confirm once I get home.

It would be really messed up if all this time I hadn't set it up to point to wwwroot.

J

4:34 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



I found that the best way to resolve it is to uninstall IIS and reinstall it. BE SURE TO RESTART YOUR MACHINE AFTER INSTALLAION.

After you do that just type [localhost...] in the URL and hopefully it should work.

One thing to watch for when your installing it is the make sure the checkbox for IIS is not gray. If it is then click on it and go to details for everything in IIS and click it. Gray means that you are not installing the full version.

Hope this helps!
Shuvi

11:37 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



well, I have it mapped to wwwroot... I'm out of ideas.

How can I uninstall and reinstall it from my machine. When I try through the components I can't do it because it is a default application after an installation.

J

11:51 pm on Dec 12, 2003 (gmt 0)

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member



in wwwroot create a basic default.htm file and se if that is displayed.
11:57 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



nope... same thing :(
12:01 am on Dec 13, 2003 (gmt 0)

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Can you let us know what the default directory is for the default website in IIS?
12:04 am on Dec 13, 2003 (gmt 0)

10+ Year Member



c:\inetpub\wwwroot
12:07 am on Dec 13, 2003 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



So you get that error when you hit http://localhost?
12:11 am on Dec 13, 2003 (gmt 0)

10+ Year Member



yes.. it doesnt matter if I do 127.0..... or localhost I get the BAD URL error.
Maybe I should try reinstalling it. The problem is I dont know how to do it.

J

12:13 am on Dec 13, 2003 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



In XP you use add remove windows components on the add remove programs window. I can't remember if that where it is on win2k.
12:25 am on Dec 13, 2003 (gmt 0)

10+ Year Member



it is almost the same in w2k... let me try it.

J

12:41 am on Dec 13, 2003 (gmt 0)

10+ Year Member



It didnt work... I got all services started and I still get the BAD URL error.

I dont know anymore.

J

9:59 pm on Dec 14, 2003 (gmt 0)

10+ Year Member



please confirm that the default website is running
4:16 pm on Dec 15, 2003 (gmt 0)

10+ Year Member



The default web is running...

I had coldfusion on the machine, I uninstalled it and that helped for about 5 minutes. Then I got the error again.

Can it be the port settings?

J

8:23 pm on Dec 15, 2003 (gmt 0)

10+ Year Member



i know nothing about coldfusion but it seems tome that it is a webserver and in your case causing conflicts

time for a windows reinstallation fresh and clean?

1:46 pm on Dec 16, 2003 (gmt 0)

10+ Year Member



Can't you uninstall it from Add/Remove Programs and then windows component?
2:27 pm on Dec 16, 2003 (gmt 0)

10+ Year Member



I did that twice and it didn' t help. The odd thing is that I just did a fresh w2k instal... just about 2 weeks ago.

I'm still leaning towards CF. and the port settings.

I think I will give up on it for the holidays!

3:49 am on Jan 20, 2004 (gmt 0)

10+ Year Member



Ok I have the solution for you if you havent already got it... this will work 100%, sounds weird but trust me.. Go into you control panel>>Internet options, then click on your "connection tab" then into Lan Settings. With in here unclick "Auto Detect settings" Voila. It will now work.. Bizzare, I know but it works! Good luck!
7:52 pm on Jan 26, 2004 (gmt 0)

10+ Year Member



I will give it a try when I get home.
that probably tells you that I still didn't figure this out.

j

 

Featured Threads

Hot Threads This Week

Hot Threads This Month