Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Servers > Internet Information Services
|
Internet Information Services Limit this to IIS questions and posts. ASP/ASP.NET questions should still go in the ASP/ASP.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Internet Information Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 18th, 2006, 12:42 PM
Registered User
 
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to urbanwebdev
Default Problems installing IIS 5 on XP-M.C.E. 2002

I am having problems installing IIS 5 on XP - Media Center Edition 2002. I have it up and running but for some reason it will serve .asp nor asp.net pages for me. Static HTML pages are served but when I try to retrieve a page with ASP or ASP.net code it returns a server 500 error message. Can anyone help.
Reply With Quote
  #2 (permalink)  
Old October 15th, 2006, 05:48 PM
Registered User
 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Step One:

Check Event Log:
Check your Event Viewer for these errors...
MSDTC errors (4427,4691,4135 are common error events for this)
W3SVC Event 36 "The server failed to load application '/LM/W3SVC/1/ROOT/'. The error was 'Class not registered"




Step Two:
Open "Control Panel" and then "Administrative Tools" then Open "Services"...

Locate the "Distributed Transaction Coordinator" make sure the process is "Started" and "Automatic"
(If its not, open a command line and type "msdtc -install", then try and start the service)

Open a command line and type the following...

cd %windir%\system32\inetsrv
rundll32 wamreg.dll, CreateIISPackage

(NOTE: "CreateIISPackage" must be typed exactly; it is case-sensitive.)

regsvr32 asptxn.dll

(wait for a dialog box to notify you asptxn has registered correctly)

Then, in the cmd prompt window type IISRESET

Open "Control Panel" then "Component Services"...

You should see all three IIS COM+ applications that have been recreated


Finally, open "Control Panel" and then "Administrative Tools" then Open "Services" and just make sure that

DTC
COM+
World Wide Web Publishing

are all running.....

As a very final check just stop and restart the web service in IIS itself.

With a bit of luck the COM+ and ASP/ASP.NET issue should be resolved.

Reply With Quote
  #3 (permalink)  
Old December 22nd, 2006, 07:03 PM
Registered User
 
Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dude,

  I just happened to come across your SOLUTION to the exact problem I was having and your instructions worked PERFECTLY!! Thanks a lot!
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX Warnings in Excel 2002 (XP) pagates Excel VBA 10 August 30th, 2007 11:03 PM
iis.msc equivalent in IIS for Win XP Pro? RealDHelix Classic ASP Basics 14 March 18th, 2007 08:28 PM
Problems installing and running IIS Ads Dreamweaver (all versions) 5 January 4th, 2006 11:04 AM
Installing IIS on Windows XP Professional gorman General .NET 4 May 11th, 2005 05:29 AM
Problems Installing VB6 app developed in XP on NT chiefouko VB Databases Basics 16 November 10th, 2003 08:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.