cugetare has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I am having a bit of a problem.... I wrote a perl script that generates a report in excel. I am using cygwin perl. I made two batch files one calls perl directly and the other calls a makefile that calls perl.
Admin: make and batch work perfectly Power User: make and batch work perfectly User: batch work fine, but when i use the makefile i get this error: "Can't call method "SaveAs" on an undefined value at Y:/In/FileReport.pl line 183."
and make: *** fun error 9
Because of security reasons I am "forced" to get it to work on basic user rights.
I have also done some sort of fault tree analisis and it would come to some possibilities :
1. Restricted acces to excel services (over-ruled because batch still works)
2. Make environment somehow incompatible with basic user rights security policies (50% over-ruled because other makefiles still work under basic user rights)
3. Perl version not adequate for this such situation (20% over-ruled because it does work along with upscaling the user rights)
Can someone give me a hand with this, I am not an expert in these environments
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cygwin, make, perl, win32::ole (excel) problem
by Bloodnok (Vicar) on Dec 02, 2008 at 12:39 UTC | |
by cugetare (Initiate) on Dec 03, 2008 at 09:42 UTC | |
by Bloodnok (Vicar) on Dec 03, 2008 at 12:23 UTC | |
by cugetare (Initiate) on Dec 03, 2008 at 15:09 UTC | |
by Corion (Patriarch) on Dec 03, 2008 at 15:19 UTC | |
| |
by Bloodnok (Vicar) on Dec 03, 2008 at 16:07 UTC | |
|