Hi All,
I am getting this error on an eseries page:
Err Num: 3231 - iboDataServer.CConnection.fdrqInitConnection: Error opening connection.
And the following error shows up in the Windows Event Viewer:
The VB Application identified by the event source logged this Application iboUserSecurity: Thread ID: 896 ,Logged: IBO VBRuntime error - Source: (Microsoft OLE DB Provider for SQL Server - iboDataServer.CConnection.sOpenCloseConnection) Description: Login failed for user 'iboDataServer_iMIS10_LIVE'.
I have checked the database and confirmed that the iboDataServer_iMIS10_LIVE user exists, and has db_owner rights to the database being connected to.
The error is occurring after running code like the following:
<code>
<cfset usrUser = CreateObject("COM","iboUserSecurity.CUser","Local")>
<cfset usrUser.DBID = "ODBC:#arguments.datasource#">
<cfset objResult = usrUser.Errors>
<cfset strResult = objResult.GetErrorMessage()>
<cfif strResult neq "">
<cfset l_Return.Error = strResult>
<cfreturn l_Return>
</cfif>
<cfset cbo = CreateObject("COM","iboContactManagement.CContactsBOAdmin","Local")>
<cfset cID = cbo.NewContact(usrUser,true)>
<cfset objResult = cbo.Errors>
<cfset strResult = objResult.GetErrorMessage()>
<cfif strResult neq "">
<cfset l_Return.Error = strResult>
<cfreturn l_Return>
</cfif>
</code>
The error occurs when the cbo.NewContact(usrUser,true) function is run.
Any thoughts on what might be causing this error?
Betcha a nickel
Betcha a nickel somebody clicked "Update all SQL Logins" after maintaining users. That button is not needed when editing users - it's only for when a database is restored under a new name and the SQL users must be reconnected to SQL logins of the same name. Unfortunately, it also changes the iBODataServer login which will disable any running iBO applications.
Usually, restarting the iBO app will fix the problem, as it re-reads the password from the database.
--
Bruce Wilson
Director, Technical Services
RSM McGladrey, Inc.