SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
ratnaparakhee
Obsidian | Level 7

Hi All

I am trying to run a program and keep getting this error.

Any idea what is causing this and how to rectify?

ratnaparakhee_0-1652978110194.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
jebjur
SAS Employee

This error can occur when a network firewall is severing the connection between the Eguide client application and the SAS Metadata server. Setting the KEEPALIVE option on the SAS Metadata server will help to prevent firewalls from disconnecting SAS Enterprise Guide client sessions. 

 

The KEEPALIVE option can only be set within a configuration file for the SAS Metadata server.

1. Go to the directory where the Metadata Server's configuration files are located.
On a Windows machine, the location is:
\<SASconfig>\LevN\SASMeta\MetadataServer\
On a Unix based machine, the location is:
/<SASconfig>/LevN/SASMeta/MetadataServer/
2. Make a backup copy of the Metadata Server's "sasv9.cfg" file.
3. Modify the Metadata Server's "sasv9.cfg" file.
4. Look for the line that begins with this text:
-objectserverparms
5. On the -objectserverparms line, specify keepalive=value between two of the existing parameters
Note: value = the time in seconds you want the packet to be sent to your Firewall.

For example:
-objectserverparms "cel=credentials protocol=bridge port=8561 keepalive=600 classfactory=0217E202-B560-11DB-AD91-001083FF6836 trustsaspeer='Path\to\trustedPeers.xml' hostknownby='machinename'"

6. Close the sasv9.cfg file and save your changes

After both of these are set, you will need to stop and restart your Metadata Server and Object Spawner. If you have additional SAS services, you must stop and start all your SAS services in the correct order.

View solution in original post

5 REPLIES 5
ratnaparakhee
Obsidian | Level 7
I am using SAS Enterprise Guide 8.2
We get the same error for SAS EG 8.4 as well.
jebjur
SAS Employee

This error can occur when a network firewall is severing the connection between the Eguide client application and the SAS Metadata server. Setting the KEEPALIVE option on the SAS Metadata server will help to prevent firewalls from disconnecting SAS Enterprise Guide client sessions. 

 

The KEEPALIVE option can only be set within a configuration file for the SAS Metadata server.

1. Go to the directory where the Metadata Server's configuration files are located.
On a Windows machine, the location is:
\<SASconfig>\LevN\SASMeta\MetadataServer\
On a Unix based machine, the location is:
/<SASconfig>/LevN/SASMeta/MetadataServer/
2. Make a backup copy of the Metadata Server's "sasv9.cfg" file.
3. Modify the Metadata Server's "sasv9.cfg" file.
4. Look for the line that begins with this text:
-objectserverparms
5. On the -objectserverparms line, specify keepalive=value between two of the existing parameters
Note: value = the time in seconds you want the packet to be sent to your Firewall.

For example:
-objectserverparms "cel=credentials protocol=bridge port=8561 keepalive=600 classfactory=0217E202-B560-11DB-AD91-001083FF6836 trustsaspeer='Path\to\trustedPeers.xml' hostknownby='machinename'"

6. Close the sasv9.cfg file and save your changes

After both of these are set, you will need to stop and restart your Metadata Server and Object Spawner. If you have additional SAS services, you must stop and start all your SAS services in the correct order.

Jagamohan456
Fluorite | Level 6

Hi Jebjur,

 

Thanks for the solution and before implementing this on server, I have one query.

Can I modify the sasv9.cfg file directly or should I do add the configuration line on the sasv9_usermods.cfg ?

 

-objectserverparms "xxxxxxx"

 

 

Thanks

Jagamohan456
Fluorite | Level 6

Read the steps again and understood.

 

 

Thanks

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 20712 views
  • 1 like
  • 4 in conversation