britttd
asked on
multiple-step ole db operation error opening ADO connection.
I am trying to Open an OLE DB connection to my Visual FoxPro connection. On the open statement, I am getting an error saying "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done". This exact same connection opens fine on a different PC but only on my new PC does this fail. I went to the following link on Microsoft's website "http://support.microsoft.com/kb/269495/EN-US/" and the value that it says to add to my registry is arleady there. I am at a loss.
My connection string is as follows:
Public cn As New OleDbConnection("Provider= vfpoledb.1 ;Data Source=\\server\amw.dbc;Mo de=ReadWri te|Share Deny None;Collating Sequence=MACHINE;Password= ''")
My connection string is as follows:
Public cn As New OleDbConnection("Provider=
ASKER
How do I look in this?
Try
Me.Connection.Open()
Catch e As System.Data.OleDb.OleDbExc eption
Dim err As System.Data.OleDb.OleDbErr or
For Each err In e.Errors()
System.Diagnostics.Debug.W riteLine(e .Message)
Next
End Try
Me.Connection.Open()
Catch e As System.Data.OleDb.OleDbExc
Dim err As System.Data.OleDb.OleDbErr
For Each err In e.Errors()
System.Diagnostics.Debug.W
Next
End Try
ASKER
Only error that comes up is:
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I ended up reformatting my machine and it works fine now. Don't know what it was but it works now so...
If so, what are they?