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 FileScriptingObject 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