Hi,<BR>When I tried to use the following code:<BR>set cnnConn = server.CreateObject("ADODB.Connection")<BR>cnnConn .Open "dsn=abc;uid=sa;pwd=;"<BR><BR>strSql = "SELECT * FROM XYZ"<BR>set rsRec = server.CreateObject("ADODB.Recordset")<BR>rsRec.Op en strSql,cnnConn,3,3<BR>dest = "c:\Inetpubwwwrootxtest.xml"<BR>rsRec.Save dest,adPersistXML<BR><BR>It creates a file called xtest.xml. But I am not able to see the contents in this xml file. The same code works in VB and I am able to open the xml file and see the contents. <BR>Can anybody suggest me how to do it in ASP? <BR><BR>Thanks in advance.....<BR>