I have posted a similar discussion before but have not been able to find an answer to the issue. The application is importing .pdf files from C:|Temp into WebTop. The application has been running fine on server 2003 R2 (and even my local pc) for years but when moving it to a 2008 R2 server (64bit) it is giving issues. I have spent days figuring out why and still have no clue. I am using VS2005. The programs gives error on following:
oFolder = oSession.getFolderByPath(myDocumentumPath)
oCabinet = oSession.getObjectByQualification("dm_cabinet where object_name = '" & Cabinet & "'")
oFolder1 = oSession.getObjectByQualification("dm_folder WHERE ANY r_folder_path = '" & myDocumentumPath & "'")
It seems to error on every statement that references "oSeesion"
Here is my definitions:
Public oSessMgr As IDfSessionManager = oLocalClient.newSessionManager()
Public oSession As IDfSession = Nothing
oLogonInfo.setUser(oUserId)
oLogonInfo.setPassword(oPassword)
oSessMgr.setIdentity(oRepository, oLogonInfo)
oSession = oSessMgr.getSession(oRepository)
System.Runtime.InteropServices.COMException (0x80004005): DfException:: THREAD: main; MSG: [DFC_BOF_CLASS_CACHE_INIT_ERROR] Failed to initialize class cache.; ERRORCODE: ff; NEXT: null:DfException:: THREAD: main; MSG: [DFC_BOF_CLASS_CACHE_INIT_ERROR] Failed to initialize class cache.; ERRORCODE: ff; NEXT: null
at com.documentum.fc.client.impl.bof.cache.NullClassCacheManager.checkCacheConsistency(NullClassCacheManager.java:46)
at com.documentum.fc.client.impl.bof.compoundclass.CompoundClassMgr.getImpClass(CompoundClassMgr.java:61)
at com.documentum.fc.client.impl.objectmanager.AbstractPersistentObjectFactory.getCompoundClassEntry(AbstractPersistentObjectFactory.java:39)
at com.documentum.fc.client.impl.objectmanager.PObjectFactoryWithAspects.makeObject(PObjectFactoryWithAspects.java:48)
at com.documentum.fc.client.impl.objectmanager.PersistentObjectManager.getObjectFromServer(PersistentObjectManager.java:356)
at com.documentum.fc.client.impl.objectmanager.PersistentObjectManager.getObject(PersistentObjectManager.java:311)
at com.documentum.fc.client.impl.session.Session.getObject(Session.java:834)
at com.documentum.fc.client.impl.session.Session.getObjectByQualificationEx(Session.java:1015)
at com.documentum.fc.client.impl.session.Session.getFolderByPathEx(Session.java:1089)
at com.documentum.fc.client.impl.session.Session.getFolderByPath(Session.java:1065)
at com.documentum.fc.client.impl.session.SessionHandle.getFolderByPath(SessionHandle.java:749)
at Documentum.Interop.DFC.IDfSession.getFolderByPath(String folderPath)
I really hope someone can point me in a good direction. Thank you very much.