You attempted to use an object that has not been marked safe for scripting. The set of objects that are safe to create is determined by the host. Generally, objects that allow untrusted scripts to do harmful actions (like access the hard disk) are considered unsafe.

For example, the FileSystemObject is not safe to run using Microsoft Internet Explorer as your client, but you can use this object on your local machine with Windows Script Host.

To correct this error

  • Make sure you are using a safe object.

  • Contact the developer of the object to see if there is a safe version.

  • You can find out if an object is safe by reading the object's documentation.