Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
ADO problem with ASP Windows Vista
I'm trying some examples from w3schools: ASP, ADO, ACCESS with Windows Vista.
The problem is this: When I run the code (pasted below), the connection method Open generates an error HTTP 500. It never worked, nor if I used ODBC.
Using Visual Basic with the same code (without "Server." and so on), always worked.
'The next statement causes the error
'set rs = Server.CreateObject("ADODB.recordset")
'rs.Open "Select * from Customers", conn
'do until rs.EOF
' for each x in rs.Fields
' Response.Write(" = ")
' Response.Write(x.value & "<br />")