You might need to alter the config file and add or edit the following values.
<appSettings>
<add key="useListener" value="false" />
<add key="pollingInterval" value="30" />
</appSettings>
It might also be necessary to alter the procedure dbo.run_forecasts_ws like this:
DECLARE @status_zero_wait_sec int = 40 (check with Daði to make sure about the figure)
In case an error occurs when installing the Forecast Service and double-clicking on ForecastListeningService brings up the following error we need to fix user permissions.
Edit local users and groups -> Manage User Accounts -> Advanced tab -> Advanced -> Groups under Local Users and Groups -> Double click on Users -> Add -> Choose correct location -> Add AGR user into Enter the object names to select and then “Check names” -> “OK”. This user needs to be an administrator.
If it is necessary to re-install the forecast service (through running the installer again) it is necessary to uninstall the ForecastListeningService before. Steps: Start menu – Command Prompt – Run as Administrator. Then run the following command (check the name of the service in case there are more than one on the machine).
Refresh Windows Services and ForecastListeningService should be gone from the list.
On some IIS Installations, usually if Navision is installed on the same machine, a component called WebDAV is installed on the server. This component modifies how the server processes certain HTTP commands, notably PUT and DELETE requests.
Note: This only removes the module from the AGR Application, any other web application (like NAV) will not be affected.
Note: This can also be done by editing the file web.config in the web-application folder.