I need help in figuring out how to change the connection of an ADP project to the SQL Native Client.
I upgraded our back end to SQL Server 2005, and now, when certain stored procedures are run via the ADP project, the DB engine on the back end goes haywire, running various segments of the query over and over and over.
I've read on various forums, that we should change the ADP connection to the "SQL Native Client". So I followed this MS tutorial on how to change the ADPs connection string and re-connect http://support.microsoft.com/kb/306881, but am using the "SQLNCLI" native client instead of what they are using in this example.
But when I try to re-connect with the new string I get an connection error: "The expression you entered refers to an object that is closed or doesn't exist". Other times, I get "Method'OpenConnection' of object '_CurrentProject' failed.
I've printed out the connection string in a message box, and it's good(so please don't send me a link to the connectionstrings website, I've already been there). Access also throws an error if it's invalid, so I don't think there is anything wrong with it.
I upgraded our back end to SQL Server 2005, and now, when certain stored procedures are run via the ADP project, the DB engine on the back end goes haywire, running various segments of the query over and over and over.
I've read on various forums, that we should change the ADP connection to the "SQL Native Client". So I followed this MS tutorial on how to change the ADPs connection string and re-connect http://support.microsoft.com/kb/306881, but am using the "SQLNCLI" native client instead of what they are using in this example.
But when I try to re-connect with the new string I get an connection error: "The expression you entered refers to an object that is closed or doesn't exist". Other times, I get "Method'OpenConnection' of object '_CurrentProject' failed.
I've printed out the connection string in a message box, and it's good(so please don't send me a link to the connectionstrings website, I've already been there). Access also throws an error if it's invalid, so I don't think there is anything wrong with it.
Last edited: