Hello,

I have MOSS 2007 and tried to activate the Site Collection Feature,
Office SharePoint Server Publishing Infrastructure. I now have the
libraries and the security groups that this feature creates, but the
feature does not show up as active.

When I try to activate the feature, I get the error message "Value
does not fall within the expected range". I can find plenty of
information on this error message, but nothing relating to features.

Does anyone have any idea why this might be happening or how to fix
it?

Sam

Re: MOSS 2007 "Value does not fall within the expected range" when trying to activate feature by Daniel

Daniel
Tue May 13 01:14:14 CDT 2008

Hi Sam,
is this for a site created using the variation feature of MOSS?

Have you checked the logs under HIVE 12\logs?

I have had this problem, but it was an access denied message.. i resolved
by:

Temporarily change the AppPool of the web application.

1. Open IIS Admin.
2. Location the Web Site for your WSS web application.
3. Goto to the properties and select the 'Home Directory' tab.
4. Change the AppPool to be the same as Central Administration.
5. IISRESET
6. Activate the Publishing Infrastructure feature on your site.
7. Change to AppPool back to the original.
8. IISRESET.

/Daniel Bugday
http://www.sharepointforum.com/
http://www.sharepointforum.com/en-US/Blog/default.aspx

"SamB" <sam.i.am.baldini@gmail.com> wrote in message
news:40e072f6-a468-4dd3-92fe-1755bad34b7d@26g2000hsk.googlegroups.com...
> Hello,
>
> I have MOSS 2007 and tried to activate the Site Collection Feature,
> Office SharePoint Server Publishing Infrastructure. I now have the
> libraries and the security groups that this feature creates, but the
> feature does not show up as active.
>
> When I try to activate the feature, I get the error message "Value
> does not fall within the expected range". I can find plenty of
> information on this error message, but nothing relating to features.
>
> Does anyone have any idea why this might be happening or how to fix
> it?
>
> Sam


Re: MOSS 2007 "Value does not fall within the expected range" when by SamB

SamB
Fri May 16 07:41:50 CDT 2008

Hi Daniel,

Good troubleshooting advice, it at least gave me more to look for and
I found where the feature activation was failing. It turned out I
could get publishing to activate though once I had the right stsadm
commands. I'll post them here for anyone that runs into the problem
in the future:

stsadm -o activatefeature -filename publishing\feature.xml -url http://
-force

stsadm -o activatefeature -filename publishingresources\feature.xml -
url http:// -force

stsadm -o activatefeature -filename publishingSite\feature.xml -url
http:// -force

stsadm -o activatefeature -filename publishingweb\feature.xml -url http://
-force

stsadm -o activatefeature -filename publishinglayouts\feature.xml -url
http:// -force

stsadm -o activatefeature -filename navigation\feature.xml -url http://
-force

Sam