Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

HTML runs from hard drive folder but not from localhost alias

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
Dovberman
Asked:
Dovberman
  • 5
  • 3
2 Solutions
 
Bruce PieterseTechnical LeadCommented:
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
 
Bruce PieterseTechnical LeadCommented:
0
 
DovbermanAuthor Commented:
thanks,

I was busy with other issues today.

Will reply tomorrow.
0
Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

 
DovbermanAuthor Commented:
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
 
Bruce PieterseTechnical LeadCommented:
Do you get a 500 Error when you access http://localhost/ ?
0
 
DovbermanAuthor Commented:
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
 
DovbermanAuthor Commented:
I called Microsoft support. IIS configuration security permissions needed to be set.

Thanks,
0
 
DovbermanAuthor Commented:
Expert suggestions did not lead t the solution. I used Microsoft product support
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now