Placeholder control inside of a user control
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Placeholder control inside of a user control




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Placeholder control inside of a user control  
Steve


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-10-04 07:47 AM

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






[ Post a follow-up to this message ]



    Re: Placeholder control inside of a user control  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-10-04 12:51 PM

Hi Steve,

please have a look here:
http://download.microsoft.com/downl...>
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...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
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
>







[ Post a follow-up to this message ]



ewout is offline     Re: Placeholder control inside of a user control  
ewout


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for ewout Click here to Send ewout a Private Message Find more posts by ewout Add ewout to your buddy list
 
09-19-04 12:10 AM

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 di rectly, the MCMS will never 'kick in' to move you to the site editor. I fix ed the problem however: I was lazy enough to have a different name for the c hannel (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 go t a totally different error: MainPort.aspx (or something like that) could n ot 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 in stalled by default in the MCMS\Server directory, but anyhow it works, and I can go on creating a site now!




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:12 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register