Microsoft Content Management Server - MCMS: UnderConstruction Page instead File not Found error in Read

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > November 2004 > MCMS: UnderConstruction Page instead File not Found error in Read





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author MCMS: UnderConstruction Page instead File not Found error in Read
Anand

2004-11-25, 7:46 am

Hi,
I change a MCMS read/write site to a read only site. I am able to access all
the channels and posting in both of them.
In read/write site; when any channel does not have posting then the MCMS
"Switch to Edit Site" splash is displayed.
But in read only site; 404 - File not found error is displayed. I want to
show an Underconstruction page instead.
I tried two options.
Option 1: In IIS, in custom errors tab for the site, I mapped my error page
to the 404 error. But this has a problem; it displays underconstruction page
even when a wrong address is accessed. so I tried option 2.
Option 2: While I render the Channel name & Channel URL in the Menu; I check
if the site is Read only and does not have a posting then I set the URL to
the UnderConstruction page.
But I could get any code that will check if a site is read/write or read only.

Any solutions??
Many Thanks

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com