Actions

The following is a categorical list of all of the error codes that may be returned when calling actions in AutoPlay Media Studio:

Note: All of the error code messages are stored in a table called _tblErrorMessages and can be accessed by their error code index. For example, accessing the table index _tblErrorMessages[1000] will access the error code string "The specified file could not be found."

(9999) Unknown Error Codes

(1000-1099) File Related

(1100-1199) Generic Object Related

(1200-1299) Audio Related

(1300-1399) Page Related

(1400-1499) Status Dialog Related

(1500-1599) INI File Related

(1600-1699) Registry Related

(1700-1799) ListBox Related

(1800-1899) System Related

(1900-1999) Text File Related

(2000-2099) Window Related

(2100-2199) Drive Related

(2200-2299) Folder Action Related

(2300-2399) Shell Action Related

(2400-2499) DLL Related

(2500-2599) HTTP Related

(2600-2699) ZIP File Related

(2700-2799) Dialog Related

(2800-2899) Application Related

(2900-2999) Internal Function Related

(3000-3099) String Related

(3300-3399) Math Related

Unknown Error Codes (9999)

9999

"Unknown error."

File Related (1000-1099)

1000

"The specified file could not be found."

1001

"Failed to load file."

1002

"The specified path was not found."

1003

"The .exe file is invalid (non-Win32 .exe or error in .exe image)."

1004

"The operating system denied access to the specified file."

1005

"The file name association is incomplete or invalid."

1006

"The DDE transaction could not be completed because other DDE transactions were being processed."

1007

"The DDE transaction failed."

1008

"The DDE transaction could not be completed because the request timed out."

1009

"The specified dynamic-link library was not found."

1011

"There is no application associated with the given file name extension. This error will also be returned if you attempt to print a file that is not printable."

1012

"There was not enough memory to complete the operation."

1013

"File execution failed."

1014

"A sharing violation occurred."

1015

"Could not determine viewer class name."

1016

"Could not determine viewer command line."

1017

"Associated viewer was not an executable file."

1018

"Associated viewer executable does not exist."

1019

"Invalid source specified."

1020

"Invalid destination specified."

1021

"Source file(s) does not exist."

1022

"Destination directory does not exist."

1023

"Failed to copy one or more files."

1024

"Failed to delete one or more files."

1025

"Failed to schedule delete on reboot."

1026

"Failed to schedule move on reboot."

1027

"Operation aborted by user."

1028

"An error occurred while calling the callback function."

1029

"Error, the callback function could not be found."

1030

"Could not get the size of the version information."

1031

"Could not get the file version information."

1032

"The specified filename contains invalid characters."

1033

"The destination file already exists."

1034

"An unknown error occurred."

1035

"Run on reboot command failed, could not open key."

1036

"Run on reboot command failed, could not set value."

1037

"Could not set the file's attributes."

1038

"Could not set file's compressed attribute."

1039

"Could not create destination Folder."

1040

"Could not create a backup of one or more files."

1041

"Out of memory."

Generic Object Related (1100-1199)

1100

"The specified object could not be found."

1101

"Play command failed."

1102

"Pause command failed."

1103

"Media does not support seeking."

1104

"Seek command failed."

1105

"Stop command failed."

1106

"Could not display dialog."

1107

"File is to large to read."

1108

"The specified file could not be opened"

1109

"The image file could not be found"

1110

"Could not determine the size of the media."

1115

"Exception thrown by internal control."

1118

"Action cannot be performed on disabled object."

Audio Related (1200-1299)

1200

"The specified channel is out of range."

1201

"Audio channel is not loaded."

1202

"Set volume command failed."

1203

"Could not determine volume level."

1204

"Error CHANNEL_ALL not supported for the Audio.Load action."

1205

"Error CHANNEL_ALL not supported for the Audio.GetVolume action."

1206

"Error CHANNEL_ALL not supported for the Audio.GetCurrentPos action."

1207

"Error CHANNEL_ALL not supported for the Audio.Seek action."

1208

"Could not determine audio file's length."

1209

"Could not determine the playback position."

1210

"Error CHANNEL_ALL not supported for the Audio.GetOggTags action."

1211

"Error sound system not initialized."

1212

"Error file does not appear to be of type Ogg-Vorbis."

Page Related (1300-1399)

1300

"The specified page does not exist."

1301

"Could not resolve the current page."

Status Dialog Related (1400-1499)

1400

"Could not show status dialog."

1401

"Could not hide status dialog."

1402

"Could not set the status text on the status dialog."

1403

"Could not set the progress meter's range on the status dialog."

1404

"Could not set the progress meter's position on the status dialog."

1405

"Could not set the message text on the status dialog."

1406

"Could not set the title text on the status dialog."

1407

"Could not get the position of the progress meter."

INI File Related (1500-1599)

1500

"Could not delete the specified INI file section."

1501

"Could not delete the specified INI file value."

1502

"Could not set the specified value."

Registry Related (1600-1699)

1600

"Could not create the specified Registry key."

1601

"Could not delete the specified Registry key."

1602

"Could not delete the specified Registry value."

1603

"The specified sub key does not exist."

1604

"Could not get the sub key names."

1605

"Could not get the specified value's data."

1606

"Could not get the value names."

1607

"Could not get the registry value's type."

1608

"Could not set the specified registry value's data."

ListBox Related (1700-1799)

1700

"Could not add item to ListBox object."

1701

"Could not insert item into ListBox object."

1702

"Index out of range"

System Related (1800-1899)

1800

"Could not get the OS Version information."

1801

"Could not reboot system. OS information not available."

1802

"Failure in LoadLibrary()."

1803

"GetProcAddress failed."

1804

"Failure code returned by DllRegisterServer."

1805

"Error in call to LoadTypeLib."

1806

"Error in call to RegisterTypeLib."

1807

"Error, font name cannot be empty."

1808

"Invalid font name."

1809

"Failed to add font to system font table."

1810

"Failed to add font to registry."

1811

"Failed to remove font from system font table."

1812

"Failed to remove font from registry."

1813

"Could not retrieve user information."

1814

"Unknown date format specified."

1815

"Unknown time format specified."

1816

"Unable to determine default language ID."

1817

"Unable to determine display info."

1818

"The server was unable to complete the registration of all the type libraries used by its classes."

1819

"The server was unable to complete the registration of all the object classes."

1820

"The server was unable to remove the entries of all the type libraries used by its classes."

1821

"The server was unable to remove the entries of all the object classes."

1822

"Failure code returned by DllUnregisterServer."

Text File Related (1900-1999)

1900

"Could not open text file."

1901

"The text file is too large to be read."

1902

"Error, could not save text file."

Window Related (2000-2099)

2000

"Error, window handle is not valid."

2001

"Error, could not hide window."

2002

"Error, could not maximize window."

2003

"Error, could not minimize window."

2004

"Error, could not restore window."

2005

"Error, could not show window."

Drive Related (2100-2199)

2100

"Error, could not eject drive, action not supported."

2101

"Error, could not calculate free space."

2102

"Error, could not calculate total size."

2103

"Error, could not calculate used space."

Folder Action Related (2200-2299)

2200

"Could not create folder."

2201

"The specified folder does not exist."

2202

"The specified path does not point to a folder."

2203

"Could not delete folder."

2204

"Could not set the current folder."

2205

"The destination folder already exists."

2206

"The folder name contains invalid characters."

2207

"Could not delete base folder."

Shell Action Related (2300-2399)

2300

"Could not create folder for shortcut."

2301

"Could not create the link for the shortcut."

2302

"Error, the shortcut description is longer then 250 characters."

2303

"Shortcut could not be deleted."

2304

"Unknown shell folder."

2305

"The folder returned is invalid."

DLL Related (2400-2499)

2400

"Failed to load the specified DLL."

2401

"Failed to find the specified function within the DLL."

HTTP Related (2500-2599)

2500

"Failed to create the Internet session."

2501

"Failed to create the Internet connection."

2502

"Could not open request."

2503

"Send request failed."

2504

"Could not open the destination file for writing."

2505

"Invalid HTTP response from server."

2506

"An error occurred when downloading information from the server."

2507

"An error occurred while trying to write to the destination file."

2508

"The user has aborted the action."

2510

"An error occurred when trying to write to memory. (Out of memory?)"

2511

"An error occurred when trying to set the proxy username."

2512

"An error occurred when trying to set the proxy password."

2513

"The request could not be understood by the server. (Bad Syntax)"

2514

"Access is forbidden."

2515

"The requested URL was not found on the server."

2516

"An internal server error has occurred."

2517

"The server is at full capacity."

ZIP File Related (2600-2699)

Zip File Errors

2600

"Could not reenter the zip file."

2601

"Unexpected end of zip file."

2602

"Zip file structure error."

2603

"Out of memory."

2604

"Internal logic error."

2605

"Entry too large to split."

2606

"Invalid comment format."

2607

"Zip test failed or out of memory."

2608

"User cancelled."

2609

"An error occurred when using a temp file."

2610

"A read or seek error occurred."

2611

"No files were added to the zip file."

2612

"Missing or empty zip file."

2613

"Error writing to a file."

2614

"Couldn't open to write."

2615

"Bad control parameters."

2616

"Could not complete operation."

2617

"Could not open a specified file to read."

2618

"Media error. Disk not ready, hardware read/write error."

2619

"Bad Multi-Volume control parameters."

2620

"Improper usage of a Multi-Volume Zip File."

Unzip File Errors

2621

"Unexpected end of zip file, the zip file may be corrupted."

2622

"The internal structure of the zip file is invalid."

2623

"Out of memory, not enough memory was available to complete the action."

2624

"The zip file could not be found."

2625

"There was nothing to extract in the unzip action."

2626

"An error occurred when trying to extract to the same volume."

2627

"The index specified in the zip file was out of bounds."

2628

"An error occurred when creating the output file."

2629

"An error occurred when opening the zip file. The zip file may be locked or unavailable."

2630

"An extracted file has an incorrect CRC value and may be corrupted."

2631

"The operation has been canceled."

2632

"A file was skipped during the extraction because it is encrypted and no password was specified, or the password was incorrect."

2633

"A file was skipped because it used an unknown compression format."

2634

"Bad or missing decrypt code, either no password was specified, or the password was incorrect.."

2635

"Busy error, the zip file could not be entered."

2636

"Could not extract volume ID item."

2637

"A bad command structure was used when attempting to unzip the file."

2638

"The operation was canceled through an internal function."

2639

"One or more of the files was skipped during the extraction phase. Usually this is caused by an incorrect password."

2640

"The destination disk was full, and no more information could be written to it."

2641

"The destination folder could not be created."

Dialog Related (2700-2799)

2700

"Could not register window class to create splash dialog."

2701

"Could not create Flash splash dialog."

2702

"Could not create image splash dialog."

2703

"Could not create video splash dialog."

Application Related (2800-2899)

2800

"An error occurred getting the current page name. No current page."

2801

"Could not load value."

2802

"Could not save value."

2803

"Error, could not get applications window handle."

Internal Function Related (2900-2999)

2900

"An internal error occurred resolving the specified function."

2901

"A runtime error occurred while calling the function."

2902

"A memory allocation error occurred while calling the function."

String Related (3000-3099)

3000

"An invalid index has been specified. Indices must be greater than or equal to -1."

3001

"The specified path is longer then MAX_PATH, or 260 characters."

Math Related (3300-3399)

3300

"The specified math value is not valid for the given function. "