08-21-2017 12:45 PM - edited 08-21-2017 12:46 PM
I have a SAS EG project file (version 7.1) that I created two months ago and never had issues with it. Anyway, I opened the project today to work off of and while the project opened just fine (and the import steps were working), if I click on the program portion, I had this error: "the file associated with this view could not be located." And the program does not open.
How can this be? How can my project exist but not the program and how do I retrieve the program? Thank you all in advance for your help.
08-21-2017 12:58 PM
You may need to provide additional information. SAS will allow creating a view from an external file, such as a text file. If that external file was renamed, moved or deleted that could be a cause and would have nothing to do with EG project.
Can you export the code from the project? If so check to see if you have a reference to a view.
Another possibility, since you mention importing data, is that the import steps may not have actually completed and so you opening the code attempted to use something that was not quite available yet.
08-21-2017 03:25 PM
Thanks for your reply! So what kind of information would you need? I tried to export the code and all that exported was the code that SAS uses to export... Also, I can't even open the program without it erroring so I can't actually see its contents anymore. I can, however, verify that the import steps run in full.
08-21-2017 04:56 PM
I was hoping you'd be able to export code from the existing project to verify that there weren't any syntax issues and them possibly import that back into a new project.
I don't use EG because it is often next to an impediment in the types of ad hoc queries most of my data gets. So recovery of the odd type file projects are stored in is out of my knowledge base.
Can you get a log for someone to look at? It may provide some information.
If your organization has backup software it may be worth asking if there is a version of this project in an archive.
08-22-2017 04:18 AM
EGPs are zipped folders. In case of an emergency unzipping it could be the only way to find out what went wrong. You will find the contents of your project in numerous xml-files, code is stored in normal sas-program-files.
On opening code, i have never seen such an error message.
08-22-2017 12:51 PM
08-22-2017 02:16 PM
Hi there, I checked to see if the file was embedded and it seems to be embedded. Does it make sense to receive this error given that the program is indeed embedded in the project file?
08-22-2017 03:36 PM