Microsoft Content Management Server - Changing the session PublishingMode

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > April 2007 > Changing the session PublishingMode





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 Changing the session PublishingMode
Jordan

2007-04-19, 10:05 am

I am attempting to write a quick 'mover' utility for a client which takes a posting from one channel (in this case News) and moves it to another (News Archive).

Basically, I have a listbox containing all the postings within the News channel. The user can highlight multiple postings and then click the 'Move' button. I then just iterate through each posting, determine if it was selected and if so attempt to move it to the Archive directory. The problem is that I get the following error:

"Invalid mode for update. The requested action modifies the state of an object and can only be performed when the session is in the 'Update' mode."

When I attempt to change the PublishingMode to Update, I receive an error telling me it's read-only.

Is there some way to set the PublishingMode that I am missing?

Jordan
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com