Expand my Community achievements bar.

SQLOffineAdapter + Could not initialize DataService.

Avatar

Former Community Member

Hello,

I was following this tutorial
But when I shutdown my server.
I have this message
Could not initialize DataService.
Cannot connect to the server to load configuration for destinations: ["AdobeProductMaster.ProductMaster"]
My Code
Thanks in advance
Bolo Michelin

1 Reply

Avatar

Employee

Try capturing the fault with a fault handler added to the token returned from connect().

var token:AsyncToken = productService.serviceControl.connect();

token.addResponder(new Responder(resultFunction, faultFunction));

You can then capture the offline state when the connection fails.

Tom