R
Roger Sipson
I have an Access FE to a SQL BE that has been running fine for several
years. Recently the SQL part was moved to a new server. I changed the
connect string to reflect the new server name and my user can get to the db
but she has started getting
SQL Server execute permission denied on object
messages that did not appear previously.
Example problem VB code is
Dim cmd As New ADODB.Command
With cmd
.ActiveConnection = glbConnection
.CommandText = "uspStudentExistsArchive"
.CommandType = adCmdStoredProc
.Parameters.Append .CreateParameter("RETURN_VALUE", adInteger,
adParamReturnValue)
.Parameters.Append .CreateParameter("@DragonID", adChar,
adParamInput, 8, strDragonID)
.Execute
End With
uspStudentExistsArchive exists and the call is correct.
I am using an ADODB.Connection
I have no problems when I use the BE on my computer, which runs on SQL
Server Developer edition. The problem only appears when my user is
connecting to a BE running on the new server. Since I am out of state I can
not run against the SQL server that she is using.
This is the only FE to a lot of data so I REALLY would appreciate any help.
Roger Sipson
years. Recently the SQL part was moved to a new server. I changed the
connect string to reflect the new server name and my user can get to the db
but she has started getting
SQL Server execute permission denied on object
messages that did not appear previously.
Example problem VB code is
Dim cmd As New ADODB.Command
With cmd
.ActiveConnection = glbConnection
.CommandText = "uspStudentExistsArchive"
.CommandType = adCmdStoredProc
.Parameters.Append .CreateParameter("RETURN_VALUE", adInteger,
adParamReturnValue)
.Parameters.Append .CreateParameter("@DragonID", adChar,
adParamInput, 8, strDragonID)
.Execute
End With
uspStudentExistsArchive exists and the call is correct.
I am using an ADODB.Connection
I have no problems when I use the BE on my computer, which runs on SQL
Server Developer edition. The problem only appears when my user is
connecting to a BE running on the new server. Since I am out of state I can
not run against the SQL server that she is using.
This is the only FE to a lot of data so I REALLY would appreciate any help.
Roger Sipson