Troubleshooting Event Viewer

Application Studio WebServices users need special permissions to access the Windows Event Log, which may not be granted by default. This prevents certain events in Application Studio WebServices from being logged in the Windows Event Viewer, although logging on computer level is enabled for the Event Viewer in Repository.

To solve the problem, perform these steps:

  1. From the Windows menu, select Programs > Accessories > Command Prompt. Right-click and select Run as Administrator. In the Administrator Command Prompt window, run regedit to open the Windows Registry.
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog. Right-click and select Permissions .... Select Full Control for Authenticated User.
  3. Download the zipped file, which is attached to KBA 1361328 from the Infor Xtreme Service portal and run it on your web server.
    Note: The file, which changes the Windows Registry has been tested with Windows Server 2008 R2 and Windows 7.
  4. Restart Windows Event Log and IIS in the Windows Services.
    Note: It is still not possible to log entries with a log id higher then 65535. This is a limit of the Windows Event Log. If restarting the Windows Event Log is not possible due to the Task Schedule service, perform the steps 5–9:
  5. Download pstools from the Microsoft website.
  6. Unzip the downloaded file and navigate to the path in the Command Prompt window.
  7. Specify psexec -i -s cmd. A new Command Prompt window opens.
  8. Specify net stop schedule in the new Command Prompt window. The Windows Event Log can be restarted now.
  9. Start the Task Schedule service after the restart of the Windows Event Log.