Install Microsoft Web Server on your Desktop
Trial Web Site on SmartWin Server
Windows 2000, XP, Vista
Note that Microsoft has disabled PWS on Windows XP Home Edition. So you will need to upgrade it to Professional Edition.
Installation Procecure
Start --> Settings --> Control Panel --> Add/Remove Software --> Add/Remove Windows Components --> Internet Information Services (IIS) --> Either select the whole system or specify further components. Then click on the "Next >" button to install.
Start --> Programs -> Administrative Tools -> Internet Services Manager -> Right Click on the icon with your computer -> Properties -> Edit Master Properties of "WWW Services" -> Home Directory -> Set "Execute Permissions" to "Scripts Only".
Windows XP File Permission
Right-mouse-click on a folder / file to bring the properties page. Change the "Sharing" property of the folder c:\inetpub\wwwroot\_private to "Share this folder on the network" and "Allow Network users to change my files". This will unlock the permission when running a database application (like CyberOffice software).
If you do not see any "Network shareing and secuirty" options, you will need to run the "Network sharing wizard" there to activate them. The wizard asks your questions about file/printer sharing (and say yes to them).
Alternatively, you can assign "IUSR_xxx" to the Administrators group. Then the Web site should have sufficient permissions to run anything. See below.
Windows XP SP1 Firewall
You must be sure to enable certain ports which are used by your desktop when it acts as a test server. To do this,
Open the Control Panel -> select Windows Firewall -> select the
Advanced tab -> click Settings with the Local Area
Connection option checked.
Add selected ports which you are using,
here are ones that are needed by a local Web Server:
Port 25 SMTP Mail
Service.
Port 53 TCP for DNS Server.
Port 80
www service.
Additional ports of interests:
Port 21 FTP
Service
Port 110 POP3 Mail Service
Port 443 SSL for www service
Port
3389 Terminal Services (i.e. Remote Desktop).
Windows Vista Registry Permission
When registering COM components, the installer needs to write to the Windows
registry in portions that may be restricted.
Specifically, the HKEY_CLASSES_ROOT\TypeLib registry branch and children
should have full control granted to Administrators.
Granting permission
to the branch can be done using the regedit utility. To do this,
Start -> Run -> RegEdit.Exe -> Browse to HKEY_CLASSES_ROOT -> Right-Click ->
Permissions
=> Set Full Control Permissions for Administrators (as well as
the current user in question, if not in the Administrators'
group).
Prev. Page | Back to Top |
ASP.NET on IIS / PWS
You should have IIS or PWS installed before you install the .NET Framework.
If you install IIS after you install the .NET Framework, you must also register the ASP.NET extensions with IIS. You can do this by running the aspnet_regiis executable from:
%windows root directory%\Microsoft.NET\Framework\%version of the .NET Framework%\aspnet_regiis -r
where %windows root directory% is the directory Windows is installed to (typically c:\windows or c:\winnt) and %version of the .NET Framework% is the version of the .NET Framework you have installed. The directory for .NET 1.0 is v1.0.3705, for 1.1 is v1.1.4322, and for 2.0 is v2.0.50727.
Enable ASP.NET
XP IIS does not enable ASP.NET by default. To enable it:
Start --> Programs -> Administrative Tools -> Internet Services Manager -> Web Sites -> Default Web Site -> Right Click -> Properties -> ASP.NET => Follow instructions to enable it.
ASP.NET User Permission
ASP.NET requires proper "current user" permissions on certain files in order to function correctly. However, by default IUSR_xxx is not granted those permissions. To overcome this issue, you can assign IUSR and ASP.NET as a member of the "Administrators" group on your desktop. Of course this assumes that you are the only user to your own computer. To do so:
Start --> Programs -> Administrative Tools -> Computer Management -> Local Users and Groups -> Users -> Right Click on IUSR_xxx and ASP.NET -> Properties -> Member of => Browse to find and add "Administrators" to the list.
Prev. Page | Back to Top |
Accessing your PC Web Site
PWS means that you host a Web site on your own PC. The root directory is, by default, c:\inetpub\wwwroot. And the full domain name of your site is "localhost".
Thus you PC Web site can be viewed locally when you click on http://localhost/. CyberShop by default installs a shopping_cart folder under c:\inetpub\wwwroot\shopping_cart. You will then be able to see the same folder via the Web:
http://localhost/shopping_cart
CyberOffice eCommerce setup programs will usually create icons on the desktop for your convenience, pointing the the localhost site.
That is not the end yet. On some computers, you cannot see http://localhost (because localhost is not defined). In that case use http://127.0.0.1 instead (i.e. replace localhost by 127.0.0.1).
Norton Anti-Virus Users: You may need to disable "Script Blocking" feature on the computer (simply click on its icon on taskbar to change the setting). The feature does little on today's virus prevention anyway.
Prev. Page | Back to Top |