log4net error when calling mdlSystem_newDesignFile in MicroStation 10.15.00.74

All,

We have a legacy MicroStation application which has been problem-free but which was recently tested running on MicroStation 10.15.00.74.  The application runs as an INITAPP and never calls mdlSystem_enterGraphics.  Upon calling mdlSystem_newDesignFile, the following error is displayed in the Text Window:

log4net:ERROR XmlHierarchyConfigurator: Cannot find Property [createpath] to set object on [log4net.Appender.RollingFileAppender]

Any idea what could cause this behavior and/or possible workarounds?

TIA

Steve

Parents Reply
  • Not much to the main function code, but here it is:

    extern "C" DLLEXPORT void MdlMain
    (
    int     argc,    /* => Number of arguments passed in pargv  */
    WCharCP argv[]   /* => Array of pointers to arguments       */
    )
    {
        RscFileHandle       rfHandle;       /* resource file handle              */
    
        if (argc <= 2) {
            mdlOutput_printf(MSG_ERROR, L"ERROR: This program cannot be run interactively.");
            return;
        }
        mdlResource_openFile(&rfHandle, NULL, FALSE);
        SystemCallback::SetReloadProgramFunction (reloadProgram);
        SystemCallback::SetNewDesignFileFunction(newDesignFile);
    
        handleArgs(argc, argv);
    
        mdlSystem_closeDesignFile();
    }
    

Children