.NET

.NET

Reply
Distinguished Contributor
wesbird
Posts: 351
Registered: ‎12-05-2003
Message 1 of 2 (402 Views)

Unhandled Exception C0000005(Access Violation Reading 0x0000) at address 886CEB5

402 Views, 1 Replies
12-06-2005 11:22 AM
Hi,
When I finish my .net application debug in AutoCAD, I got this error message:
Exception in acmgd.dll ARX Command
Unhandled Exception C0000005(Access Violation Reading 0x0000) at address 886CEB5h

What's reason it could be?


Thank you,
Merry Christmas

Wes
Contributor
Khalique
Posts: 14
Registered: ‎11-14-2005
Message 2 of 2 (402 Views)

Re: Unhandled Exception C0000005(Access Violation Reading 0x0000) at address 886CEB5

12-08-2005 06:45 AM in reply to: wesbird
Most likely it is because you declared a variable and used it without instantiating it.
When C# encounters an exception, it stops at the line where exception occurred. Add a try/catch block and examine the Exception object's message property. It will tell you more about the error.
try
{
Command that caused error
}
catch(Exception ex)
{
Debug.WriteLine(ex.Message);
}

Add the following using statement if not already added.
using System.Diagnotics;

kr
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.