sql server 2005 - Connecting A Second Site To Current SQL Database -


ok - long story short.

have e-comm site hosted on windows vps using sql server 2005, site been years , works fine.

i trying set new site hosted on windows vps server share same database.

both sites using classic asp , have put duplicate page each server has simple sql query display product name on screen.

on new site 500 error listed below:

get /testconnection.asp |49|800a0bb9|arguments_are_of_the_wrong_type__are_out_of_acceptable_range__or_are_in_conflict_with_one_another.

line 49 in code is:

rsproddetail.open sql, cnn, adopenforwardonly, adlockreadonly, adcmdtext

as mentioned page identical on 2 servers. adovbs.inc there , path file include correct on new server.

where next?

have tried using

rsproddetail.open sql, cnn, 0, 1, 1 

to see if ado constants defined correctly ?


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -