Ok i managed to get the problem sorted. All i had to do was create a dummy instance of the mx.data.messages.SequencedMessage class in the main application.
Previously, I had to do this will alot of my own AS classes (and a few from the Flex framework), but now i am using an RSL (where most of the classes exist) it was not necessary to create any of the dummy instances of the classes... or so i thought! Well that seems to be the problem solved, thanks for your pointers Seth/Gregor. Barry --- In flexcoders@yahoogroups.com, "Barry Evans" <[EMAIL PROTECTED]> wrote: > > Hi, > > i have developed a modularised application in Flex 2.0.1 (hotfix 1) > and im having some problems with the DataService tag. > > I have a module in the application's side bar which fills a > collection with managed objects, and i also have a module in the main > application area which fills a collection with managed objects. > > Each module uses different assembler classes/destinations configured > in the data-management-config.xml file. > > When i perform a fill on the each collection, and then attempt to > perform another fill on the side bar module, i keep getting errora > from the flash player log file. > > The collection in the main application area always refreshes without > any problems > > The error from flex... > > TypeError: Error #1034: Type Coercion failed: cannot convert > mx.data.messages::[EMAIL PROTECTED] to > mx.data.messages.SequencedMessage. > at > mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processS > equenceResult() > [C:\depot\flex\branches\enterprise_bridgeman\frameworks\mx\data\DataLi > st.as:1760] > at DataListRequestResponder/result() > [C:\depot\flex\branches\enterprise_bridgeman\frameworks\mx\data\Concre > teDataService.as:5857] > at mx.rpc::AsyncRequest/acknowledge() > [E:\dev\flex_201_borneo\sdk\frameworks\mx\rpc\AsyncRequest.as:81] > at NetConnectionMessageResponder/resultHandler() > [E:\dev\flex_201_borneo\sdk\frameworks\mx\messaging\channels\NetConnec > tionChannel.as:427] > at mx.messaging::MessageResponder/result() > [E:\dev\flex_201_borneo\sdk\frameworks\mx\messaging\MessageResponder.a > s:202] > > > Any help would be greatly appreciated as i am hitting a brick wall, > everything was working before, but i can't figure out what changes i > might have made to cause these issues. > > Barry >