Help!! This problem is on a live website! My customers cannot get their data!
I had a website that was working on local but not on the server (Firm Support). Then I updated the my build (From v7 3909 to v7 4130) and now neither the local versions or the website versions work.
The web demo application does not work either (The customer grid with check boxes). Both create a PDF and then redirect to the PDF file.
The error that I am getting is this:
500 Internal Server Error
Script Error
Error:Error 1498
________________________________________
Alpha Five/7.0 Build/4140-3033 at A502 Port 8080
I did not get this error when I was running the build 3909.
Is this a bug in the build or do I need to change something.
The Print code that gives the error is this:
<%a5
if Eval_Valid("Sample_No")
dim filter as c
dim order as c
filter = "Sample_No = " + Quote(Sample_No)
Order = ""
Dim filename as c
filename = session.session_folder + chr(92) + "Man_results.pdf"
filename = report.saveas("Manure_Auto_Print@[PathAlias.ADB_Path]\Manure_data.dbf","pdf",filter,order,filename,.f.)
if file.exists(filename)
response.redirect(session.session_url + "Man_Results.pdf?" + time("hms3"))
end if
end
else
%>
<html>
<head>
<title>Manure Report</title>
</head>
<body>
<p>Huston we have a problem!</p>
</body></html>
<%A5
end if
%>
I had a website that was working on local but not on the server (Firm Support). Then I updated the my build (From v7 3909 to v7 4130) and now neither the local versions or the website versions work.
The web demo application does not work either (The customer grid with check boxes). Both create a PDF and then redirect to the PDF file.
The error that I am getting is this:
500 Internal Server Error
Script Error
Error:Error 1498
________________________________________
Alpha Five/7.0 Build/4140-3033 at A502 Port 8080
I did not get this error when I was running the build 3909.
Is this a bug in the build or do I need to change something.
The Print code that gives the error is this:
<%a5
if Eval_Valid("Sample_No")
dim filter as c
dim order as c
filter = "Sample_No = " + Quote(Sample_No)
Order = ""
Dim filename as c
filename = session.session_folder + chr(92) + "Man_results.pdf"
filename = report.saveas("Manure_Auto_Print@[PathAlias.ADB_Path]\Manure_data.dbf","pdf",filter,order,filename,.f.)
if file.exists(filename)
response.redirect(session.session_url + "Man_Results.pdf?" + time("hms3"))
end if
end
else
%>
<html>
<head>
<title>Manure Report</title>
</head>
<body>
<p>Huston we have a problem!</p>
</body></html>
<%A5
end if
%>
Comment