AJAX.config usage

Jun 11, 2008 at 5:57 PM
Forgive my ignorance on this topic, but I was wondering if someone could point me to a quick tutorial of how to actually use the generated WSP file for this feature?

Also, is there a version of this functionality that will just apply the ASP.NET AJAX web.config settings to a given web.config file, not just when the feature is activated.  I want to have these AJAX settings remain in the web.config even if AJAX is not being used currently.

Jun 12, 2008 at 11:03 PM

WSP files are all used pretty much the same way.

1. Add the WSP to the solution store using STSADM -o addsolution -filename [solution].wsp
2. Deploy the solution using STSADM -o deploysolution -name [solution].wsp -immediate -allowgacdeployment
3. Activate the feature using STSADM -o activatefeature -filename [solution]\feature.xml -url [url of site root]

Nov 28, 2008 at 12:50 PM

While activating the feature, i am having below error.

Expression must evaluate to a node-set.

I have found by debugging that,

Its on the line of
this._chosenWebApp.Farm.Services.GetValue < SPWebService >().ApplyWebConfigModifications();

how may i get rid of this error.

Please let me know your fast review.... its urgent!