Karl Blessing
Programmer
I get this error when trying to save a persistant recordset, it has worked in the past but I Dont know why it is not working now.
the Error
Microsoft OLEDB Persistence Provider error '80040e1d'
Requested conversion is not supported.
/customreport3/report.asp, line 119
The line of code, with preceded code.(some debug info included)
set fs = server.CreateObject("Scripting.FileSystemObject"
filename = fs.GetTempName()
Path = server.MapPath("saveddata"
Path = Path & "\" & filename & ".adtg"
Set reportRS = ReportWriter.ExecuteSQL (false)
if reportRS is nothing then
Response.Write "reportRS is nothing"
else
reportRS.movefirst()
if reportRS.EOF then
Response.Write "reportRS is Empty"
else
while not reportRS.eof
Response.Write reportRS(0).value & "<br>"
reportRS.movenext()
wend
reportRS.save Path, 0 'adPersistADTG
end if
end if
I make the thing loop to make sure there was actually valid data in the recordset, but all in all it used to be just that line in red, until I wraped the conditions around it to make sure I even had data.
any clue why this is not working?
Any help will be appreciated.
Karl
kb244@kb244.com
Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)
the Error
Microsoft OLEDB Persistence Provider error '80040e1d'
Requested conversion is not supported.
/customreport3/report.asp, line 119
The line of code, with preceded code.(some debug info included)
set fs = server.CreateObject("Scripting.FileSystemObject"
filename = fs.GetTempName()
Path = server.MapPath("saveddata"
Path = Path & "\" & filename & ".adtg"
Set reportRS = ReportWriter.ExecuteSQL (false)
if reportRS is nothing then
Response.Write "reportRS is nothing"
else
reportRS.movefirst()
if reportRS.EOF then
Response.Write "reportRS is Empty"
else
while not reportRS.eof
Response.Write reportRS(0).value & "<br>"
reportRS.movenext()
wend
reportRS.save Path, 0 'adPersistADTG
end if
end if
I make the thing loop to make sure there was actually valid data in the recordset, but all in all it used to be just that line in red, until I wraped the conditions around it to make sure I even had data.
any clue why this is not working?
Any help will be appreciated.
Karl
kb244@kb244.com
Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)