|
Contributed By:
Cliff Hobbs [MVP SMS]
When you run
the Site Repair Wizard you have the option of SMS checking Packages to ensure
the source directories are available. The Site Repair Wizard will tell you of
any Packages that have a source directory that is no longer accessible (or in
other words where the source directory specified for a Package has been removed
but the corresponding Package hasn't been deleted from the SMS Admin Console).
If you open the "<drive>:\SMS\Logs\sms_srw.log"
and work your way through it you'll see a line similar to that below for each
Package where SMS can't access the Package's source directory:
Package Name:
<package_name>
Source Directory:
<drive>:\<directory_path>
Inaccessible
For example:
Package Name: Adobe Acrobat Reader Source
Directory: D:\Packages\Adobe Reader
Inaccessible
If you've used an
intuitive Package naming standard you should be able to easily identify the
Package in the Admin Console that has the issue.
If you want to keep the
Package simply re-copy the source files back to the source directory specified
for the Package.
However, if the source
directory has been deleted without the corresponding Package being deleted
you'll need to try to determine which Package the source files belong too that
is highlighted in log file. To do this:
-
From within the SMS
Admin Console right-click the Package and select "Properties".
-
Click the "Data
Source"
tab.
-
Click the "Set..."
button.
-
Copy and paste the
value specified in the "Source
directory"
and try to browse that location ("Start
| Run...").
If you've got the right Package you should see the following error:
"D:\Packages\Adobe
Reader refers to a location that is unavailable. It could be on a hard
drive on this computer, or on a network. Check to make sure that the disk is
properly inserted, or that you are
connected to the Internet or your network, and then try again. If it still
cannot be located, the information might
have been moved to a different location."
If you've got the wrong Package the directory containing the source files
will open.
 |
To cross reference the Program to the Package use the following SQL Query
submitted by Nick Warren in Query Analyzer:
SELECT * FROM
SMSPackages where miffilename LIKE '%Acrobat_Reader%'
The value you specify
between the percent ('%%')
signs should be the path specified in the SRW log file for example:
Acrobat_Reader
NOT
D:\Packages\Acrobat_Reader
This query will returns a
bunch of information including the Package ID, Name, Version, Source, amongst
others. |
|
 |
To see other SMS
2003 Administration FAQs click
here. |
|