I'm trying to use 2 DataServices with 2 different destinations in the
same application. Is this possible? Flex can not create a second local
cache on initialization of the second <mx:DataService>. It complains
about a database needing to be connected for the local cache to be saved.
<mx:DataService id="one" destination="one"
cacheID="one"
autoConnect="false"
autoCommit="false"
autoSaveCache="false"
conflict="conflictHandler(event)"/>
<mx:DataService id="two" destination="two"
cacheID="two"
autoConnect="false"
autoCommit="false"
autoSaveCache="false"
conflict="conflictHandler(event)"/>
(mx.rpc::Fault)#0
errorID = 0
faultCode = "Client.Save.Failed"
faultDetail = "Database must be connected to perform this operation."
faultString = "Could not save local cache."
message = "faultCode:Client.Save.Failed faultString:'Could not save
local cache.' faultDetail:'Database must be connected to perform this
operation.'"
name = "Error"
rootCause = (null)