Posts

Showing posts from July, 2006

This form cannot be opened. It is not workflow enabled.

I'll try these things first: 1. I wont add the forms (xsn's) through central admin. 2. if i have added already, i'll will be removing it from there. 3. I'll check the install.bat and check for the form path wherever I have specified (Important): for ex, ::"%programfiles%\common files\microsoft shared\web server extensions\12\bin\stsadm" -o verifyformtemplate -filename AssignForm.xsn The above form "AssignForm" should be in my sharepoint workflow libraray project location. 4. I'll check for the feature.xml, the feature id should be a unique GUID & will ensure that i have these lines under the properties tag Remember, it's *.xsn 5. I'll open the workflow.xml and check for Guid which should be unique and more importantly will check for the form urn's 6. Once i am done with all these things, i'll run the install.bat from the command prompt, Will ensure that a folder with my project library name is created under this path "C:

The form cannot be displayed because session state is not available

Try doing the following : If you have a release version, try this Open the web.config file for the site, search for the word "SessionStateModule" and uncomment that line. Example: should be: > if you are still using the Beta version, try this 1. Check http://officebeta.iponet.net/en-us/help/HA101530311033.aspx 2. a. Install office server search manually from \OSRCHAPP\osrchapp.msi and re-run the configuration wizard again I got the Sharepoint Server Search role in central administration. b.You could create the SSP (shared service provider) now c.Crawl should work now. Try configuring your workflow, you should get rid of the bug.

Reading Pages Under a Site

Use the foll code snippet to read the pages under a site (Postings under a channel in CMS 2002 terminology): if (PublishingWeb.IsPublishingWeb(web)){ PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web); // Postings under this Channels PublishingPageCollection pages = publishingWeb.GetPublishingPages(); foreach (PublishingPage page in pages) { //page.Name //page.Title; //page.Url; } }

The security validation for this page is invalid. Click Back in your Web

If you are getting the following error, while renaming the page title using publishingpage object " The security validation for this page is invalid. Click Back in your Webbrowser, refresh the page, and try your operation again ." Code Snippet: PublishingWeb publishingweb = PublishingWeb.GetPublishingWeb(newUri(" http://YourPortal/Plans/ ")); PublishingPage pp =publishingweb.GetPublishingPages()["Pages/TestArticle.aspx"]; pp.Title = e.Node.Text; pp.Update(); You should check for this : Navigate thru the followwing and turn the security validation Off Central Administration--->application management---->web application settings-->"turn security validation off"