IIS version 7 (64 bit)

Top 

To configure Crash Magic Online to run inside of IIS 7 as an ISAPI plugin, the following steps must be taken

 

IIS INSTALL

The following instruction require that your network settings are correct

Install IIS while logged in as administrator

Click Start/All Programs/Administrative Tools/Server Manager.

Click the Roles

With the Roles summary page open click Add Roles

On the Select Server Roles window check the box next to  Web Server (IIS)

Click the Next button

On the Role Services window check the box next to "ISAPI Extensions" under Web Server/Application Development

Check the box next to "Dynamic Content Compression" under Web Server/Performance

Check the box next to IIS "Management Scripts and Tools" under Management Tools

Click the Next button

Click the closed button when complete

 

Windows updates should be installed at this time.

 

Create a local machine user to run the Crash Magic application in IIS

Open the server manager

Open Configuration/Local Users and Groups/Users

Right click in the Users window and select "New User..."

Enter a user name of cmUser for the user name

Full name Crash Magic User

Description of Crash Magic IIS user

Enter a password and confirm the password

Uncheck the "User must change password at next logon"

Check User cannot change password

Check Password never expires

Click the create button

Click the close button

 

Make cmUser a member of the IIS_IUSRS group

Right click on the cmUser that was just created

Select properties

Click on the Member of tab

Click the Add button

Select the local computer name form the Locations

Enter IIS_IUSRS in the object names to select box

Click the check names button to add the machine qualification(Machine Name>\cmUser)

Click the OK button

 

Grant permissions to the Crash Magic data folders

Open Windows Explorer

In the address bar enter the location of the Crash Magic data folder(The default location is "C:\ProgramData\PdMagic\CrashMagicOnline". The C:\PrgramData folder is hidden by default in Windows Server 2008)

Right click on the Sys folder and select Properties

Click on the Security tab

Click the Edit button

Click the Add button

Select the local machine for the location

Enter cmUser in the object names to select box

Click the check names button to add the machine qualification

Click the OK button to return to the Permissions for window

With the cmUser selected ensure that Read & execute, List folder contents, Read and Write are checked

Click the OK button

 

Grant execute to the Crash Magic ISAPI folder

Open Windows Explorer

Enter the location of the bin directory for Crash Magic(The default location is "C:\Program Files (x86)\PdMagic\CrashMagicOnline\Bin")

Right click on the ISAPI folder and select Properties

Click on the Security tab

Click the Edit button

Click the Add button

Select the local machine for the location

Enter cmUser in the object names to select box

Click the check names button to add the machine qualification

Click the OK button to return to the Permissions for window

With the cmUser selected ensure that Read & execute, List folder contents and Read are checked

Click the OK button

 

Create a new Crash Magic Online Application pool

Open the IIS manager

Click on the Application pools in IIS

Click the Add Application Pool...

Enter a name of cmISAPI32

Use the default setting for .NET Framework version

Use the default setting for Managed pipeline mode of Integrated

Use the default check box of Start application pool immediately

Right click on the cmISAPI32 application pool for Crash Magic and select advanced settings.

Set Enable 32-Bit Applications to True

Set the identity field to cmUser

Set Idle time out to 180 min

 

In IIS add the Crash Magic application

Right click on the Default Web Site and select Add Application

Enter an Alias for the application(cm is the recommended alias)

Select the application pool for Crash Magic(cmISAPI32)

Select the ISAPI directory in the physical path(C:\Program Files (x86)\PdMagic\CrashMagicOnline\Bin\ISAPI)

Click the Connect as button

Click the Specific user radio button

Click the Set button

Enter the cmUser in the user name field

Enter the password for cmUser in the Password field.

Enter the password for cmUser in the Confirm Password field

Click the Ok button

Click the OK button

Click the Test Settings button to confirm cmUser can access the ISAPI directory

 

Edit the ISAPI dll handler mappings

Under the alias virtual directory created(cm) click on the Handler Mappings

Right click on the ISAPI-dll and select Edit

In the Executable field select the CrashMagicOnline_ISAPI.dll(The default location is C:\Program Files (x86)\PdMagic\CrashMagicOnline\Bin\ISAPI\CrashMagicOnline_ISAPI.dll)

Click the request Restrictions button

Ensure that Invoke handler only if request is mapped to File checkbox is checked under the Mapping tab.

Under the verb tab ensure that All verbs radio button is selected

Under the Access tab ensure the Execute radio button is selected

Click OK to return the the edit script map

Click OK to close the window

Click Yes to allow this ISAPI extension

 

Allow ISAPI executions

While still in Handler Mappings Right click on ISAPI-dll and select Edit Feature Permissions...

Select edit feature permissions

Check the Execute check box

Click OK

 

Add the CrashMagicOnline_ISAPI.dll as the default document

Click on the virtual directory created for Crash Magic(cm) under connections to return to the Home screen

Click on Default Document

Click Add under Actions

Enter CrashMagicOnline_ISAPI.dll in the Name field

Click the OK button to return

 

Add a virtual directory to the application

Right click on the virtual directory created for Crash Magic(cm) under connections

Select add virtual directory

In the Alias text box add CMFiles

Select Sys Files directory location(The default locations is C:\ProgramData\PdMagic\CrashMagicOnline\Sys\Files)

Click the Connect as button

Click the Specific user radio button

Click the Set button

Enter the cmUser in the user name field

Enter the password for cmUser in the Password field.

Enter the password for cmUser in the Confirm Password field

Click the Ok button

Click the OK button

Click the Test Settings button to confirm the CMUser can access the Files directory

 

Click the Browse *:80(http) to test the web site and see the Crash Magic start window

 

Add another virtual directory to the cm application

Right click on the cm web site

Select add virtual directory

In the Alias text box add CMCache

Select Sys Files directory location(The default locations is C:\ProgramData\PdMagic\CrashMagicOnline\Sys\Default\Cache\$)

Click the test settings to confirm Crash Magic can use the files

 

Add MIME types

Double click MIME types in the Crash Magic site(cm)

Click the add link

Enter .svg for the File name extension box

Enter image/svg+xml for the MIME type box

Click the add link

Enter .xap for the File name extension box

Enter application/x-silverlight-app for the MIME type box

Click the add link

Enter .xaml for the File name extension box

Enter application/xaml+xml for the MIME type box