Desktop productivity for business analysts and programmers

SAS EG 7.1 clipboard erros

Posts: 27

SAS EG 7.1 clipboard erros

Hi Team

We are recently migrated from SAS EG 4.1 to SAs EG 7.1.

I am facing below issues. Request you ot kindly advice.

#1. I have an issue in copying and pasting program. Error says:

  OpenClipboard failed (Exception from HRESULT:0x800401D0


#2. Trying to copy & paste the RESULTS from RESULTS VIEWER generated (from PROC FREQ/ PROC TABULATE) to an Excel sheet. After copying the data values are get copied properly onto excel sheet. The values does not get into the cell of an excel sheet.

#3. While using the SEND TO EXCEL option in EG, the excel sheet gets generated for the first time. But if I use this option again, my system is getting crahed and I had to restart the system.

Kindly advice.



Community Manager
Posts: 3,362

Re: SAS EG 7.1 clipboard erros

Posted in reply to RAmarapuram

For question number 2, the difference might be due to the use of SAS Report instead of HTML as the default output result.  You can use Tools->Options, Results to change the default output destination to HTML, and see if that helps.  (Actually, I would expect SAS Report to perform better when you copy/paste results, but this is something you can try.  PROC FREQ and TABULATE both have non-standard table layouts that can be tricky.)

For the other problems, I suggest tracking these with SAS Technical Support.  They sound like a problem with the environment.  Are you running SAS Enterprise Guide in Citrix or remote desktop?  These can sometimes cause clipboard issues, and sometimes adjusting the client settings for these applications can help.


New Contributor
Posts: 2

Re: SAS EG 7.1 clipboard erros

Posted in reply to ChrisHemedinger

My department also recently migrated from SAS EG 5.1 to 7.1. We are running 32 and 64 bit versions of EG from local PCs (64 bit OS) connecting remotely to SAS on a Windows 2008 R2 server via Integrated Windows Authentication.


We are constantly experiencing the same issue as the original poster. When attempting to copy and paste code we get the following error:


Error: OpenClipboard failed (Exception from HRESULT:0x800401D0



I am currently working with SAS tech support but i am wondering if you've found a solution to your issue.




Occasional Contributor
Posts: 7

Re: SAS EG 7.1 clipboard erros


I'm able to replicate this error when using Enterprise Guide 7.1 / 7.11 while also using Notepad++. Not sure if this is a problem of collision with the "MultiClipboard" extension of Notepad++, but when I close Notepad++ I can copy/paste as expected without error messages.


Occasional Contributor
Posts: 9

Re: SAS EG 7.1 clipboard erros

Posted in reply to RAmarapuram

Hi Rajesh:


I also get the clipboard error "OpenClipboard failed (Exception from HRESULT:0x800401D0 (CLIPBRD_E_CANT_OPEN ))"


Like jb_... suggested I appear to be getting a clipboard conflict with another App.  In my case it is "Windows Powershell ISE".  When not running no clipboard error, when ISE running I get clipboard errors.  Funny thing is that sometimes in fresh Windows login session I can have both going and not get the error.  The error crops up eventually though.



SAS Employee
Posts: 9

Re: SAS EG 7.1 clipboard erros

Posted in reply to RichardADeVenezia

My name is George and I am SAS Technical Support Engineer.  Please see the following SAS Note which addresses this issue:


If you require further assistance or if the hotfix does not resolve your issues, please do not hesitate to open up a Technical Support track.

Ask a Question
Discussion stats
  • 5 replies
  • 6 in conversation