戰地連結︰ Home My Flickr NBA.com About

2008年5月8日星期四

WSS 3.0 - "Value does not fall within expected range" after installing Workflow feature

Reference

Deploying a custom MOSS 2007 workflow

Symptoms

After installing "Workflow Feature" (by modifying feature.xml, workflow.xml & install.bat and then run install.bat), Error "Value does not fall within expected range" returned when clicking "Document Library Settings" at ANY Document Libraries.

Results behind

Corrupted feature.xml or workflow.xml (e.g. typing error, Type in wrong "TaskListContentTypeId")

Solution

Run:
stsadm -o deactivatefeature -filename %Path of the feature.xml (e.g. C:\XML\feature.xml)% -url http://%YourServerURL% -force <= to deactive the corrupted feature

stsadm -o uninstallfeature -filename %Path of the feature.xml (e.g. C:\XML\feature.xml)% -force <= to uninstall the corrupted feature

Remarks

This solution should be applicable to MOSS 2007

沒有留言: