Microsoft KB Archive/268085

= OL2000: Script Errors and Possible Causes =

Article ID: 268085

Article Last Modified on 8/8/2007

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q268085



SUMMARY
When you open an item in Outlook, such as an e-mail message, you may receive a script error. This article explains what a script error is and lists some possible known causes.



Script Errors
Outlook includes script written in Visual Basic Scripting Edition (VBScript) that you can use to create custom Outlook forms. In addition, if you are using Hypertext Markup Language (HTML) as your mail format or you receive an HTML formatted e-mail message, the HTML code in the message may contain embedded script. In both of these cases, this script is typically created by someone who wants to add functionality to a basic mail message or form.

When you open an item or click a control within an item you may encounter an error message that is caused by the custom script. These types of error messages indicate that the custom code cannot run. This can be caused by a programming error that was made in the custom script, or the script may require an additional component that is not installed on your computer.

To debug script errors, you must have a thorough knowledge of the specific script programming language and understand what the code is supposed to do. For most users, the best option is to simply click OK to acknowledge the error message. The item is typically displayed without the custom script running to completion and you can usually see the relevant data or body of the message. You may want to contact the creator of the form or e-mail message and let them know that you experienced a problem with the item. If you have programming experience, the Microsoft scripting Web site provides frequently asked questions, sample code, language documentation, and free files to download for people using the VBScript and Microsoft JScript languages. Click the following link to view the Microsoft scripting Web site:

http://msdn2.microsoft.com/en-us/library/ms950396.aspx

Known Causes of Script Errors
Microsoft is aware of a few special cases that result in scripting error messages. The following articles describe these situations:

259807 OLEXP: Script Error When You Open a Message Imported from OLEXP

235031 OL2000: Error in the Office Supplies/Equipment Requisition Form

