KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: 4D Ajax Framework: 'DAX' Initialization Error -48
PRODUCT: 4D Web 2.0 Pack | VERSION: 1.1 | PLATFORM: Mac OS X
Published On: July 6, 2007

PLEASE NOTE: This Tech Tip applies to 4D Web 2.0 Pack version 1.1

When using the 4D Ajax Framework it is possible that you might get an error that looks something like below:



The '-48' error code is a 4D error code, not a 4D Ajax Framework error. To determine what the error code means, check the 4D Error Codes documentation:

https://www.4d.com/docs/V6U/V6U00068.HTM

In this case a -48 error is a "-48 - Duplicate filename." error. This implies that the 4D Ajax Framework is trying to create a file that already exists.

One situation where this can occur is as follows, on MacOS:

At startup the 4D Ajax Framework creates a file named 'daxmacros.xml' at the location '/Library/Application Support/4D/Macros'. This file is created if it does not already exist. This file is created in a folder called 'Macros' so one way that this error can occur is if you already have a *file* (not a folder) called 'Macros' in this location. If this is the case, the 4D Ajax Framework will throw the error above when starting up since it cannot create the files it needs.

For the latest information on Web 2.0 Pack please go to:

https://daxipedia.4d.com