Tech Tip: 4D Ajax Framework, -10508 error, and 4D Server v11 SQL
PRODUCT: 4D Server | VERSION: 11.2 | PLATFORM: Mac & Win
Published On: December 23, 2008
It is possible to get a -10508 error when running 4D Server v11 SQL after installing the 4D Ajax Framework. Error #-10508 indicates that the Project Method could not be found. There are a couple of reasons this error could be generated:
- The method may not exist. This can happen if you install the 4D Ajax Framework in to your database and never launch 4D Developer (single-user). To fix this, open your application using 4D Developer (single-user). If you do not have a license for 4D Developer do not worry; demo mode is sufficient for this operation.
- The Method is not "Shared by components and host database". To fix this, open the Method Properties for the method causing the error and make certain that the "Shared by components and host database" box is checked.
Be sure to save any custom code you have put in your DevHooks. When 4DAF regenerates them it will make them "clean" just like the originals.