Solved

SMS 2003, Automatic site code discovery was unsuccessful

Posted on 2009-05-19
4
1,712 Views
Last Modified: 2013-11-21
A previos IT person before me here attempted to implement SMS 2003 but never had it working properly. I could not get his existing install working properly either, so i removed SMS, IIS, and SQL from the server and started from scratch.

I chose not to extend the AD Schema, as I do not have permission (not sure if it was already extended in the past). I installed the advanced client on a new test client by running client.msi from the SMS server CIFS share. During the install I put in the site code for the new SMS server. After the install, I checked in the Systems Managment in control panel it it did not show a site on the Advanced tab. I tried the discover button and got the message "Automatic site code discovery was unsuccessful". Before i uninstalled and reinstalled, clients were able to use the discover button.

If I manually enter our site code, it will accept it and I can receive packages. I have one SMS server that is configured for all roles (MP, SLP, DP, CAP, RP, Component Server, Site Server, SQL Server).

In the code snipplet below are the entries from the ClientLocation.log and  LocationServices.log

ClientLocation.log:
 
<![LOG[Setting Assigned Site]LOG]!><time="12:19:25.019+240" date="05-19-2009" component="ClientLocation" context="" type="1" thread="4080" file="smsclientclass.cpp:380">
<![LOG[The site code 'ENA ' is invalid]LOG]!><time="12:19:25.019+240" date="05-19-2009" component="ClientLocation" context="" type="3" thread="4080" file="smsclientclass.cpp:390">
<![LOG[Getting Assigned Site]LOG]!><time="12:19:57.942+240" date="05-19-2009" component="ClientLocation" context="" type="1" thread="3212" file="smsclientclass.cpp:874">
<![LOG[Autodiscover Site]LOG]!><time="12:19:59.836+240" date="05-19-2009" component="ClientLocation" context="" type="1" thread="3212" file="smsclientclass.cpp:1139">
<![LOG[Getting Assigned Site]LOG]!><time="13:09:37.526+240" date="05-19-2009" component="ClientLocation" context="" type="1" thread="2004" file="smsclientclass.cpp:874">
<![LOG[Autodiscover Site]LOG]!><time="13:09:41.635+240" date="05-19-2009" component="ClientLocation" context="" type="1" thread="2004" file="smsclientclass.cpp:1139">
 
 
 
LocationServices.log:
<![LOG[Assigning to site 'ENA ']LOG]!><time="12:19:24.957+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsad.cpp:2333">
<![LOG[Sitecode 'ENA ' is invalid, client will not be assigned.]LOG]!><time="12:19:25.019+240" date="05-19-2009" component="LocationServices" context="" type="2" thread="4080" file="lsad.cpp:2350">
<![LOG[Attempting to retrieve proxy MP from AD]LOG]!><time="12:19:25.050+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsproxymp.cpp:860">
<![LOG[Current AD site of machine is US-Novi]LOG]!><time="12:19:25.388+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsad.cpp:195">
<![LOG[Current AD site of machine is US-Novi]LOG]!><time="12:19:25.696+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsad.cpp:195">
<![LOG[Attempting to retrieve local MP from AD]LOG]!><time="12:19:25.804+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsad.cpp:2542">
<![LOG[Current AD site of machine is US-Novi]LOG]!><time="12:19:25.850+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsad.cpp:195">
<![LOG[Executing Task LSRefreshDefaultMPTask]LOG]!><time="12:19:27.112+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="scheduledcleanupendpoint.cpp:125">
<![LOG[Attempting to retrieve proxy MP from AD]LOG]!><time="12:19:27.235+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsproxymp.cpp:860">
<![LOG[Current AD site of machine is US-Novi]LOG]!><time="12:19:27.328+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsad.cpp:195">
<![LOG[Current AD site of machine is US-Novi]LOG]!><time="12:19:27.420+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsad.cpp:195">
<![LOG[Attempting to retrieve local MP from AD]LOG]!><time="12:19:27.589+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsad.cpp:2542">
<![LOG[Current AD site of machine is US-Novi]LOG]!><time="12:19:27.682+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="4080" file="lsad.cpp:195">
<![LOG[Current AD site of machine is US-Novi]LOG]!><time="12:19:59.897+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="3212" file="lsad.cpp:195">
<![LOG[Attempting to retrieve SLPs from AD]LOG]!><time="12:20:00.082+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="3212" file="lsad.cpp:1901">
<![LOG[Failed to resolve IP address from WINS]LOG]!><time="12:20:09.009+240" date="05-19-2009" component="LocationServices" context="" type="3" thread="3212" file="lswins.cpp:323">
<![LOG[LSGetSLP : Failed to resolve SLP from WINS, is it published]LOG]!><time="12:20:09.009+240" date="05-19-2009" component="LocationServices" context="" type="3" thread="3212" file="lsad.cpp:1915">
<![LOG[LSGetAssignedSiteFromSLP : Unable to get the list of SLPs]LOG]!><time="12:20:09.009+240" date="05-19-2009" component="LocationServices" context="" type="3" thread="3212" file="lsad.cpp:1734">
<![LOG[Current AD site of machine is US-Novi]LOG]!><time="13:09:41.698+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="2004" file="lsad.cpp:195">
<![LOG[Attempting to retrieve SLPs from AD]LOG]!><time="13:09:42.010+240" date="05-19-2009" component="LocationServices" context="" type="1" thread="2004" file="lsad.cpp:1901">
<![LOG[Failed to resolve IP address from WINS]LOG]!><time="13:09:51.010+240" date="05-19-2009" component="LocationServices" context="" type="3" thread="2004" file="lswins.cpp:323">
<![LOG[LSGetSLP : Failed to resolve SLP from WINS, is it published]LOG]!><time="13:09:51.010+240" date="05-19-2009" component="LocationServices" context="" type="3" thread="2004" file="lsad.cpp:1915">
<![LOG[LSGetAssignedSiteFromSLP : Unable to get the list of SLPs]LOG]!><time="13:09:51.010+240" date="05-19-2009" component="LocationServices" context="" type="3" thread="2004" file="lsad.cpp:1734">

Open in new window

0
Comment
Question by:bradl3y
  • 2
  • 2
4 Comments
 
LVL 15

Expert Comment

by:HayesJupe
ID: 24428802
so if you havent extended AD, you must use WINS,  lmhosts or specify the fqdn during client install.
0
 
LVL 6

Author Comment

by:bradl3y
ID: 24431255
By using ADSI Edit I granted permission for the SMS computer account to access the "CN=System Management" container. This seems to have allowed the clients to discover the site.
0
 
LVL 15

Accepted Solution

by:
HayesJupe earned 500 total points
ID: 24436736
so you have extended the AD, you just previously hadnt granted the correct permissions.... solved your own issue, good to see.
and you dont need to use adsiedit, just use AD users and computers and put it in advanced mode.
0
 
LVL 6

Author Closing Comment

by:bradl3y
ID: 31583132
Thanks, it seems the schema has been extended in the past, i just didn't realize it.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Boot PC and press F10, select storage options and change the compatibility from “AHCI” to “IDE”, save and exit 2. Boot PC and press F12 3. Upon PXE display of searching for DHCP server, press Pause break to obtain MAC address 3. Open Configu…
Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question