Hi All, I am facing another hurdle while publishing a page now - I am using below piece of code to publish the page
var bag =
At WorkflowManager.MessageWorkflow step it throws an error saying - "You are not allowed to modify this page".
Note : I have enca[psulated this page creation code inside a WCF service, which If i ran directly from browser it goes through without any error. But if the service call gets made from a client function it throws the error while publishing.
Am i misisng anything here? Also is teh publishing code piece right? Is there any better way Publishng a page .
Appreciate any help on this.