.NET

.NET

Reply
Distinguished Contributor
368 Posts
0 Kudos
Registered: ‎12-05-2003
Post 1 of 2

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

449 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
Vault Pro 2014, Windows 7 64 bit, AutoCAD (ACA, Map) 2014
Contributor
14 Posts
0 Kudos
Registered: ‎11-14-2005
Post 2 of 2

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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!