403 Forbidden Error After Installing a Custom Feature Solution

Sometimes when you create a custom feature to activate and deactivate  some event receivers, and after installing the feature you get a 403 Forbidden error when trying to access Site Features or sometimes to access the whole site.When you uninstall it the Site or site features page is available again.

1. When you create a folder within the Features directory through Windows Explorer by right-clicking a folder,
pointing to New, and then clicking Folder,
The new folder does not have inherited permissions.
If you deploy a Feature in this folder, then some Windows SharePoint Services pages,such as for site settings or list views, throw an exception.
You can fix this problem by right-clicking the new folder, click Properties, click Security, and then click Advanced.
On the Permissions tab, delete uninherited permissions from the folder.

2. You can also fix this problem by creating the new folder at the command prompt through the md command.
3. Just cut the feature folder and paste in to some other location e.g. Desktop, Now copy that folder and paste inside Feature directory of 12 hive.


Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s