Your SAS programs, embedded in web apps and elsewhere

ERROR: Stored Process Server environment not available

Reply
Contributor
Posts: 33

ERROR: Stored Process Server environment not available

Hi,
when I try to create a session in a SAS Stored Process with the code below:

data _null_;
file _webout;
if libref('SAVE') ne 0 then rc = stpsrv_session('create');
...
run;

upon execution through SAS Portal I get the following error messages:

ERROR: Stored Process Server environment not available
ERROR: Internal error detected in function STPSRV_SESSION. The DATA step is terminating during the EXECUTION phase.

Do I miss something in my code or this is a configuration issue and I should ask help for SAS Support ?

Thanks a lot.
SAS Super FREQ
Posts: 306

Re: ERROR: Stored Process Server environment not available

What type of server is the stored process executing on?

Vince DelGobbo
SAS R&D
Contributor
Posts: 33

Re: ERROR: Stored Process Server environment not available

Posted in reply to Vince_SAS
Hi Vince,

it's a Windows 64 bit server (WX64_E).

Thanks.
SAS Super FREQ
Posts: 306

Re: ERROR: Stored Process Server environment not available

Sorry, I should have been clearer.

Is this a stored process server or a workspace server?

Vince DelGobbo
SAS R&D
Contributor
Posts: 33

Re: ERROR: Stored Process Server environment not available

Posted in reply to Vince_SAS
It's SAS Stored Process Server. I am not sure, but I think it is not possible to create sessions on the Workspace Server.
SAS Super FREQ
Posts: 306

Re: ERROR: Stored Process Server environment not available

Yes, session support is only available for STP servers.

I suggest that you open a track with our Technical Support department:

http://support.sas.com/ctx/supportform/createForm

Be sure to include the full SAS log.

Good luck.

Vince DelGobbo
SAS R&D
Ask a Question
Discussion stats
  • 5 replies
  • 462 views
  • 0 likes
  • 2 in conversation