Excel Saveas error

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Excel Saveas error

Post by Massimo Linossi »

Hi.
I have a problem that is really strange. On my machine, a normal win10, I make a little program for saving a table in excel file
and it work perfectly. On the server where I place the same program, with the same excel version, this little function is giving
this error :

Code: Select all

Error: Impossibile trovare la proprietà SaveAs per la classe Workbook. (0x800A03EC)
operation: SAVEAS
filename: Microsoft Excel
[ 1] = C c:\temp\Export_Excel.xls
[ 2] = N -4143
called from: ../../../apache.prg, (b)MAIN, line: 35
called from: TOLEAUTO:SAVEAS, line: 0
called from: pcode.hrb, ELABORAEXCEL, line: 127
called from: pcode.hrb, MAIN, line: 15
called from: HB_HRBDO, line: 0
called from: ../../../apache.prg, EXECUTE, line: 101
called from: ../../../apache.prg, MAIN, line: 46
 
Has someone an idea of how this is happening ?
Thanks a lot in advance
Massimo
Jack
Posts: 249
Joined: Wed Jul 11, 2007 11:06 am

Re: Excel Saveas error

Post by Jack »

Hi ,
Are you shure you have the right to write in this map : c:\temp

Just a suggestion .
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: Excel Saveas error

Post by Massimo Linossi »

Hi Jack.
Yes. I have all the permissions.
The problem is on one machine and not in another. Now I'm moving all the programs in this new server and the problem is solved.
But that was really strange.
Thanks for your suggestion and your time.
Post Reply