Hello,
I am working on a v9 web application, and am generating a simple report, the sample code is given below:
filename = report.saveas("Invoice@[PathAlias.ADB_Path]\invoice.set", "pdf", filter, order, filename, .f.)
if file.exists(filename)
response.redirect(session.session_url + "tempreport.pdf?" + time("hms3"))
end if
This works fine locally, but in the server, the report does not get generated. When i click on the button to generate the report, the page does not do anything, i was confused, and when i remote logged into the server, i saw a screen like the one attached, 'OutputFilename.png', when i entered a value like 'test.pdf' and clicked on OK, two things happen,
1. The test.pdf gets created in C:\Administrator Setting\Document, when i open the pdf its just fine
2. the browser page gets loaded, of course without opening the pdf as the pdf is not getting created in the desired folder
The other thing i observed, when i try to check the properties of the Alpha Five printer, i get this 'Printer Not Activated' message, which i have attached.
I tried all the possibilities like removing & installing the application server twice, but that did not help me. Kindly advice.
Thanks in advance for your valuable time.
Cheers
Vasan
I am working on a v9 web application, and am generating a simple report, the sample code is given below:
filename = report.saveas("Invoice@[PathAlias.ADB_Path]\invoice.set", "pdf", filter, order, filename, .f.)
if file.exists(filename)
response.redirect(session.session_url + "tempreport.pdf?" + time("hms3"))
end if
This works fine locally, but in the server, the report does not get generated. When i click on the button to generate the report, the page does not do anything, i was confused, and when i remote logged into the server, i saw a screen like the one attached, 'OutputFilename.png', when i entered a value like 'test.pdf' and clicked on OK, two things happen,
1. The test.pdf gets created in C:\Administrator Setting\Document, when i open the pdf its just fine
2. the browser page gets loaded, of course without opening the pdf as the pdf is not getting created in the desired folder
The other thing i observed, when i try to check the properties of the Alpha Five printer, i get this 'Printer Not Activated' message, which i have attached.
I tried all the possibilities like removing & installing the application server twice, but that did not help me. Kindly advice.
Thanks in advance for your valuable time.
Cheers
Vasan
Comment