I am using rs.save to save the recordset into the xml file.
The code is
<!--#include file="adovbs.inc"-->
Set rs = Server.CreateObject("ADODB.Recordset")
Set c = Server.CreateObject("ADODB.Connection")
c.Open "DSN=dsnname;UID=userid;PWD=password;"
rs.cursorlocation = adUseClient
rs.Open "select * from tablename", c, adOpenStatic
rs.Save server.Mappath("try.xml"), adPersistXML
This code works fine on my local pc but gives error when I host the file on server.
The error is Provider error '80030103' Can't save.
What may be the problem? Any suggestions will be helpfull.
Thanks,
Rahul