Skip to main content
Known Participant
March 2, 2010
Question

Cannot view SharedObject data in Admin Console

  • March 2, 2010
  • 2 replies
  • 1913 views

I'm attempting to view Shared Object data in my FMS Administration Console, but I consistently get the error:

Object encoding error; terminating connection

I'm using Flex 3 with FMS 3.5, I'm positive that everything is using AMF3. The Shared Objects do seem to work - I can connect to the shared object through another instance of the app and pull saved data - but they are not inspectable in the administration console. Also,  very often when a new instance connects to the server I get a RangeError and all of my Flash Player instances crash. Any idea what could possible be going on?

    This topic has been closed for replies.

    2 replies

    Adobe Employee
    March 3, 2010

    FMS admin console is an as2 app and hence can connect to server using AMF0 encoding only. Starting FMS 3.0 when AMF3 support was added to FMS, if server has got AMF3 data that need to be send to AMF0 NetConnection, it will simply disconnect the NetConnection with Object encoding error instead of sending it data that it cannot handle. This is the reason why you are seeing the Object encoding error.

    As for the range error, can you provide more details what you were trying to do when you go this error?

    calmchessplayer
    Inspiring
    March 3, 2010

    well i can't speak for most of what you have written but I have trouble inspecting shared objects data too from what i hear its a well known bug with no real solution......are you stuffing an array in the SO? I get the error most often when i stuff it with an array

    Known Participant
    March 3, 2010

    Great info, good to know. I am placing a few arrays in the shared object. The docs are extremely unclear as to what can possibly be used in a shared object - do you have any more specifics about the problems with placing Arrays into shared objects? Seems like pretty base functionality that I'd expect to be quite functional. Thanks!

    calmchessplayer
    Inspiring
    March 3, 2010

    there is no problem with storing the array data and retrieving it you just can't view it in the admin console...any data type that is AS 1.0 compatible can be placed in a shared object....its just sometimes the only way to view that data is from the client.....its an inconvinance but doesn't really stop the development process.