Solved

HTML runs from hard drive folder but not from localhost alias

Posted on 2008-10-09
8
238 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

The main issue when installing Vista and XP in dual boot is when you have to reinstall any of the two when something fails, let's say a hard disk failure, a lost partition, virus, etc. What commonly happens is that you lose all your hard work config…
There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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