OL2000: Script Errors and Possible Causes (268085)



The information in this article applies to:

  • Microsoft Outlook 2000

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.

MORE INFORMATION

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:

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

REFERENCES

For additional information about VBScript in Outlook, click the article number below to view the article in the Microsoft Knowledge Base:

146636 OL2000: Questions About Custom Forms and Outlook Solutions


Modification Type:MajorLast Reviewed:9/29/2003
Keywords:kbinfo KB268085