|
Home > Archive > Microsoft Content Management Server > September 2004 > Placeholder control inside of a user control
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 |
Placeholder control inside of a user control
|
|
|
| I'm also getting this error, as per he heading above,
whenever I add an htmlPlaceHolderCotrol into a template
file:
This operation requires the context of a Posting. The
request must have a valid Posting Url or QueryString so
that the CmsHttpContext.Posting will not be null.
I would like to understand what it is I have not done. My
guess is I haven't made some setting somewhere. I have re-
tracked my through tutorial note and not found anything
that seems to be related. I have however reviewed these
postings and don't understand the details. Specifically
how to locate and subclass the objects spoken of. This
space is new to me. Could you offer specific advise
and/or documents for me to read through.
Regards
Steve
| |
| Stefan [MSFT] 2004-09-10, 7:51 am |
| Hi Steve,
please have a look here:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#ACC3CF24-7526-4506-8C52-D3F3281DC6B1
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------
"Steve" <anonymous@discussions.microsoft.com> wrote in message
news:962601c49711$c25ed6d0$a501280a@phx.gbl...
> I'm also getting this error, as per he heading above,
> whenever I add an htmlPlaceHolderCotrol into a template
> file:
> This operation requires the context of a Posting. The
> request must have a valid Posting Url or QueryString so
> that the CmsHttpContext.Posting will not be null.
>
> I would like to understand what it is I have not done. My
> guess is I haven't made some setting somewhere. I have re-
> tracked my through tutorial note and not found anything
> that seems to be related. I have however reviewed these
> postings and don't understand the details. Specifically
> how to locate and subclass the objects spoken of. This
> space is new to me. Could you offer specific advise
> and/or documents for me to read through.
>
> Regards
> Steve
>
| |
|
| quote: Originally posted by Steve
I'm also getting this error, as per he heading above,
whenever I add an htmlPlaceHolderCotrol into a template
file:
This operation requires the context of a Posting. The
request must have a valid Posting Url or QueryString so
that the CmsHttpContext.Posting will not be null.
I had exactly the same problem: even if you do not browse to default.aspx directly, the MCMS will never 'kick in' to move you to the site editor. I fixed the problem however: I was lazy enough to have a different name for the channel (cmstest in the example) and the virtual directory on the webserver. When I made sure the virtual directory on my server had the same name, I got a totally different error: MainPort.aspx (or something like that) could not be found. Well, I knew I was getting somewhere now! I went to the site manager, clicked the cmstest channel properties, moved to the Publishing tab and cleared the 'Script URL' field. And bingo!
Don't know why I do not have this MainPort.aspx cause it should have been installed by default in the MCMS\Server directory, but anyhow it works, and I can go on creating a site now! |
|
|
|
|