BookmarkSubscribeRSS Feed
Victor
Calcite | Level 5

I use the method CreateObjectByLogicalName that works perfectly well except in one case. I get a message "Access denied" yet the same user and password function normally with CreateObjectByServer method


The password contains ")." Is there a relationship? Is there a difference between these methods ?

I use Eterprise Guide and Add-In 4.3 and I connect to a server 9.2 on HP-UX

Thank's

1 REPLY 1
Victor
Calcite | Level 5

In fact, I understand now the usefulness of the method SetMetaDataFile and its impact on all SAS objects. Once the configuration files have been defined, I no longer need CreateObjectByLogicalName or CreateObjectByServer methods. Creating servers (SAS.Workspace, for example) is made by simple declaration.

obObjectFactory = New SASObjectManager.ObjectFactory
obObjectFactory.SetMetadataFile (ServerInfoFile, UserInfoFile, True)
obSAS = New SAS.Workspace



Thank's anyway

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Discussion stats
  • 1 reply
  • 825 views
  • 0 likes
  • 1 in conversation