Excel Saveas error

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Excel Saveas error

Postby Massimo Linossi » Wed Nov 20, 2019 3:56 pm

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  Expand view

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
User avatar
Massimo Linossi
 
Posts: 495
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: Excel Saveas error

Postby Jack » Fri Nov 22, 2019 9:55 am

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

Just a suggestion .
Jack
 
Posts: 282
Joined: Wed Jul 11, 2007 11:06 am

Re: Excel Saveas error

Postby Massimo Linossi » Fri Nov 22, 2019 7:44 pm

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.
User avatar
Massimo Linossi
 
Posts: 495
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 10 guests