I am pulling my hair out trying to figure out this one. The a5w_report_saveAs() and report.saveas() function work when I run my full application from the application server built into A5 developer but when I run my application on the dedicated application server they both errors out.
Code
Error Produced on a5w page
Also Tried this
I have checked the PriceListOutputPath variable, it produces a valid path and filename. I have also looked through this thread but have been unable to get it working. Any ideas?
Code
Code:
DIM PriceListOutputPath AS C PriceListOutputPath = filename_decode("[PathAlias.webroot]") + "\pricelist\PriceList_Sorted_by_Type.pdf" ?a5w_report_saveAs("PriceList_LT_By_Type", "PDF", "", "", PriceListOutputPath, global_variables()) ?report.saveas("PriceList_LT_By_Type", "PDF", "", "", PriceListOutputPath)
Code:
Script Error Error:<br>Amyuni Low Level Print:<br>Layout name: PriceList_LT_By_Type<br>Layout type: report<br>Error loading \: The system cannot find the file specified. \.DBF
Code:
DIM PrintOptions as p DIM myargs as SQL::arguments PrintOptions.LinearizeForWeb = .T. PrintOptions.CanPrint = .T. PrintOptions.CanModifyDocument = .T. PrintOptions.CanCopy = .T. PrintOptions.CanAddNotes = .T. ?a5w_report_saveAs("PriceList_LT_By_Type@c:\a5v11\A5Webroot\select\select.alm", "PDF", "", "", PriceListOutputPath, global_variables(), PrintOptions, myargs, null_value()) 'And get this error 'Error:<br>Amyuni Low Level Print:<br>Layout name: PriceList_LT_By_Type@C:\a5v11\A5Webroot\select\select.alm<br>Layout type: report<br>Error loading C:\a5v11\A5Webroot\select\select.alm: Relation corrupt
Comment