homepage Welcome to WebmasterWorld Guest from 54.167.185.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
IIS problems (files not opening)
http://localhost
SIRokai




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

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

 

IanTurner




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

Switch off show friendly http error message and then let us know what error you are actually getting.

SIRokai




msg:953160
 2:37 pm on Dec 11, 2003 (gmt 0)

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

bignet




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

dont worry about dns
if you are using localhost or 127.0.0.1

SIRokai




msg:953162
 10:38 pm on Dec 11, 2003 (gmt 0)

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

IanTurner




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

Does

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

SIRokai




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

Unfortunately it gives me the same bad url error.

IanTurner




msg:953165
 1:35 pm on Dec 12, 2003 (gmt 0)

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

wwwroot/MyWeb

?

SIRokai




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

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

Shuvi




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

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

SIRokai




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

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

IanTurner




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

in wwwroot create a basic default.htm file and se if that is displayed.

SIRokai




msg:953170
 11:57 pm on Dec 12, 2003 (gmt 0)

nope... same thing :(

IanTurner




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

Can you let us know what the default directory is for the default website in IIS?

SIRokai




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

c:\inetpub\wwwroot

korkus2000




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

So you get that error when you hit http://localhost?

SIRokai




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

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

korkus2000




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

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.

SIRokai




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

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

J

SIRokai




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

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

I dont know anymore.

J

bignet




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

please confirm that the default website is running

SIRokai




msg:953179
 4:16 pm on Dec 15, 2003 (gmt 0)

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

bignet




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

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?

Shuvi




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

Can't you uninstall it from Add/Remove Programs and then windows component?

SIRokai




msg:953182
 2:27 pm on Dec 16, 2003 (gmt 0)

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!

peschli




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

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!

SIRokai




msg:953184
 7:52 pm on Jan 26, 2004 (gmt 0)

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

j

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved