Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

illegal operation - page fault in Kernel32.dll 1

Status
Not open for further replies.

LandSurvey

Technical User
Jan 21, 2005
17
US
I periodically have the problem that when I try to open an AutoCad 14 drawing, I get an illegal operation error message. It says Acad caused an invalid page fault in Kernel32.dll. I have been able to fix it in the past by opening a new AutoCad session and inserting the corrupt file into it. Today I received the message the the file I was trying to insert was a block and it referenced itself and was therefore invalid. Does anyone know why my computer does this every couple of months and how I can fix this particular file? I use Windows 98 for an operating system. Any suggestions would be greatly appreciated.
 
Hi LandSurvey,

Windows 98 is a poor operating system for AutoCAD 14. Your best bet is to switch to WindowsNT. If you're dead set against this, at least move to Windows 98 Second Edition. Finally, when it comes to working with AutoCAD, its usually never a question of "if" you have to reinstall AutoCAD its usually a question of "when". By reinstalling, I mean rebuilding the whole machine, from the operating system up.

A couple of things that may or may not prolong times between rebuild periods:

[ol]
[li]Direct AutoCAD to swap files in its own directory, I usually setup a directory directly underneath the AutoCAD install directory (called AcadTemp) and this is where I tell AutoCAD to create all swap files, temporary files, autosaves and temporary xref copies. This prevents AutoCAD from "bumping heads" with the operating systems swap files.[/li]

[li]In the options/preferences dialog box, change your Incremental Save Percentage to 0. This forces AutoCAD to perform a complete file recalculation (instead of just appending the changes to the file) - it's slower when saving, but lessens the likelyhood of corrupting files.[/li]

[li]If you don't already have one, purchase something like Norton Utilities or Speed Disk to keep your hard drive optimized.[/li]

[li]On NT, set your page file size to 3 times the amount of RAM you have (I'm not sure if this can be done on 98 or not), but you'll see not only a slight improvement in performance, but you'll see AutoCAD will become better behaved.[/li]

[li]Stay on top of temporary files especially in the system temp directory - do not let this directory become too full - delete files in this directory every so often and then reboot the machine. Once the OS starts having a hard time swapping files, AutoCAD has even more trouble, is more likely to corrupt drawing files.[/li]
[/ol]

HTH
Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top