[thelist] SQL Server default db with ancient ASP
Max Schwanekamp
lists at neptunewebworks.com
Thu Dec 28 18:33:30 CST 2006
Anthony Baratta wrote:
> Max Schwanekamp wrote:
>> <%
>> strConn="Provider=SQLOLEDB; Data Source=sql.example.com; Initial
>> Catalog=mydatabase; User ID=dbuser; password=dbpass"
>
> User "Database" instead of "Initial Catalog".
Thanks, but nope. Same result. Also tried using SQL Native Client
instead of SQLOLEDB, got the same behavior.
strConn = "Driver={SQL Native
Client};Server=sql.example.com,1433;Database=mydatabase;Uid=dbuser;Pwd=dbpass;"
--
Max Schwanekamp
NeptuneWebworks.com
541-517-9064
More information about the thelist
mailing list