| CONTACT | DEVELOPER CENTER | PARTNERS | SITEMAP
GO
Useful Links
  • Search Helpweb
    
    

Dialogic Support Helpweb

Dialogic® Diva® SDK

Delaying your application start-up on re-boot

If your application attempts to start-up before all components of the Diva SDK on re-booting the server this may cause a failure or you may see the error: DivaRegister fails with value 5 DivaErrorInvalidState.

Reason for the problem:

The problem is caused because the application (or service, if your application runs as a Windows service) is set to start automatically without any dependencies.

Fix / Solution:

Make the application service dependent on "CAPI20"

In general, all SDK-based applications that are services should have a dependency on the CAPI20 group added to the application.

How to add the CAPI20 dependency

In regedit, go to HKLM\System\CurrentControlSet\Services\{servicename}

Add an SZ value called DependOnGroup and set this to "CAPI20", the group name used on the DiCapi service.


Feedback

Please rate the usefulness of this page:  

0 - not useful at all
1 - potentially useful
2 - quite useful
3 - very useful
4 - exactly the information I needed     

Please enter a comment about this page: