Solved

SMS 2003, Automatic site code discovery was unsuccessful

Posted on 2009-05-19
4
1,680 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks, it seems the schema has been extended in the past, i just didn't realize it.
0

Featured Post

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Join & Write a Comment

Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
Know what services you can and cannot, should and should not combine on your server.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now