Solved

HTML runs from hard drive folder but not from localhost alias

Posted on 2008-10-09
8
232 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
Comment Utility
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
Comment Utility
0
 

Author Comment

by:Dovberman
Comment Utility
thanks,

I was busy with other issues today.

Will reply tomorrow.
0
 

Author Comment

by:Dovberman
Comment Utility
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
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 7

Expert Comment

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

Author Comment

by:Dovberman
Comment Utility
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
Comment Utility
I called Microsoft support. IIS configuration security permissions needed to be set.

Thanks,
0
 

Author Comment

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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Hi All Just a quick one for everybody. I was recently looking into setting the default User Account Picture for all my vista clients within the network but on closer inspection the group policy setting only allows you to set the default pictur…
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now