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

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > November 2004 > Re: 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 Re: UnderConstruction Page instead File not Found error in Read
Stefan [MSFT]

2004-11-25, 5:49 pm

Hi Anand,

there is no supported way to achieve this. You should create an
ApplicatonSetting in the web.config which you can read to decide this.

Cheers,
Stefan.


"Anand" <Anand@discussions.microsoft.com> wrote in message
news:F473697F-5ADC-42BE-BBE6-D9F276236736@microsoft.com...
> 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