Skip to content

ACEweb Mode Setup

ACEweb must be installed before you complete these steps. Before proceeding, please shut down the ACEweb application file you started in step 18 of the install instructions. It no longer needs to be running.

ACEweb User Account

VFP Version

If ACEweb, Student Manager and Gatecop reside on the same server, you can allow ACEweb to run under the SYSTEM account.

If Student Manager and GateCop reside on a different server, you must run ACEweb under a specific domain-level account. E.g. create a domain-level account called “AWSA” (ACEweb System Account).

SQL Version

SYSTEM is not allowed access to the SQL database, even when ACEweb is installed on the SQL server. You must run ACEweb under a specific domain-level account. E.g. create a domain-level account called “AWSA” (ACEweb System Account).

Domain Account

Requirements for the domain-level account:

  • The account must be a domain-level account, not a local (machine-level) account. A local account will not have rights to access the Student Manager data on the other server.
  • Do not set the account or password to expire. If either are set to expire, ACEweb will not be able to access the Student Manager data once they expire.

ACEweb User Account Permissions

The ACEweb User account must have:

  • Full control of the Temp folder (as specified in the wc.ini).
  • Full control of the Windows > Temp folder.
  • Full control of the ACEweb folder (e.g. inetpub\aceweb) and all its subfolders.
  • Full control of the Wconnect folder and all its subfolders (e.g. inetpub\wwwroot\wconnect).
  • Full control of the Student Manager folder and all its subfolders, including gatecop and extend.
  • SQL Version: ownership of the SQL database.

If ACEweb and Student Manager reside on the same server, you can use a local account. However, if Student Manager or the SQL database reside on a different server, the user account must be a domain-level account.

Register the ACEweb COM Server

If you did not register the ACEweb server during step 15 of the installation process, you must first register it:

  1. Open a Command Prompt window.
  2. Navigate to the inetpub\aceweb directory (if you did not install ACEweb in the inetpub directory in step 4 of the installation process, you will need to navigate to where you did install it).
  3. Type in the following command, according to the version you have installed:

VPF version: aw3.exe /regserver

SQL version: aw4.exe /regserver

  1. Press the ENTER key.

Set Application Pool Identity

Once permissions have been set, you must set the West Wind WebConnection Application Pool to use the appropriate ACEweb User Account:

  1. Open IIS, expand the Computer list in the Connections pane then select Application Pools.
  2. Right-click on the West Wind WebConnection application pool and choose Advanced Settings.
  3. Scroll to the Process Model section and click the ... next to the Identity value:

Select App Pool Identity

  1. Set the appropriate identity:
  1. If Student Manager, ACEweb, and Gatecop reside on the same server, you can allow the Application Pool to run under the LocalSystem Account. To set it to the LocalSystem identity, select the Built-in account: option and choose LocalSystem from the list.

App Pool Identity

  1. If Student Manager, ACEweb, or Gatecop reside on different servers--OR--if you are running the SQL version, you must set a Custom account. This must be the same domain-level ACEweb User Account (see Determining the ACEweb user Account section above). To set the account, select the Custom account: option then click the Set button. Enter the credentials for the ACEweb User Account then click the OK button.

Set App Pool Credentials

  1. Click OK on the Application Pool Identity window, then OK on the Advanced Settings window. The Identity should now be set to the account you entered.

Switch to COM Mode

You should now be ready to switch to COM mode:

  1. Open your browser and go to the admin.aspx page.
  2. Click the Show and Manage ISAPI Settings link to open the Show and Manage ISAPI Settings page.
  3. Click the COM Mode link (Messaging Mechanism entry in the right column).
  4. Click the Load Server link.  The server will load and you should see the server information appear in the COM Servers list.
  5. If you have not already shut down the ACEweb application file, shut it down now.
  6. Test your ACEweb site by bringing up a Course Listing page (preferably from a browser on another computer).  If you successfully open the Course Listing page, log off the server and try it again.

Set Number of ACEweb COM Servers

In Test mode, you can run 1 COM server process. But in production, you will want to increase the number of COM server processing running.

The general rule is you can run 2 COM servers per CPU core. E.g. if the server has a dual-core, you can run 4 COM servers.

The maximum number of COM servers you can run is 8.

To enable additional COM servers:

  1. Open your browser and go to the admin.aspx page.
  2. Click the Edit Configuration Files link.
  3. In the DLL File INI Settings - c:\inetpub\wwwroot\wconnect\wc.INI: window, scroll down to find the [Automation Servers] section.
  4. This section will have several Server values.

awServers in wc.ini

  1. The first server will be enabled by default. To enabled additional COM servers, remove the semi-colon [;] preceding the Server value:

enable awServers in wc.ini

  1. Click the Update DLL INI File button to save your changes.
  2. The DLL INI File updated page opens next. Click the reload link to load the changes.
  3. The Web Connection DLL Status page will open next. Click the Load Servers link to load your additional COM servers.

ACEweb DCOM Settings

Some servers require adjustments to the ACEweb COM server. To edit the COM server settings:

  1. Open Component Services:
  • 32-bit Servers: click the Windows Start button and select Control Panel > Administrative Tools > Component Services.
  • 64-bit Servers: run the 32-bit version of Component Services. To do so, open the Command Prompt window and enter the following line:

C:\WINDOWS\SysWOW64\mmc comexp.msc /32

  1. Expand Component Services > Computers > My Computer > DCOM Config.

DCOM Config

  1. *Find the COM server (VFP version is aw3.AceWebServer; SQL version is aw4.AceWebserver). Right-click it and select Properties.
  2. Select the Identity tab.
  3. Click on the The launching user option, the click the OK button to set the Identity.

DCOM Launching User Identity

Note, after editing the DCOM server setting you must reset IIS for them to take effect.

Set DCOM Permissions

You may need to also add the ACEweb User Account to the Launch and Activiation Permissions, and Access Permissions on the COM server. Those are set on the COM Server Security tab.

DCOM Config

Choose the Customize option in both sections, then click the Edit button and enable Local Launch (Launch and Activation Permissions), Location Activation (Launch and Activation Permissions), and Local Access (Access Permissions).

No ACEweb COM Server Listed

Sometimes, when the COM servers are created, they are not listed as aw3.AceWebServer (VFP) or aw4.AceWebServer (SQL). Instead they are listed by the ACEweb GUID number.

If you don't find the ACEweb COM server listed in DCOM Config, you will need to look it up by GUID number. You can find the GUID number in the VBR file in your ACEweb program folder (i.e. inetpub/aceweb, aw3.vbr if running VFP version, aw4.vbr if running the SQL version).

The VBR file can be opened in any text editor. The GUID is listed in the HKEY_CLASSES_ROOT\aw_X_.AcewebServer\CLSID item (where X is 3 or 4 depending on the version you are running).

Running in File Mode

Most ACEweb installs should run in COM mode. However, a very few servers can only run in File Mode. Contact your ACEware technician for more information on running in File Mode.