Desktop productivity for business analysts and programmers

Unable to connect to SAS Enterprise Guide Local Server

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

Unable to connect to SAS Enterprise Guide Local Server

Hello!,

 

I am new to SAS. I installed SAS EG 7.1 64 bit successfully 7 months on my desktop and it has been working fine until now. I am unable to connect to my local server. The follow error message is shown when I try to connect.

 

"An unexpected error has occurred". "A connection could not be made to the requested resource"

 

Please Help.

Thank you

 

 

 

 


Accepted Solutions
Solution
‎01-12-2017 03:48 PM
New Contributor
Posts: 4

Re: Unable to connect to SAS Enterprise Guide Local Server

Hi Casy,

 

The SAS message Log confirmed that the license has expired. I have contacted my SAS Installation representative. Thanks a million.

 

View solution in original post


All Replies
Super User
Posts: 1,102

Re: Unable to connect to SAS Enterprise Guide Local Server

Hi @ormis66,

 

while I would say that the problem is that you don;t have a local SAS Foundation or your license expired, I would definetely click on see additional details...

New Contributor
Posts: 4

Re: Unable to connect to SAS Enterprise Guide Local Server

So i clicked on "Additional Details" is what i found.

 

 

Problem report created: Wednesday, January 11, 2017 4:23:48 PM UTC

SAS Enterprise Guide
An unexpected error has occurred
A connection could not be made to the requested resource.

-------------------------------------------------------------------------------------------------------
Exception information
-------------------------------------------------------------------------------------------------------

Server execution failed



-------------------------- Technical Information Follows --------------------------

Exception Details:
----------------------------------------
Exception type:  SAS.EG.SDS.SDSException
Message:         Server execution failed

Source:          SAS.EG.SDS.Model
Target Site:     SASWorkspace

Stack Trace:
   at SAS.EG.SDS.Model.Server.SASWorkspace(Boolean checkWorkspace)
   at SAS.EG.SDS.Views.View.DoPopulate(DisplayOperation& op)

Inner Exception Details:
----------------------------------------
Exception type:  SAS.EC.Directory.Model.SDSException
Message:         Server execution failed

Source:          EC.Directory
Target Site:     Connect

Inner Exception Details:
----------------------------------------
Exception type:  System.Runtime.InteropServices.COMException
Message:         Server execution failed

Source:          SASObjectManager
Target Site:     CreateObjectByServer

Stack Trace:
   at SASObjectManager.ObjectFactoryMulti2Class.CreateObjectByServer(String Name, Boolean synchronous, IServerDef pIServerDef, String LoginName, String Password)
   at SAS.EC.Directory.Model.Server.Connect(ConnectionInfo connInfo)

--------------------------------------------------------------------------------------------------------
Configuration Details
--------------------------------------------------------------------------------------------------------

Trusted Advisor
Posts: 1,059

Re: Unable to connect to SAS Enterprise Guide Local Server

If you have the ability to just run SAS, do that. The initialization messages might be useful.

 

For instance, it used to be that if the license had expired for SAS, EG would just fail and not provide any useful diagnostics.

New Contributor
Posts: 4

Re: Unable to connect to SAS Enterprise Guide Local Server

Hi TomKeri,

 

Is there a definite way to check if the license has expired? The license is suppored to be for a year.

 

Thank you

 

Regular Contributor
Posts: 211

Re: Unable to connect to SAS Enterprise Guide Local Server

Hi,

 

Upon trying to start SAS, if your license had expired, you'll get notified immediatly, and your process terminates.

 

Ahmed

Contributor
Posts: 32

Re: Unable to connect to SAS Enterprise Guide Local Server

Omri -
Are you certain that the "local server" or the Metadata Server is up and running? A screenshot could be worth a thousand words in this case, but if your license is good for a year then you should check that the system (platform?) is functioning properly.
SAS Super FREQ
Posts: 272

Re: Unable to connect to SAS Enterprise Guide Local Server

I agree with the suggestion of first trying to open your local SAS directly (ex. Start->All Programs->"SAS 9.4 (<language>)").  If it doesn't work, there is your problem.

 

However, if you are able to start and use local SAS fine outside of EG, but still fails to connect to Local server from within EG, then I suggest trying to re-register your local SAS by running these commands from a command window:

C:\Program Files\SAS\SASFoundation\9.4\sas.exe -unregserver

C:\Program Files\SAS\SASFoundation\9.4\sas.exe -regserver

 

If that doesn't fix the problem, then use the Integration Technologies Configuration Wizard utility (C:\Program Files\SASHome\x86\Integration Technologies\ITConfig2.exe) to test a local server connection ("Test SAS Servers"->"Enter a SAS server definition manually"->ensure Currently Testing set to "SAS Workspace Server"->set connection Protocol to "COM" and press "Test" button.).

Solution
‎01-12-2017 03:48 PM
New Contributor
Posts: 4

Re: Unable to connect to SAS Enterprise Guide Local Server

Hi Casy,

 

The SAS message Log confirmed that the license has expired. I have contacted my SAS Installation representative. Thanks a million.

 

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 8 replies
  • 1290 views
  • 8 likes
  • 6 in conversation