Architecting, installing and maintaining your SAS environment

Issue with Windows Opening SAS Files

Reply
Occasional Contributor
Posts: 5

Issue with Windows Opening SAS Files

Just installed brand new SAS 9.3 on my Window 7 machine. When I right click on my SAS program (.sas file) and select to open with SAS 9.3 it DOES NOT open in SAS 9.3.  All it says is "Insufficient authorization to access C:\Windows\system32\program.log".  If I double click on the code (.sas file) it runs a Batch and produces the SAS output but does not open SAS completely.

If I open SAS first and simply open the program from within SAS it opens fine.
But I should just be able to click on a program and have it open.
Why is it doing this?
How can I fix this?

 

Anyone experience this issue?

 

Thanks!

Trusted Advisor
Posts: 1,322

Re: Issue with Windows Opening SAS Files

[ Edited ]
Posted in reply to Elise8305

Hi,

 

have you already tried what this SAS Note recommends? http://support.sas.com/kb/45/779.html

Trusted Advisor
Posts: 1,117

Re: Issue with Windows Opening SAS Files

Posted in reply to JuanS_OCS

@JuanS_OCS: I think an unwanted trailing blank makes your link less functional.

Trusted Advisor
Posts: 1,322

Re: Issue with Windows Opening SAS Files

Posted in reply to FreelanceReinhard

Thanks for that @FreelanceReinhard!

 

The link is now fixed

Trusted Advisor
Posts: 1,117

Re: Issue with Windows Opening SAS Files

Posted in reply to Elise8305

Hi @Elise8305,

 

I would recommend to associate .sas files with the SAS Universal Viewer rather than SAS itself. Oftentimes you'll want to just quickly open an old program to look up or to copy something, which doesn't require a whole new SAS session to start up. Even Notepad would be sufficient for that, but the SAS Universal Viewer has the advantage of syntax highlighting.

Occasional Contributor
Posts: 5

Re: Issue with Windows Opening SAS Files

Posted in reply to Elise8305

My employer was able to fix my system but I am not sure what they did to get it working.

 

Thanks for your responses!

Kia

Ask a Question
Discussion stats
  • 5 replies
  • 337 views
  • 0 likes
  • 3 in conversation