The GetObject function requires either a valid file name with a path specification, or the name of aclass that is registered with the system. This error has the following cause and solution:

  • The name specified for file name or class in a call to the GetObject function could not be found. Check the names and try again. Make sure the name used for the class parameter matches that registered with the system.