cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
450
Views
0
Helpful
11
Replies

Unable to import any AD accounts via the SA

slc2
Level 1
Level 1

I was not able to find any help with the other posts regarding this issue.

Recently we changed the subnet addresses. The default server listed in the DirSynchGlobalCatalog and DirSynchAD are FQDN pingable from the Unity server and are located on the LAN. However, all I get is the skinny drop down for server name. Not able to find any accounts from AD to import via the SA.

Exchange, GC/DC and Unity are on the same domain.

Sabas Chois

11 Replies 11

oliviers
Cisco Employee
Cisco Employee

If you can set the DsGlobalCatalog traces (this is the guy that does the work of enumerating importable subscribers), and reproduce the failure, post the traces and I'll take a look.

I enabled both DsGlobalCatalog and DsAD but, I am not getting anything useful after reproducing the error. Do I have to restart Unity?

2002-11-26 14:19:23,AvLogMgrSvr_MC,10007,-1,-1,diag file opened

14:19:23:555,AvLogMgrSvr_MC,10012,-1,-1,-1,-1,C:\CommServer\logs\diag_AvDSGlobalCatalog_20021126_141918.txt,C:\CommServer\logs\diag_AvDSGlobalCatalog_20021126_141923.txt

oliviers
Cisco Employee
Cisco Employee

No, you shouldn't have to restart Unity. It's possible the import isn't actually making it to the DSGC code. For now, let's step back and see what's going on in the SA. If you could do the same for AvSaDbConn, I'll take another look. That trace will be in the AvCsMgr file.

This is the section with an error.

20:41:02:549,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadById(VARIANT* pvarId VARIANT* pError AvScopeType iScope),0 &

20:41:02:550,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadById(VARIANT* pvarId VARIANT* pError),No conversion available &

20:41:02:549,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadById(VARIANT* pvarId VARIANT* pError),

20:41:02:550,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadById(VARIANT* pvarId VARIANT* pError AvScopeType iScope),No conversion available &

20:41:02:549,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::ToastCache(),

20:41:02:564,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::ToastCache(),

20:41:02:565,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadById(VARIANT* pvarId VARIANT* pError AvScopeType iScope),0 &

20:41:02:580,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadById(VARIANT* pvarId VARIANT* pError),No conversion available &

20:41:02:581,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadById(VARIANT* pvarId VARIANT* pError),

20:41:02:580,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadById(VARIANT* pvarId VARIANT* pError AvScopeType iScope),No conversion available &

20:41:02:581,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::ToastCache(),

20:41:02:580,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::ToastCache(),

20:41:02:595,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadById(VARIANT* pvarId VARIANT* pError AvScopeType iScope),0 &

20:41:02:596,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::ToastCache(),

20:41:02:595,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::ToastCache(),

20:41:02:596,AvSaDbConn_MC,1024,-1,-1,AvSaDbConn,10,EnumerateExistingServers from IDC in GetExistingServers failed: 80004001 in e:\views\Unity3.1.2.41\un_SA1\SA\avsadbconn\AvSaDbSession.cpp at line 9175

20:41:02:611,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,1,STDMETHODIMP CAvSaDbSession::GetSessionProp(BSTR bstrPropName VARIANT * pOutVar),0 &

20:41:02:612,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,1,STDMETHODIMP CAvSaDbSession::GetSessionProp(BSTR bstrPropName VARIANT * pOutVar),False &

20:41:02:627,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,1,STDMETHODIMP CAvSaDbSession::GetSessionProp(BSTR bstrPropName VARIANT * pOutVar),0 &

20:41:02:628,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,1,STDMETHODIMP CAvSaDbSession::GetSessionProp(BSTR bstrPropName VARIANT * pOutVar),0 &

20:41:02:642,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDbSession::CreateObject(BSTR bstrType LPDISPATCH* ppDisp),TYPE_LOCATION &

20:41:02:643,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDbSession::CreateObjectByType(int iType IDispatch ** ppDispatch),

20:41:02:642,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDbSession::CreateObjectByType(int iType IDispatch ** ppDispatch),

20:41:02:643,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDbSession::CreateObject(BSTR bstrType LPDISPATCH* ppDisp),

20:41:02:642,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadGlobalByAlias(BSTR bstrAlias VARIANT* pError),

20:41:02:643,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::ToastCache(),

20:41:02:642,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::ToastCache(),

20:41:02:643,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,0,HRESULT CAvSaDohObject::LoadDohObjectByProperty(AvPropId idProp VARIANT* pvarProp AvScopeType iScope), &

20:41:02:658,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,HRESULT CAvSaDohObject::LoadDohObjectByProperty(AvPropId idProp VARIANT* pvarProp AvScopeType iScope),

20:41:02:659,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,0,STDMETHODIMP CAvSaDohObject::LoadGlobalByAlias(BSTR bstrAlias VARIANT* pError),1 &

20:41:02:658,AvSaDbConn_MC,1022,-1,-1,AvSaDbConn,1,STDMETHODIMP CAvSaDbSession::AuthenticatedUserCanAccessCurrentPage(BSTR bstrPage VARIANT * pvarCanAccess), &

20:41:02:659,AvSaDbConn_MC,1023,-1,-1,AvSaDbConn,1,STDMETHODIMP CAvSaDbSession::AuthenticatedUserCanAccessCurrentPage(BSTR bstrPage VARIANT * pvarCanAccess),True &

The previous post I enabled all traces. On this one I reset the diags to trace 10,11,12,13 and got the following:

2002-11-26 20:57:09,AvLogMgrSvr_MC,10007,-1,-1,diag file opened

20:57:09:158,AvLogMgrSvr_MC,10012,-1,-1,-1,-1,C:\CommServer\logs\diag_AvCsMgr_20021126_204022.txt,C:\CommServer\logs\diag_AvCsMgr_20021126_205709.txt

20:58:30:098,AvSaDbConn_MC,1024,-1,-1,AvSaDbConn,10,EnumerateExistingServers from IDC in GetExistingServers failed: 80004001 in e:\views\Unity3.1.2.41\un_SA1\SA\avsadbconn\AvSaDbSession.cpp at line 9175

20:58:35:301,AvSaDbConn_MC,1024,-1,-1,AvSaDbConn,10,EnumerateExistingServers from IDC in GetExistingServers failed: 80004001 in e:\views\Unity3.1.2.41\un_SA1\SA\avsadbconn\AvSaDbSession.cpp at line 9175

20:58:46:567,AvSaDbConn_MC,1024,-1,-1,AvSaDbConn,10,EnumerateExistingServers from IDC in GetExistingServers failed: 80004001 in e:\views\Unity3.1.2.41\un_SA1\SA\avsadbconn\AvSaDbSession.cpp at line 9175

20:58:46:833,AvSaDbConn_MC,1024,-1,-1,AvSaDbConn,10,pUserIterator->First in Getting the Count failed: 80004005 in e:\views\Unity3.1.2.41\un_SA1\SA\avsadbconn\AvSaDbSession.cpp at line 5353

oliviers
Cisco Employee
Cisco Employee

I think what's going on is that the SA thinks that this a 55 system. That "EnumerateExistingServers" function isn't implemented in E2K systems (80004001 means "not implemented").

Try copying the file...

\CommServer\Localize\Resources\\MessageStores\Exchange2K\MessageStoreRes.dll

To...

\CommServer\Localize\Resources\\MessageStoreRes.dll

So if the system default language is English, the would be ENU.

Does Unity need to be restarted to enable the new dll?

Why would this issue surface now, after a month or so from the time we rehomed Unity to the E2K server?

oliviers
Cisco Employee
Cisco Employee

I don't think that the system will need to restarted. If possible, I'd try it without restarting, and if that doesn't work, then try restarting. I'm not quite sure why this has happened. I think that it's tracked in CSCdv09432. The notes say that a reboot seems to fix it, but I doubt it.

If this doesn't seem to be working, I'd be curious if the diags show the same failure.

Looks like to enable the dll, a restart is in order. When I copy it and trying accessing the SA, no change. Same error. After restarting Unity, SA fails to bring up any existing subscribers, I get skinnies. However, copying the original back and not restarting Unity, clears the SA problem.

Bottom line, the E2K msgstoreres.dll version made things worse.

oliviers
Cisco Employee
Cisco Employee

Ick. There's a couple of other things to try.

If the diags show the same error as before, check the following registry key to see if it is present and what's in it...

HKLM>software>Active Voice>ResourceLoader>1.0>Variables>MsgStoreRes

If it isn't "MessageStores\Exchange2K\MsgStoreRes" (no quotes, obviously), make it that.

The other thing would be to re-register AvsaLocalizationSvr.dll.

The registry is set like you wrote.

I wonder if this other issue (another post.)I have, has anything to do with this problem.

I had 3 Example Administrators. Looks like one from a 2.46 import, one from the 3.13 upgrade on ex5.5 and the third one from rehoming to E2k. I deleted the 2.46 one. However, the remaining two do not have an extension when I add an extension to one, both of them get updated. I am trying to delete the upgrade one. I wonder if things are crossed in the sql database.