Hi there
I upgraded from V6 to V7... I am using CGI version on an ASP page. I use the code to embed CGI to ASp with WScript.
Version 6 works ok. When I use same config file to index on V7 and of course all the files are regenerated, my search page doesn't work any more, it says:
Content-type: text/html Unable to load settings.zdat file. The file appears to be invalid and may have been corrupted.
But the settings.zdat file seems ok and it doesn't seem corrupted ;(
My script in my ASP page is:
Response.CodePage = 1250
Dim WshShell, env, oExec
Set WshShell = CreateObject("WScript.Shell")
Set env = WshShell.Environment("Process")
env.Item("REQUEST_METHOD") = "GET"
env.Item("QUERY_STRING") = request.querystring
set oExec = WshShell.Exec(Server.MapPath("/search/search.cgi"))
oExec.StdOut.ReadLine() ' skip the HTTP header line
Response.Write(oExec.StdOut.ReadAll())
Response.CodePage = 65001
What could be wrong?
Jerry
PS - ASP version works
PS2 - I am using Windows server 2016
I upgraded from V6 to V7... I am using CGI version on an ASP page. I use the code to embed CGI to ASp with WScript.
Version 6 works ok. When I use same config file to index on V7 and of course all the files are regenerated, my search page doesn't work any more, it says:
Content-type: text/html Unable to load settings.zdat file. The file appears to be invalid and may have been corrupted.
But the settings.zdat file seems ok and it doesn't seem corrupted ;(
My script in my ASP page is:
Response.CodePage = 1250
Dim WshShell, env, oExec
Set WshShell = CreateObject("WScript.Shell")
Set env = WshShell.Environment("Process")
env.Item("REQUEST_METHOD") = "GET"
env.Item("QUERY_STRING") = request.querystring
set oExec = WshShell.Exec(Server.MapPath("/search/search.cgi"))
oExec.StdOut.ReadLine() ' skip the HTTP header line
Response.Write(oExec.StdOut.ReadAll())
Response.CodePage = 65001
What could be wrong?
Jerry
PS - ASP version works
PS2 - I am using Windows server 2016
Comment