In reply to Chris Hemedinger.

I have the Profile saved in "Roaming\SAS\MetadataServerProfiles" but when I try to use it to connect to

"Set Application = WScript.CreateObject("SASEGObjectModel.Application.7.1")"

'Application.SetActiveProfile("Rodrigo O.S.")

Still with connection error.