Header Ads

Installing IIS Server in XP & Problem Solving

How to install IIS and run ASP on Windows XP Professional

Note: You cannot run ASP on Windows XP Home Edition.

  1. Insert the Windows XP Professional CD-Rom into your CD-Rom Drive
  2. From your Start Button, go to Settings, and Control Panel
  3. In the Control Panel window select Add/Remove Programs
  4. In the Add/Remove window select Add/Remove Windows Components
  5. In the Wizard window check Internet Information Services, click OK
  6. An Inetpub folder will be created on your harddrive
  7. Open the Inetpub folder, and find a folder named wwwroot
  8. Create a new folder, like "MyWeb", under wwwroot.
  9. Use a text editor to write some ASP code, save the file as "test1.asp" in the "MyWeb" folder
  10. Make sure your Web server is running - its status can be checked by going into the Control Panel, then Administrative Tools, and double-click the "IIS Manager" icon
  11. Open your browser and type in "http://localhost/MyWeb/test1.asp", to view your first ASP page

Problem Solving:

For VB 6.0


- Error in Loading DLL

- Internet Information Server or Peer Web Services version 3.0 or later must be
installed to run WebClass.

- Errors during load. Refer to 'C:\Program Files\Microsoft Visual
Studio\VB98\Template\Projects\WebClass.log' for details.

- 'C:\Program Files\Microsoft Visual Studio\VB98\Template\Projects\WebClass.Dsr'
could not be loaded.


- Dowload Update Sp6 and install it.

- http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp6/default.aspx

- Registering the ASP.tlb Type Library adds the 2.0 key to the ASP Type Library registry entry. The asp.tlb file can be found on Disk 1 of either the Professional or Enterprise version of Microsoft Visual Studio in the following directory:


Copy asp.tlb to the following directory:

Program Files\Microsoft Visual Studio\Common\IDE\IDE98

Use the regtlib.exe file to register the ASP 2.0 Type Library.


If there is error in loading page then

try this on command prompt (i.e. type cmd in run then)

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


is there error in Register asptxn.dll file (i.e. regsvr32 asptxn.dll part)


Chk All Sub part of Administrative Tools\Component Services

if ther is error in first sb routing then....

1. Open registry editor, locate, take backup & Delete this key,


2. From the Start menu, point to Settings, click Control Panel,
and then click Add/Remove Programs.

3. Click Add/Remove Windows Components.

4. reinstall all IIS Componet from Add/Remove

5. Proceed through the wizard, and accept all of the defaults.

6. Restart the computer. {if nesesory}


No comments:

(C) Arshad Pathan. [Do not copy any contain without permission]. Powered by Blogger.