I am using web services in a company that does not have the license to use the Mobile Document Dispatcher.  In Codeunit 1 and trigger CompanyClose there are functions to stop listeners.

[code]

CompanyClose()
EmployeePortalApplSrv.StopQueue;
MobDocDispatcher.Stop;
BizTalkApplnSrvStartup.StopTcpListen;
IF GUIALLOWED THEN
LogInEnd;
[/code]

This is causing problems in the web service so I changed the code to

[code]
IF NOT ISSERVICETIER THEN BEGIN
EmployeePortalApplSrv.StopQueue;
MobDocDispatcher.Stop;
BizTalkApplnSrvStartup.StopTcpListen;
END;
IF GUIALLOWED THEN
LogInEnd;[/code]

and the error is history.

Leave a Reply

%d bloggers like this: