Error API Incompatible
Error API Incompatible
I get this error when trying to connect ot the server from within Flash:
[Sending]: <msg t='sys'><body action='verChk' r='0'><ver v='102' /></body></msg>
[Received]: <cross-domain-policy><allow-access-from domain="http://74.52.152.246" to-ports="9339" /></cross-domain-policy>
[Received]: <msg t="sys"><body action="apiKO" r="0" /></msg>
--------------------------------------------------------
WARNING! The API you are using are not compatible with
the SmartFoxServer instance you're trying to connect to
--------------------------------------------------------
I cannot connect throught the webserver either. But I can connect with the admin tool? Any ideas?
Thanks.
[Sending]: <msg t='sys'><body action='verChk' r='0'><ver v='102' /></body></msg>
[Received]: <cross-domain-policy><allow-access-from domain="http://74.52.152.246" to-ports="9339" /></cross-domain-policy>
[Received]: <msg t="sys"><body action="apiKO" r="0" /></msg>
--------------------------------------------------------
WARNING! The API you are using are not compatible with
the SmartFoxServer instance you're trying to connect to
--------------------------------------------------------
I cannot connect throught the webserver either. But I can connect with the admin tool? Any ideas?
Thanks.
LOL I just had the same problem
Download and install this:
http://www.macromedia.com/exchange/em_download/
Then go to:
/path/to/SmartFox/Flash API/Actionscript 2.0/SmartFoxClient_AS2.mxp
and doubleclick that file
* overwrite any existing smartfox stuff you have
Then try
Download and install this:
http://www.macromedia.com/exchange/em_download/
Then go to:
/path/to/SmartFox/Flash API/Actionscript 2.0/SmartFoxClient_AS2.mxp
and doubleclick that file
* overwrite any existing smartfox stuff you have
Then try
I have the same problem but I don't understand what he means by this solution. Please help.I got it finally. Had to define the path and get rid of the extension. Thanks for the help.
Thanks!
I should say that I have removed any reference to SFS 1.4 from the server, 1.5 is running fine, connecting with AdminTool fine, removed and installed the new AS2 mxp that came with 1.5 and replaced the "it" folder and subfolders in my Flash MX 04 Classes folder.
Ok, ignore the idiot.. needed to restart Flash. I mean.. seriously.. it's been a long day 
So for anyone else with this problem in MX2004, all I did was remove the mxp with Macromedia's Extension Manager, reinstall the new AS2 extension that came with 1.5.0 and replaced the sources folder in C:\Documents and Settings\[username]\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes - that's the "it" folder and its contents - with the ones that came with 1.5.0 also.
So for anyone else with this problem in MX2004, all I did was remove the mxp with Macromedia's Extension Manager, reinstall the new AS2 extension that came with 1.5.0 and replaced the sources folder in C:\Documents and Settings\[username]\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes - that's the "it" folder and its contents - with the ones that came with 1.5.0 also.
hello,
I am getting the same error:
When i just double click on the SmartFoxClient_AS2.mxp, the extension manager says: "The same version of ... extension is already installed. Do you want to replace it?' If i hit Yes, it says "this extension is used by another product. It can not be removed but can be disabled. Do you want to disable it?"
I disable it, i try to delete it, nothing...
so, basically i am stuck with 1.2.0... I try connecting to the server with flash and it again gives me the above warning about wrong api version.
any thoughts, rants, anything is appreciated...
aajames
---- edit
ok ok sorry for above rant... i am seeing that there is a whole sticky thread dealing with this. I will read through some of it and see if helps.
---- edit (again)
OK, when i go to extension manager now i get see 'smartfoxserver flash api -as 2.0 -flash mx2004/flash8' version 1.3.5.
I went to folder:
C:\Program Files\SmartFoxServerPRO\Flash API\sources\AS2
And copied the it folder to:
C:\Documents and Settings\aajames\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes
I run flash 8 (in windows) and start the simpleChat.fla file and i get the exact same error listed above.
I am getting the same error:
I went to Extension manager and disabled the older version...but when i tried to delete it, it says it is still in use, even though i have absolutely nothing running. I even uninstalled smartfox server just in case...[Sending]: <msg t='sys'><body action='verChk' r='0'><ver v='102' /></body></msg>
[Received]: <cross-domain-policy><allow-access-from domain="*" to-ports="9339" /></cross-domain-policy>
[Received]: <msg t="sys"><body action="apiKO" r="0" /></msg>
--------------------------------------------------------
WARNING! The API you are using are not compatible with
the SmartFoxServer instance you're trying to connect to
--------------------------------------------------------
When i just double click on the SmartFoxClient_AS2.mxp, the extension manager says: "The same version of ... extension is already installed. Do you want to replace it?' If i hit Yes, it says "this extension is used by another product. It can not be removed but can be disabled. Do you want to disable it?"
I disable it, i try to delete it, nothing...
so, basically i am stuck with 1.2.0... I try connecting to the server with flash and it again gives me the above warning about wrong api version.
any thoughts, rants, anything is appreciated...
aajames
---- edit
ok ok sorry for above rant... i am seeing that there is a whole sticky thread dealing with this. I will read through some of it and see if helps.
---- edit (again)
OK, when i go to extension manager now i get see 'smartfoxserver flash api -as 2.0 -flash mx2004/flash8' version 1.3.5.
I went to folder:
C:\Program Files\SmartFoxServerPRO\Flash API\sources\AS2
And copied the it folder to:
C:\Documents and Settings\aajames\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes
I run flash 8 (in windows) and start the simpleChat.fla file and i get the exact same error listed above.
Flash is pretty stubborn with compiling classes, and sometimes it keeps using the cached versions, kept in the infamous .aso files.
To see if it's Flash just check the very first request sent by the client.
means that this is version 1.0.2
If you have installed version 1.3.5 you should see
To see if it's Flash just check the very first request sent by the client.
Code: Select all
<msg t='sys'><body action='verChk' r='0'><ver v='102' /></body></msg> Code: Select all
ver v='102'If you have installed version 1.3.5 you should see
Code: Select all
ver v='135'