Microsoft KB Archive/214792

= How To Enable Verbose Status Messages in Makecm.vbs =

Article ID: 214792

Article Last Modified on 7/1/2004

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q214792



SUMMARY
When debugging a modified Makecm.vbs script, it may be necessary to enable verbose status messages from the script in order to troubleshoot where specific errors are occurring. Without verbose status messages enabled, not all diagnostic information will be available.

The following is an example of an error message generated when verbose status messages are not enabled:

Failed to create Schema attribute -- Error Number=80005000 String=

Failed to add attribute ' ' to the schema -- Error Number =0 (0) String=

When verbose status messages are enabled in the script, you will be able to see what content type was being created when the errors were encountered.



MORE INFORMATION
To enable verbose status messages from the Makecm.vbs script, change the g_fStatus variable in the Report method of the script to True (it is set to False by default). This will cause the script to output status messages to the console and will make troubleshooting errors much easier.

Once verbose status messages is enabled, you should see an output log of exactly what the script is doing as it creates the content management site. You can use this information to pinpoint what content type might be failing, what credentials are being used to access the directory, and so forth.

The following is a snippet of the output of a Makecm.vbs script with verbose status messages enabled:

Server     = myserver LDAPServer = myserver:1002 VRoot      = CMApp VServer    = 1 App Name   = CMApp App Dir    = D:\CMApp Creating Deployment Project Creating Application: CMApp Creating directory D:\CMApp Creating directory D:\CMApp\Upload Creating directory D:\CMApp\Approve Updating schema for 'SubmitTime' Creating Document Types Creating Document Type: JobPostings BuildTagTerm: \SampleSite\JobTypes Updating schema for 'JobType' BuildTagTerm: \SampleSite\Departments Updating schema for 'Department' Field = ContentAuthor Field = Title Field = Abstract Field = JobNumber Field = SiteLocale Field = TopicDisplay Field = Topic Field = JobTypeDisplay Field = JobType Field = DepartmentDisplay Field = Department Adding Doc Type to App Creating directory D:\CMApp\JobPostings Creating Document Type: Specifications Field = ContentAuthor Field = Title Field = Abstract Field = Editor Field = Stability Field = SiteLocale Field = TopicDisplay Field = Topic

