Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

HTML runs from hard drive folder but not from localhost alias

Posted on 2008-10-09
8
237 Views
Last Modified: 2008-10-15
I got a new computer with Windows Vista Ultimate. I installed Visual Studio and .Net. Then after reading a book on Visual Web Programmin in C#, I realized that I should have installed IIS 7.0 before installing Visual Studio and .Net.  
Here is my issue:

I wrote a simple HelloWorld.htm and placed it into a folder named Chapter1Examples.

I opened InetMgr and created a virtual under DefaultWebSite named APress3618. The physical directory for APress3618 is C:\\......\Chapter1Examples.  

HelloWorld.htm opens from the physical directory.

When I open the browser and enter http://LocalHost/APress3618/HelloWorld.htm, I get the HTTP 500 Internal Server error.

How can this be resolved?

Thanks
0
Comment
Question by:Dovberman
  • 5
  • 3
8 Comments
 
LVL 7

Expert Comment

by:brucepieterse
ID: 22677285
Hi Dovberman,

Have a look at the HTTP status codes for IIS here: http://support.microsoft.com/kb/943891 and match it with the one you have.
0
 
LVL 7

Assisted Solution

by:brucepieterse
brucepieterse earned 100 total points
ID: 22677304
0
 

Author Comment

by:Dovberman
ID: 22682769
thanks,

I was busy with other issues today.

Will reply tomorrow.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:Dovberman
ID: 22684457
Tried to view the log file. Clicked on InetPub\Logs.
"This Folder is Empty"

I have both DefaultWebSite and InetPub on my hard drive.

This is confusing.
0
 
LVL 7

Expert Comment

by:brucepieterse
ID: 22684772
Do you get a 500 Error when you access http://localhost/ ?
0
 

Author Comment

by:Dovberman
ID: 22688404
Yes, that's where I get the error. The physical address works.

<<When I open the browser and enter http://LocalHost/APress3618/HelloWorld.htm, I get the HTTP 500 Internal Server error.>.

I think I need to call MSFT support for this one. I had trasferred asp.net VS and other apps from my old computer. It's probably time to let a support person log on to my computer for system cleanup support.

Thanks,
0
 

Accepted Solution

by:
Dovberman earned 0 total points
ID: 22693074
I called Microsoft support. IIS configuration security permissions needed to be set.

Thanks,
0
 

Author Comment

by:Dovberman
ID: 22693091
Expert suggestions did not lead t the solution. I used Microsoft product support
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Service applet starts in Extended Mode by Default, with a taskpad on the left of the services pane. This view mode was introduced in XP. As I find it not very usefull, I like to use the Standard view as default, and without the Console tree. …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question