Solved

HTML runs from hard drive folder but not from localhost alias

Posted on 2008-10-09
8
233 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
 

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
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.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Registry Experts? - How to ENABLE AERO in windows 7 3 1,838
Deleting stored passwords every monday? 4 459
Windows 7 Not Boot 3 233
please tell me windows 1-10 7 62
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…
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. …
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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

22 Experts available now in Live!

Get 1:1 Help Now