Monday, 5 January 2009

Revit failing to load - 0xc06d007e

I'm posting this to help anyone who might have the same rather strange problem. On my machine at home Revit would fail to load if I tried to add any External Command. All my syntax and naming was correct, all files were present and correct, but Revit would still silently fall over when booting up, without an error message. If I changed the ECCount back to zero then it would boot up fine.

Looking at the journal files (C:\Program Files\Revit Architecture 2009\Journals) for the load failure revealed the following:

Exception occurred
ExceptionCode=0xc06d007e ExceptionFlags=0x00000000 ExceptionAddress=7C812AEB

I sought help from Autodesk but they were stumped too, and a long support ticket ended in an internal change request being submitted which I thought was a little odd as if they fail to diagnose a problem how do they know what to change?

I was left with my home machine unable to run any EC's, and this was the status for several weeks until I looked into the issue again. I discovered that on another machine that was working fine if I removed RevitAPI.dll from the Program folder then started Revit I could replicate the same behaviour - silent load failure and exactly the same entry in the journal file.

So I went back to my home machine and renamed RevitAPI.dll to RevitAPI.old (the same as removing it), started Revit (it failed as expected), then renamed it back again to its proper name, started Revit again, and now it works fine.

I have no idea why this works or what was wrong in the first place. But if you have the same problem hopefully your google search will point you this way and your problem will take minutes to solve rather than weeks!

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!