What it sounds like to me is that when you are using NT Authentication, you are eliminating the default anonymous user. Instead of putting the user information into the connection string, you've made the internet user an admin of your database. I say just make a new user in your db with a good password and define the user name and password in your connection string. For example, you might do this:
Const strServer = "MYSQLDBSERVER01"
Const strDatabaseName = "MyDatabase"
Const strUID = "MyInetUser"
Const strPassword = "Qx56zp"
myConnString = "DRIVER={SQL Server};SERVER=" & strServer &";DATABASE=" & strDatabaseName &";UID=" & strUID &";PWD=" & strPassword &";DSN=;"
Set myConnect = Server.CreateObject("adodb.connection")
myConnect.Open myConnString
That should do it. I've always been able to have my inet user account work well as a database user, but I've only worked with 2k and XP as SQL Server environments.
|