my SAVE and SAVEAS function don't work

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

eviewsnew
Posts: 22
Joined: Fri Apr 22, 2011 2:58 pm

my SAVE and SAVEAS function don't work

Postby eviewsnew » Mon Apr 25, 2011 10:47 am

Hi expert, all of a sudden, the save and saveas button don't work. When i tried to save the program i'm editing, it gives a message box: unable to open file ".. the program i'm working on..." .

How can I fix it? should I reinstall??

thanks,

eviewsnew
Posts: 22
Joined: Fri Apr 22, 2011 2:58 pm

Re: my SAVE and SAVEAS function don't work

Postby eviewsnew » Tue Apr 26, 2011 2:37 pm

I reinstalled my Eviews7, the issue is still there. I find that, this issue only happens with the files saved on my SAS server. I can open a file from File->open, and then when I try to save it (save or save as), it says "unable to open file ".

It may be about the system setup. Any clue to this?

thanks!

Hi expert, all of a sudden, the save and saveas button don't work. When i tried to save the program i'm editing, it gives a message box: unable to open file ".. the program i'm working on..." .

How can I fix it? should I reinstall??

thanks,

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: my SAVE and SAVEAS function don't work

Postby EViews Gareth » Tue Apr 26, 2011 2:39 pm

I'm afraid you'll have to give us a great deal more detail on what it is that is happening, and when it happens.

eviewsnew
Posts: 22
Joined: Fri Apr 22, 2011 2:58 pm

Re: my SAVE and SAVEAS function don't work

Postby eviewsnew » Tue Apr 26, 2011 3:39 pm

Thanks for the reply!

The save and save as function worked fine, until a few days ago, I tried to connect my SAS server file. I copied a program and paste it in my SAS server folder for work reason. I opened Eviews and worked on the code. I used file-->open-->program.

I then tried to save the same file test.prg like what we do with MS word, excel and others. I clicked the save/save as, they gave me the message: unable to open file \sasserver\test.prg. but I was trying to "Save" but not "open", since it is already opened there.

Does it have to do with the setup? I contacted our corporate IT staff. But not sure if they know how to fix it.

My computer is connected to SAS server for a while.

Is this enough details?

thanks!

I'm afraid you'll have to give us a great deal more detail on what it is that is happening, and when it happens.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: my SAVE and SAVEAS function don't work

Postby EViews Gareth » Tue Apr 26, 2011 3:41 pm

Can you describe what you mean by a "SAS server"?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: my SAVE and SAVEAS function don't work

Postby EViews Gareth » Tue Apr 26, 2011 3:50 pm

Actually, regardless of what a SAS server is, that error message almost certainly indicates you don't have write permissions on the folder you're trying to save to. You'll have to speak to your network admin.

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: my SAVE and SAVEAS function don't work

Postby sfawver » Mon Jun 20, 2011 8:54 am

i work for the same company as eviewsnew and am having the same problem.

i've found one pattern that seems to be a bug.

eviews is unable to save a program file to a directory that has a capital letter in it. this seems to be specific to UNIX SAS server. eviews will save a program file to a shares site or the desktop if there is a capital letter in the directory name.

can you check it out?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: my SAVE and SAVEAS function don't work

Postby EViews Gareth » Mon Jun 20, 2011 9:09 am

Again, you're going to have to define what you mean by a Unix SAS server.

I assume this is just a Unix server that you happen to be using to store SAS files on, which is irrelevant. Is this the case? Or is there some flavour of Unix especially for SAS servers?

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: my SAVE and SAVEAS function don't work

Postby sfawver » Mon Jun 20, 2011 9:31 am

yes it's just a unix server.

i talked to my unix guy and he fixed it. he changed the case sensetive setting in samba. it works now.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: my SAVE and SAVEAS function don't work

Postby EViews Gareth » Mon Jun 20, 2011 9:33 am

OK. That would indicate that perhaps EViews isn't preserving case when passing off the directory to the server. We can see if we can fix that too.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: my SAVE and SAVEAS function don't work

Postby EViews Gareth » Mon Jun 20, 2011 9:54 am

Can I ask what the full path you were trying to save to was? (including case!)

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: my SAVE and SAVEAS function don't work

Postby sfawver » Mon Jun 20, 2011 10:15 am

this one works

\\Sac-psas-01\econ\riskindex\test


these ones don't work

\\Sac-psas-01\econ\riskindex\Test

\\Sac-psas-01\econ\riskindex\tEst

let us know if you patch it. my guy doesn't think the setting will impact anything else but wasn't 100% sure. thanks.

sfawver
Posts: 29
Joined: Wed Aug 25, 2010 9:15 am

Re: my SAVE and SAVEAS function don't work

Postby sfawver » Mon Jun 20, 2011 10:18 am

also interesting when i try to name the file with caps it saves it in all lower case.

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: my SAVE and SAVEAS function don't work

Postby EViews Steve » Mon Jun 20, 2011 10:36 am

It might be too late to do this as you already changed your SAMBA settings, but could you try it with a path that looks like this?

\\Sac-psas-01\econ\riskindex\Test.wf1

(basically, just specify the extension at the end of your workfile).

I've looked at our code and I'm fairly certain that the case is preserved throughout our normal Windows save process and I verified it using our own local servers. However, the display of the path on the workfile itself is always shown in lowercase.

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: my SAVE and SAVEAS function don't work

Postby EViews Steve » Mon Jun 20, 2011 10:46 am

By the way, when you re-installed EViews7, did you update it back to the latest version?

Did this start happening after a particular update?


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests