Content Management View Pages Don't Work on a New, Custom Web Site (253856)
The information in this article applies to:
- Microsoft Site Server 3.0
This article was previously published under Q253856 SYMPTOMS
If a new Web site is created in Internet Information Server (IIS) and a new Site Server content management content store is created within this Site, the view pages in the content store will not work correctly. No information/results will be displayed when the view pages are accessed.
CAUSE
Invalid paths exist in the Defaultviewtemplate.ast file.
RESOLUTION
The documentation directs you during the setup of a new, custom content store to copy a file named Defaultviewtemplate.ast into your custom content store directory. The Defaultviewtemplate.ast file has a hard-coded path that is invalid for new Web sites. This path must be changed in two locations to point to the correct path. First code location:
<!--METADATA TYPE="DesignerControl" startspan
<OBJECT ID="FormatRuleset1" WIDTH=487 HEIGHT=237
CLASSID="CLSID:F78EAED2-F867-11D0-9F89-0000F8040D4E">
<PARAM NAME="_ExtentX" VALUE="12885">
<PARAM NAME="_ExtentY" VALUE="6271">
<PARAM NAME="RecordSetURL" VALUE="http://localhost/cmsample/%%RuleFileName%%">
The link should be changed from "http://localhost/cmsample/" to "http:// <yourwebsite>/yourcontentstore/". Second code location:
<!-- #INCLUDE VIRTUAL="/cmsample/%%RuleFileName%%" -->
should be changed to
<!-- #INCLUDE VIRTUAL="/yournewcontentstore/%%RuleFileName%%" -->
Modification Type: | Major | Last Reviewed: | 2/20/2000 |
---|
Keywords: | kbprb KB253856 |
---|
|