This tutorial will give you step-by-step instructions on installing MailListBot
on Windows 2003.
Due to a bug/design feature with Windows Server 2003, components/ActiveX controls that
create Windows Sockets are not automatically granted permission to do so.
In order to use MailListBot on Windows Server 2003, you will need to do the
following:
- Set the IIS password to a password that you know or have it available
in this workaround.
- Wrap MailListBot in a COM+ wrapper.
Disclaimer: Use at your own risk. Every effort has been made to ensure accuracy,
however, ExclamationSoft takes no responsibility for the changes made to your
system.
Set the IIS password
If you know the IUSR_MACHINENAME password, you may skip this step.
The password for the user IUSR_MACHINENAME is usually not known,
and is pseudo-random generated by Windows. You can retrieve this
password from the metabase using adsutil or many other available
metabase tools...it is stored unencrypted in the metabase.
However, it is just as easily set too.
- Open the Computer Management console: Right-click on "My Computer" and
select "Manage".
- Expand the node for "Local Users and Groups", select the folder named
"Users". On the right window pane, select "IUSR_MACHINENAME".
- Right-click on "IUSR_MACHINENAME", selct "Set Password". Set the password
and write it down. For this tutorial, we will use "iis".
- Close the Computer Management console.
Create a COM+ Wrapper
The COM+ wrapper will allow MailListBot to "gain" permission to create
a Windows Socket.
- Click the "Start" button, select "Programs", "Adminstrative Tools",
"Component Services". The Component Services console will open.
- In the left-hand pane, select "Component Services", "Computers",
"My Computer", "COM+ Applications".
- Right-click "COM+ Applications", select "New", "Application". The
COM+ Application Install Wizard will open.
- Select Next
- In the next step of the wizard select "Create an empty application"
- In the next step of the wizard, enter the name of the empty application.
Enter "MailListBot" and click "Next".
- In the next step, you will need to set the application identity. Select
"This User". For username enter "IUSR_MACHINENAME". Enter the password
for this user. Click "Next".
- In the next step for "Add Application Roles", click Next.
- In the next step to "Add Users to Roles", expand the node for "Creator Owner"
and select the folder "Users". Click the "Add" button. Add the
username "IUSR_MACHINENAME". It should appear as a user under the
system administrator or the currently logged in user.
- Click "Next", then finish the wizard.
- The MailListBot application should now appear as a new COM+ Application
- Expand the node for MailListBot. Right-click "Components" and select
"New", then select "Component". The "Component Install Wizard" will
appear. Click "Next" to begin the wizard.
- Select "Install new component(s)". Navigate to the installation directory
for MailListBot, e.g. C:\Program Files\MailListBot, and select "MailListBot.dll".
- Click "Next", then click "Finish" to complete the wizard. The component
"ExclamationSoft.MailListBot.3" should be listed as a component for the "MailListBot"
application.
- Right-click on "MailListBot" and select "Properties".
- Select the "Security" tab. Uncheck the box "Enforce access checks for this application",
and select the first radio button with the text "Perform access checks only
at the process level..."
- Click OK
Restart IIS
Restart IIS by issuing the iisreset command from the command line or
reboot the system for the new configuration to take effect.