Ummm...just try to make the connection and test to see if it worked or not???
Code:
Set conn = Server.CreateObject("ADODB.Connection")
On Error Resume Next
conn.Open "...user supplied connection info goes here ... "
If Err.Number <> 0 Then
Response.Write "Invalid connection information"
End If
On Error GoTo 0
...
???