Site Collection feature
When I'm trying activate a site Collection feature I get the following error: Failed to apply a web.config modification to file 'configuration/system.web/pages'. The specified node "C:\Inetpub\wwwroot\wss\VirtualDirectories\39303\web.config" was not found in the web.config file. Please Help
October 28th, 2010 12:35pm

did you try this solution: http://djjlewis.wordpress.com/2008/08/26/error-when-activating-sharepoint-feature-failed-to-apply-a-webconfig-modification-to-file/ this guy having solution for same problem. hope this works thanks -wsSharePoint administrator, MCTS,MCITP
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 12:38pm

Nope this workaround did not work.A.G.
October 28th, 2010 12:52pm

Hi, Would you please let us know what kind of site collection feature you activate? It is possible that the feature includes web.config modification section but current account does not have proper permission. So please try activating this feature with a more powerful account. Or you can share more details of this feature, so that we could also walk around as the solution provided by ws—modify web.config file manually. Hope this can help. Best Regards, Aaron
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2010 3:39am

Can you please enable ULS logs and check whats exactly the issue. ULS logs has lot more details. You can also change the debugging level for ULS logs look at this post http://sharemypoint.in/2008/08/27/troubleshooting-debugging-sharepoint/ Configure Diagnostic Logging Sameer Dhoot My Blog : http://sharemypoint.in/ Did I answer your question? If YES, Mark as Answer. If NO, reply with details to continue dialogue.
November 2nd, 2010 1:56am

Hi, Sounds like your either missing a section in your Web.Config or the account attempting to modify the Web.Config doesnt have the correctr permissions. There is a feature receiver that is over-riding FeatureActivated and using the SPWebConfigModification Class to make changes to the Pages Section of your Web.Config public override void FeatureActivated(SPFeatureReceiverProperties properties) <pre lang="x-xml"> <pages enableSessionState="false" enableViewState="true" enableViewStateMac="true" validateRequest="false" pageParserFilterType="Microsoft.SharePoint.ApplicationRuntime.SPPageParserFilter, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" asyncTimeout="7"> <namespaces> <remove namespace="System.Web.UI.WebControls.WebParts" /> </namespaces> <tagMapping> <add tagType="System.Web.UI.WebControls.SqlDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" mappedTagType="Microsoft.SharePoint.WebControls.SPSqlDataSource, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> </tagMapping> </pages> Check your Web.Config and ensure you have <Configuration><System.Web><Pages> Node (Like the pages node example above)... However, without additional information this is the extent of the help I can provide -IvanIvan Sanders My LinkedIn Profile, My Blog, @iasanders.
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2010 3:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics