I am unable to find the path for the following .dll to repoint.
Crystal Enterprise Framework Library
Crystal Enterprise InfoStore Library
Crystal Enterprise Plugin Manager Library
Crystal Enterprise User PlugIn
Crystal Enterprise UserGroup PlugIn
can you please provide the complete path on windows box.
Has anyone been able to get this to work on XI 3.1 with Excel 2010? I’ve changed all the references for XI 3.1 but am getting the same Type Mismatch error 1000013 on the
Set UserObject = UserItem
line that others have mentioned. I’ve tried all the possible solutions listed in this thread and elsewhere with no luck.
did you check your references, are they all set up (none ‘missing’)?
I had to enable crystal enterprise inforstore, plugin mangager, and usergroup libraries to make a macro run (listing users and security to a universe) - you have those?
I also found this a lot - a query works for small sets, then blows up when I ran against all data - I ended up using try/catch around a lot of things like this to avoid bad data. What happens if you change your query.select to bring back maybe top 10 records?
Thanks for the suggestions B. I have already updated all the references to point to the 12 version. None of them are marked as Missing and I’ve got all the references that you mention. My environment only has about 20 users total, but just for kicks, I set it to just grab one user and it still failed.
The query against the infostore itself works just fine and brings back the collection of InfoObjects. The error occurs on the line that tries to “Set UserObject = UserItem”. UserObject is defined as type User and UserItem is defined as InfoObject. That’s where I get the Type Mismatch error. Those two types should be compatible, but for some reason, it doesn’t like it. I’ve tried playing around with different combinations of setting the object types on those two objects, but no luck.
Dim Users, Groups, SecClauses As InfoObjects
Dim UserItem, GroupItem, SecItem As InfoObject ' singular
Dim UserObject As User
'Infostore instanciation
Set iStore = esession.Service("", "InfoStore")
'document the users
Set Users = iStore.Query("SELECT TOP 10 * FROM CI_SYSTEMOBJECTS Where SI_KIND='User'")
For Each UserItem In Users
Set UserObject = UserItem
… are you sure you have all 3 defined similar?
I had this same issue, for the life of me can’t recall the fix - maybe the singular infoobject declare of UserItem?
Yep…my Dims and the For Each loop looks exactly like that. This is very frustrating. I guess my next step is to reinstall the client tools just to see if a dll is messed up somehow.
I started off with BOXI UserListV3.xls from the very first page of this thread. The only changes I made initially were for changing the references from 11.5 to 12.
i tried to fix errors
Automation Error -2147417848 The object invoked has disconnected from its clients
Or
VBAProject - 13: Type Mismatch 1000013"
I had several trial and error attempts to fix these - due to having r2 dlls getting mixed up with the r3 dlls? as uninstall of r2 left some files behind.
I unregistered these ones in r2 …
regsvr32 -u “C:\Program Files\Business Objects\BusinessObjects Enterprise 11\win32_x86\plugins\auth\secEnterprise\secenterprise.dll”
Then did regedit and searched for " crystalenterprise.sessionmgr" and clicked on the progid to check what it said- and used that text in my line of code in the macro
'session manager instantiation
'Set sessionmanager = CreateObject(“CrystalEnterprise.SessionMgr”)
Set sessionmanager = CreateObject(“CrystalEnterprise12.SessionMgr.1”)
I would look in your scheduler (the Instance Manager), get a list of reports by user and go from there… I don’t use Crystal, but Deski and Webi each have their own report processor and job scheduler processes, so you’re on the hook for checking them all (timeouts on each).