Error Messages/41240
Example Message
System Error: Cannot write the file "C:\MyModels\Modules\Temp of Expense Module.ana" due to a disk error (-193).
Cause
A file operation failed as a result of some sort of generic and rare disk error. Most of the more common reasons for a failure of a file operation produce more specific error messages, though this one isn't seen very often. Some bad things, such as hardware failures or actual errors on the hard disk surface, can cause this to appear.
The number at the end provides some clues (but not always a lot) about the nature of the error. It is basically a code that comes directly from the underlying operating system. The following list of generic error codes (not all of which would necessarily trigger this error) is the best information available for zeroing in on the underlying cause:
evtNotEnb 1 /*event not enabled at PostEvent*/ controlErr -17 /*I/O System Errors*/ statusErr -18 /*I/O System Errors*/ readErr -19 /*I/O System Errors*/ writErr -20 /*I/O System Errors*/ badUnitErr -21 /*I/O System Errors*/ unitEmptyErr -22 /*I/O System Errors*/ openErr -23 /*I/O System Errors*/ closErr -24 /*I/O System Errors*/ dRemovErr -25 /*tried to remove an open driver*/ dInstErr -26 /*DrvrInstall couldn't find driver in resources*/ abortErr -27 /*IO call aborted by KillIO*/ iIOAbortErr -27 /*IO abort error (Printing Manager)*/ notOpenErr -28 /*Couldn't rd/wr/ctl/sts cause driver not opened*/ unitTblFullErr -29 /*unit table has no more entries*/ dceExtErr -30 /*dce extension error*/ dirFulErr -33 /*Directory full*/ dskFulErr -34 /*disk full*/ nsvErr -35 /*no such volume*/ ioErr -36 /*I/O error (bummers)*/ bdNamErr -37 /*there may be no bad names in the final system!*/ fnOpnErr -38 /*File not open*/ eofErr -39 /*End of file*/ posErr -40 /*tried to position to before start of file (r/w)*/ mFulErr -41 /*memory full (open) or file won't fit (load)*/ tmfoErr -42 /*too many files open*/ fnfErr -43 /*File not found*/ wPrErr -44 /*diskette is write protected.*/ fLckdErr -45 /*file is locked*/ vLckdErr -46 /*volume is locked*/ fBsyErr -47 /*File is busy (delete)*/ dupFNErr -48 /*duplicate filename (rename)*/ opWrErr -49 /*file already open with with write permission*/ rfNumErr -51 /*refnum error*/ gfpErr -52 /*get file position error*/ volOffLinErr -53 /*volume not on line error (was Ejected)*/ permErr -54 /*permissions error (on file open)*/ volOnLinErr -55 /*drive volume already on-line at MountVol*/ nsDrvErr -56 /*no such drive (tried to mount a bad drive num)*/ noMacDskErr -57 /*not a mac diskette (sig bytes are wrong)*/ extFSErr -58 /*volume in question belongs to an external fs*/ fsRnErr -59 /*file system internal error:during rename the old entry was deleted but could not be restored.*/ badMDBErr -60 /*bad master directory block*/ wrPermErr -61 /*write permissions error*/ fontDecError -64 /*error during font declaration*/ lastDskErr -64 /*I/O System Errors*/ noDriveErr -64 /*drive not installed*/ fontNotDeclared -65 /*font not declared*/ offLinErr -65 /*r/w requested for an off-line drive*/ fontSubErr -66 /*font substitution occurred*/ noNybErr -66 /*couldn't find 5 nybbles in 200 tries*/ noAdrMkErr -67 /*couldn't find valid addr mark*/ dataVerErr -68 /*read verify compare failed*/ badCksmErr -69 /*addr mark checksum didn't check*/ badBtSlpErr -70 /*bad addr mark bit slip nibbles*/ noDtaMkErr -71 /*couldn't find a data mark header*/ badDCksum -72 /*bad data mark checksum*/ badDBtSlp -73 /*bad data mark bit slip nibbles*/ wrUnderrun -74 /*write underrun occurred*/ cantStepErr -75 /*step handshake failed*/ tk0BadErr -76 /*track 0 detect doesn't change*/ initIWMErr -77 /*unable to initialize IWM*/ twoSideErr -78 /*tried to read 2nd side on a 1-sided drive*/ spdAdjErr -79 /*unable to correctly adjust disk speed*/ seekErr -80 /*track number wrong on address mark*/ sectNFErr -81 /*sector number never found on a track*/ fmt1Err -82 /*can't find sector 0 after track format*/ fmt2Err -83 /*can't get enough sync*/ firstDskErr -84 /*I/O System Errors*/ verErr -84 /*track failed to verify*/ clkRdErr -85 /*unable to read same clock value twice*/ clkWrErr -86 /*time written did not verify*/ prWrErr -87 /*parameter ram written didn't read-verify*/ prInitErr -88 /*InitUtil found the parameter ram uninitialized*/ rcvrErr -89 /*SCC receiver error (framing; parity; OR)*/ breakRecd -90 /*Break received (SCC)*/ memROZWarn -99 /*soft error in ROZ*/ memROZError -99 /*hard error in ROZ*/ memROZErr -99 /*hard error in ROZ*/ noScrapErr -100 /*No scrap exists error*/ noTypeErr -102 /*No object of that type in scrap*/ memFullErr -108 /*Not enough room in heap zone*/ nilHandleErr -109 /*Master Pointer was NIL in HandleZone or other*/ memAdrErr -110 /*address was odd; or out of range*/ memWZErr -111 /*WhichZone failed (applied to free block)*/ memPurErr -112 /*trying to purge a locked or non-purgeable block*/ memAZErr -113 /*Address in zone check failed*/ memPCErr -114 /*Pointer Check failed*/ memBCErr -115 /*Block Check failed*/ memSCErr -116 /*Size Check failed*/ memLockedErr -117 /*trying to move a locked block (MoveHHi)*/ dirNFErr -120 /*Directory not found*/ tmwdoErr -121 /*No free WDCB available*/ badMovErr -122 /*Move into offspring error*/ wrgVolTypErr -123 /*Wrong volume type error [operation not supported for MFS]*/ volGoneErr -124 /*Server volume has been disconnected.*/ updPixMemErr -125 /*insufficient memory to update a pixmap*/ noMemForPictPlaybackErr -145 rgnTooBigError -147 pixMapTooDeepErr -148 nsStackErr -149 cMatchErr -150 /*Color2Index failed to find an index*/ cTempMemErr -151 /*failed to allocate memory for temporary structures*/ cNoMemErr -152 /*failed to allocate memory for structure*/ cRangeErr -153 /*range error on colorTable request*/ cProtectErr -154 /*colorTable entry protection violation*/ cDevErr -155 /*invalid type of graphics device*/ cResErr -156 /*invalid resolution for MakeITable*/ badExtResource -185 /*extended resource has a bad format.*/ CantDecompress -186 /*resource bent ("the bends") - can't decompress a compressed resource*/ resNotFound -192 /*Resource not found*/ resFNotFound -193 /*Resource file not found*/ addResFailed -194 /*AddResource failed*/ addRefFailed -195 /*AddReference failed*/ rmvResFailed -196 /*RmveResource failed*/ rmvRefFailed -197 /*RmveReference failed*/ resAttrErr -198 /*attribute inconsistent with operation*/ mapReadErr -199 /*map inconsistent with operation*/ noHardware -200 /*obsolete spelling*/ notEnoughHardware -201 /*obsolete spelling*/ queueFull -203 /*Sound Manager Error Returns*/ resProblem -204 /*Sound Manager Error Returns*/ badChannel -205 /*Sound Manager Error Returns*/ badFormat -206 /*Sound Manager Error Returns*/ notEnoughBufferSpace -207 /*could not allocate enough memory*/ badFileFormat -208 /*was not type AIFF or was of bad format,corrupt*/ channelBusy -209 /*the Channel is being used for a PFD already*/ buffersTooSmall -210 /*can not operate in the memory allowed*/ channelNotBusy -211 noMoreRealTime -212 /*not enough CPU cycles left to add another task*/ siNoSoundInHardware -220 /*no Sound Input hardware*/ siBadSoundInDevice -221 /*invalid index passed to SoundInGetIndexedDevice*/ siNoBufferSpecified -222 /*returned by synchronous SPBRecord if nil buffer passed*/ siInvalidCompression -223 /*invalid compression type*/ siHardDriveTooSlow -224 /*hard drive too slow to record to disk*/ siInvalidSampleRate -225 /*invalid sample rate*/ siInvalidSampleSize -226 /*invalid sample size*/ siDeviceBusyErr -227 /*input device already in use*/ siBadDeviceName -228 /*input device could not be opened*/ siBadRefNum -229 /*invalid input device reference number*/ siInputDeviceErr -230 /*input device hardware failure*/ siUnknownInfoType -231 /*invalid info type selector (returned by driver)*/ siUnknownQuality -232 /*invalid quality selector (returned by driver)*/ slotNumErr -360 /*invalid slot # error*/ gcrOnMFMErr -400 /*gcr format on high density media error*/ rgnTooBigErr -500 fidNotFound -1300 /*no file thread exists.*/ fidExists -1301 /*file id already exists*/ notAFileErr -1302 /*directory specified*/ diffVolErr -1303 /*files on different volumes*/ catChangedErr -1304 /*the catalog has been modified*/ desktopDamagedErr -1305 /*desktop database files are corrupted*/ sameFileErr -1306 /*can't exchange a file with itself*/ badFidErr -1307 /*file id is dangling or doesn't match with the file number*/ envNotPresent -5500 /*returned by glue.*/ envBadVers -5501 /*Version non-positive*/ envVersTooBig -5502 /*Version bigger than call can handle*/ pictInfoVersionErr -11000 /*wrong version of the PictInfo structure*/ pictInfoIDErr -11001 /*the internal consistancy check for the PictInfoID is wrong*/ pictInfoVerbErr -11002 /*the passed verb was invalid*/ cantLoadPickMethodErr -11003 /*unable to load the custom pick proc*/ colorsRequestedErr -11004 /*the number of colors requested was illegal*/ pictureDataErr -11005 /*the picture data was invalid*/ pmBusyErr -13000 /*Power Mgr never ready to start handshake*/ pmReplyTOErr -13001 /*Timed out waiting for reply*/ pmSendStartErr -13002 /*during send pmgr did not start hs*/ pmSendEndErr -13003 /*during send, pmgr did not finish hs*/ pmRecvStartErr -13004 /*during receive, pmgr did not start hs*/ pmRecvEndErr -13005 /*during receive, pmgr did not finish hs configured for this connection*/ fontNotOutlineErr -32615 /*bitmap font passed to routine that does outlines only*/
Since many of these errors are due to hardware failures that were detected by the operating system, another place to look for more information is in the Windows Event Viewer application (usually found with Administration Tools). In some cases, the operating system will log information on hardware errors detected there.
Missing Analytica.ini
If you see this (-43) error when starting Analytica:
System error: Cannot open the file "C:\Users\Joe\My Documents\MyPreferences.ini" due to a disk error (-43)
The specific file path will differ, of course. This particular error is most likely caused when a registry key is configured incorrectly, and the indicated preferences file does not exist. The disk error (-43) is misleading in this case, since it really should say "file not found". When Analytica starts up, it reads a preference file that is usually called Analytica.ini
. It finds this file by looking at the registry value in one of the following locations:
HKLM/Software/Lumina Decision Systems/Analytica/4.3/Preferences HKLM/Software/Wow6432Node/Lumina Decision Systems/Analytica/4.3/Preferences HKCU/Software/Lumina Decision Systems/Analytica/4.3/Preferences HKCU/Software/Lumina Decision Systems/Analytica/4.3x64/Preferences
(The 4.3 part will be whatever release of Analytica you are using). The specific place depends on whether you installed as an admin, whether you are using Windows 64-bit or Windows 32-bit, and whether you are using Analytica 32-bit or 64-bit. If Analytica finds a Preferences value in both the HKLM and HKCU hives, both will be loaded.
The Preferences key(s) contain (or should contain) a file path to an Analytica.ini
file. If this registry key is set wrong, so that the file it points to does not exist, the disk error (-43) message shows above displays when Analytica starts up.
The Preferences registry key is set by the installer. It may become invalid if you attempt to twiddle it or customize it from RegEdit.
Remedies
Check the hardware and software requirements of your system, verify that your Analytica Registry Settings are set as required, update your personalized defaults and preferences, and if needed, reinstall Analytica.
Enable comment auto-refresher