No site code returned from AD and SLP

Hi,

I am having trouble assigning the site code to around 250 machines and these machines seems to have the similar issue with regards to the client assignment.

I have been working on this issue from past few days and tried all the possible troubleshooting steps with no luck.

So here is the environment details.

---------------------------------------------------------

Central Site - does not support any client. SLP is installed here

Primary 1 - support clients and this is the site where we are facing issues.

Primary 2 - support clients

--------------------------------------------------------

  • AD extended
  • Boundaries added
  • DNS publishing is enabled
  • SLP is configured in central site and also published in WINS server.
  • WINS server setting are passed to client machines.
  • 80,443,445,3268,3269 - No issues with these ports from client side.

-----------------------------------------------------------------------

Log details: LocationService.log

Current AD site of machine is BM-BDI-CORE
Retrieved SLP [BELLCMCS01.BELL.CORP.BCE.CA] from Registry
Attempting to retrieve SLPs from AD
Current AD site of machine is BM-BDI-CORE
Raising event:

instance of CCM_CcmHttp_Status
{
DateTime = "20150901142242.523000+000";
HostName = "BELLCMCS01.BELL.CORP.BCE.CA";
HRESULT = "0x00000000";
ProcessID = 5288;
StatusCode = 0;
ThreadID = 6672;
};
LocationServices 9/1/2015 9:22:42 AM 6672 (0x1A10)
Raising event:

instance of CCM_CcmHttp_Status
{
DateTime = "20150901142242.648000+000";
HostName = "142.182.11.183";
HRESULT = "0x00000000";
ProcessID = 5288;
StatusCode = 0;
ThreadID = 6672;
};

LSGetAssignedSiteFromSLP : No site code returned from SLP
Won't send a client assignment fallback status point message because the last assignment error matches this one.
Current AD site of machine is BM-BDI-CORE )
Attempting to retrieve SLPs from AD
Current AD site of machine is BM-BDI-CORE
Raising event:

instance of CCM_CcmHttp_Status
{
DateTime = "20150902125959.664000+000";
HostName = "142.182.11.183";
HRESULT = "0x00000000";
ProcessID = 13572;
StatusCode = 0;
ThreadID = 14216;
};
LocationServices 9/2/2015 7:59:59 AM 14216 (0x3788)
LSGetAssignedSiteFromSLP : No site code returned from SLP LocationServices 9/2/2015 7:59:59 AM 14216 (0x3788)
LSRefreshSiteCode LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
LSGetGPSiteCode LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
regKey.GetString( L"GPRequestedSiteAssignmentCode", sSiteCode ), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,5499) LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
LSGetGPSiteCode: Failed to Get Site Code from Group Policy Reg key [Software\Microsoft\SMS\Mobile Client] (80070002) LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
ProcessPendingSiteAssignment
No pending site assignments
LSGetAutoAssignFlagFromWMI
LSRefreshManagementPoint
LSRefreshManagementPointEx
LSGetSiteCodeFromWMI LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
spEnum.Next(&spConfig) == S_OK, HRESULT=00000001 (e:\nts_sms_fre\sms\framework\smscore\smsutil.cpp,74) LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
SMS_Authority not configured LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
LSGetSiteCodeFromWMI : Site code returned from WMI is <> LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
sSiteCode.length(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,3844) LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
LSRefreshManagementPointEx(0, 0), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,3912) LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
CCM::LocationServices::LSRefreshManagementPoint(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsexports.cpp,616) LocationServices 9/2/2015 3:14:11 PM 6604 (0x19CC)
Unloading MP address resolver for address prefix 'amp'.
Unloading MP address resolver for address prefix 'lmp'.
Unloading MP address resolver for address prefix 'mp'.
Loading MP address resolver for address prefix 'amp'.
Loading MP address resolver for address prefix 'lmp'.
Loading MP address resolver for address prefix 'mp'.
LSRefreshSiteCode LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
LSGetGPSiteCode LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
regKey.GetString( L"GPRequestedSiteAssignmentCode", sSiteCode ), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,5499) LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
LSGetGPSiteCode: Failed to Get Site Code from Group Policy Reg key [Software\Microsoft\SMS\Mobile Client] (80070002) LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
ProcessPendingSiteAssignment
No pending site assignments
LSGetAutoAssignFlagFromWMI
LSRefreshManagementPoint
LSRefreshManagementPointEx
LSGetSiteCodeFromWMI LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
spEnum.Next(&spConfig) == S_OK, HRESULT=00000001 (e:\nts_sms_fre\sms\framework\smscore\smsutil.cpp,74) LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
SMS_Authority not configured LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
LSGetSiteCodeFromWMI : Site code returned from WMI is <> LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
sSiteCode.length(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,3844) LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
LSRefreshManagementPointEx(0, 0), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,3912) LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
CCM::LocationServices::LSRefreshManagementPoint(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsexports.cpp,616) LocationServices 9/2/2015 3:14:54 PM 13212 (0x339C)
LSGetSiteCodeFromWMI LocationServices 9/2/2015 3:16:49 PM 8324 (0x2084)
spEnum.Next(&spConfig) == S_OK, HRESULT=00000001 (e:\nts_sms_fre\sms\framework\smscore\smsutil.cpp,74) LocationServices 9/2/2015 3:16:49 PM 8324 (0x2084)
SMS_Authority not configured LocationServices 9/2/2015 3:16:49 PM 8324 (0x2084)
LSGetSiteCodeFromWMI : Site code returned from WMI is <> LocationServices 9/2/2015 3:16:49 PM 8324 (0x2084)

Please advise.

Thank You.

September 2nd, 2015 4:28pm

If you look at the client, does it have a assigned site code in the client control panel?

Site code returned from WMI is <>

Was the client install set to Auto or a forced site code?

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 12:23pm

Client does not have site code assigned to it in control panel.

The client install was set to AUTO.

I also tried forcing the site code by including it in client installation command line "SMSSITECODE=<sitecode>"

Note: Did not mention SLP and MP information in the command line.

below is the error from the Location service.log (Verbose and Debug logging is enabled)

Processing pending site assignment. L
Assigning to site 'PS1'
LSVerifySiteVersion
LSVerifySiteVersion : Verifying Site Version for <PS1>
Client is not in Native mode, IBCM is not supported.
LSJoinedToADDomain
Local Machine is joined to an AD domain
LSGetSiteVersionFromAD
MP search filter is '(&(ObjectCategory=mSSMSManagementPoint)(mSSMSSiteCode=PS1))'
Attempting to connect to AD
ulFetched == 1, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,5038)
LSGetSiteVersionFromAD : Failed to retrieve version for the site 'PS1' (0x80004005)
LSGetSiteVersionFromSLP
LSGetSLP
LSGetSLPFromRegistry
0 < sSLP.length(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,2471)
LSGetSLPFromRegistry: Failed to get SLP from Registry (80004005)
LSJoinedToADDomain
Local Machine is joined to an AD domain
Attempting to retrieve SLPs from AD
LSGetSLPFromAD
ulFetched == 1, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,2353)
LSWinsResolveSMSName
Using WSAEnumProtocols to get all active LANAs
Attempting to resolve 'SMS_SLP' to IP address from WINS
Attempting to find 'SMS_SLP' on LANA 0 from WINS
Resolved 'SMS_SLP' to IP address '142.182.11.183' from WINS
AddSLPToList
Adding SLP [142.182.11.183] in the list
URL to find site version is 'http://142.182.11.183/sms_slp/slp.dll?site&sc=PS1'
Detecting if client is on the internet.
Client is not in Native mode, IBCM is not supported.
Client is on the intranet, therefore we will not use any webproxy.
GET: host=142.182.11.183, path=/sms_slp/slp.dll?site&sc=PS1, port=80, protocol=http, flags=1, ssloptions=0
Content-type: text/html
Content-encoding:
spNamespace.Get(L"CCM_Client=@", &spInstance), HRESULT=80041002 (e:\nts_sms_fre\sms\framework\core\ccmcore\util.cpp,346)
Raising event:

instance of CCM_CcmHttp_Status
{
DateTime = "20150908134518.822000+000";
HostName = "142.182.11.183";
HRESULT = "0x00000000";
ProcessID = 21644;
StatusCode = 0;
ThreadID = 12856;
};
LocationServices 9/8/2015 7:45:18 AM 12856 (0x3238)
Successfully submitted event to the Status Agent.
LSGetSiteVersionFromSLP: HTTP response: Could Not Initialize
LSGetSiteVersionFromSLP: LoadFromString failed
LSGetSiteVersionFromSLP : No site version  returned from SLP for site <PS1>
LSVerifySiteVersion: Failed to get Site Version from AD and SLP
Won't send a client assignment fallback status point message because the last assignment error matches this one.
LSVerifySiteVersion(sSiteCode), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,3336)
ProcessPendingSiteAssignment(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,3546)
LSRefreshSiteCode failed with error (0x80004005)
CCM::LocationServices::LSRefreshSiteCode(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsexports.cpp,737)
LSGetHomeMPFromWMI
spEnum.Next(&spObject) == WBEM_S_NO_ERROR, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,1452)
CCM::LocationServices::LSGetHomeMPFromWMI( sHomeMP, sProtocol, dwVersion, sCapabilities ), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsexports.cpp,1086)
Unloading MP address resolver for address prefix 'amp'.
Unloading MP address resolver for address prefix 'lmp'.
Unloading MP address resolver for address prefix 'mp'.
Loading MP address resolver for address prefix 'amp'.
Loading MP address resolver for address prefix 'lmp'.
Loading MP address resolver for address prefix 'mp'.
LSRefreshSiteCode
LSGetGPSiteCode
regKey.GetString( L"GPRequestedSiteAssignmentCode", sSiteCode ), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,5499)
LSGetGPSiteCode: Failed to Get Site Code from Group Policy Reg key [Software\Microsoft\SMS\Mobile Client] (80070002)
ProcessPendingSiteAssignment
A Fallback Status Point has not been specified.  Message with STATEID='500' will not be sent.
Processing pending site assignment.)
Assigning to site 'PS1'
LSVerifySiteVersion
LSVerifySiteVersion : Verifying Site Version for <PS1>
Client is not in Native mode, IBCM is not supported.
LSJoinedToADDomain
Local Machine is joined to an AD domain
LSGetSiteVersionFromAD
MP search filter is '(&(ObjectCategory=mSSMSManagementPoint)(mSSMSSiteCode=PS1))'
Attempting to connect to AD
ulFetched == 1, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,5038)
LSGetSiteVersionFromAD : Failed to retrieve version for the site 'PS1' (0x80004005)
LSGetSiteVersionFromSLP
LSGetSLP
LSGetSLPFromRegistry
0 < sSLP.length(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,2471)
LSGetSLPFromRegistry: Failed to get SLP from Registry (80004005)
LSJoinedToADDomain
Local Machine is joined to an AD domain
Attempting to retrieve SLPs from AD
LSGetSLPFromAD
ulFetched == 1, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\locationservices\lsutilities\lsad.cpp,2353)
LSWinsResolveSMSName
Using WSAEnumProtocols to get all active LANAs
Attempting to resolve 'SMS_SLP' to IP address from WINS
Attempting to find 'SMS_SLP' on LANA 0 from WINS
Resolved 'SMS_SLP' to IP address '142.182.11.183' from WINS
AddSLPToList
Adding SLP [142.182.11.183] in the list
URL to find site version is 'http://142.182.11.183/sms_slp/slp.dll?site&sc=PS1'
Detecting if client is on the internet.
Client is not in Native mode, IBCM is not supported.
Client is on the intranet, therefore we will not use any webproxy.
GET: host=142.182.11.183, path=/sms_slp/slp.dll?site&sc=PS1, port=80, protocol=http, flags=1, ssloptions=0
Content-type: text/html
Content-encoding:
spNamespace.Get(L"CCM_Client=@", &spInstance), HRESULT=80041002 (e:\nts_sms_fre\sms\framework\core\ccmcore\util.cpp,346)
Raising event:

instance of CCM_CcmHttp_Status
{
DateTime = "20150908134742.403000+000";
HostName = "142.182.11.183";
HRESULT = "0x00000000";
ProcessID = 21528;
StatusCode = 0;
ThreadID = 6912;
};
LocationServices 9/8/2015 7:47:42 AM 6912 (0x1B00)
Successfully submitted event to the Status Agent.
LSGetSiteVersionFromSLP: HTTP response: Could Not Initialize
LSGetSiteVersionFromSLP: LoadFromString failed LocationServices 9/8/2015 7:47:42 AM 6912 (0x1B00)
LSGetSiteVersionFromSLP : No site version  returned from SLP for site <PS1>
LSVerifySiteVersion: Failed to get Site Version from AD and SLP

September 8th, 2015 10:13am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics