Marcus,
>Does this work with your stuff ? Besides, it only crashes wenn I rename
>the DATA Folder out of my way to be shurte no one toches the data folder !
This should work just fine...I tried it with the sample application and I didn't get any errors.
I recommend opening up the CErrorMgr class (located in CManager.vcx) and launching the business object builder (note: the business object is contained inside of the Error Mgr container). You'll see that it loads up the EventLogEnvironment class. This data environment class is located in your application-specific ADataEnv.vcx. Make sure that the "Database Key" is set to the proper name. Also, click the arrow button (->) and make sure that "Check Default Databases" is checked.
If all of this is correct I recommend:
1. Remove "errorlog" from the Data Access list.
2. Click the Save button and close the Business Object Builder
3. Re-open the Business Object Builder and add the "errorlog" table back in again.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com