Sarika thapaliya

Unregistered less info
1 reputation
2
bio website
location
age
visits member for 1 year, 11 months
seen Oct 19 '12 at 18:59

Sep
18
revised delete feature using event receiver on a farm feature
deleted 5946 characters in body
Sep
13
comment delete feature using event receiver on a farm feature
All the web-scoped feature does is change siteicon on all new web instances and all I am wanting to do is "whatif people wanted to revert back to original icon? scenario" I would have to undo all the changes by either manually deactivating the feature on each website or using powershell or object model. I chose object model, so it would be one bang and the thing would revert back to the original icon for all sites on deactivation of the farm feature..
Sep
13
revised delete feature using event receiver on a farm feature
added 10 characters in body
Sep
13
comment delete feature using event receiver on a farm feature
I have updated the trace log.. I am so mad right now I wanna get to the bottom of this $hit
Sep
13
comment delete feature using event receiver on a farm feature
@ToddersLegrande can it be a permission related issue, as the logic is implemented on the farm feature?? I have updated the trace.. would adding elevated privilege logic work here?
Sep
13
revised delete feature using event receiver on a farm feature
added 5940 characters in body
Sep
13
comment delete feature using event receiver on a farm feature
@ToddersLegrande This is where I am having problem: i wanna find out this myself. How do I view the stacktrace? How do I debug an event receiver like any other project? DO i attach a process like IExplore or w3wp? Please guide me here. This would be like teaching how to fish instead of giving me a fish !! :)
Sep
13
comment delete feature using event receiver on a farm feature
@ToddersLegrande I have updated my code. One thing to note is this is a farm feature and I am trying to access the features in all webs (web-scoped features) Am I accessing the objects properly? I know I can't use spcontext here..
Sep
13
revised delete feature using event receiver on a farm feature
deleted 161 characters in body
Sep
13
comment delete feature using event receiver on a farm feature
@ToddersLegrande Now I have a different error: "Object reference not set to an instance of an object."..
Sep
13
comment delete feature using event receiver on a farm feature
Will this do it? if ((myfeature != null) & (myfeature.DefinitionId==myfeatureid)) //Make sure Feature is installed! { web.Features.Remove(myfeatureid);//deactivate feature }
Sep
13
comment delete feature using event receiver on a farm feature
I have updated my code, but it still throws the same error!!! please help!
Sep
13
revised delete feature using event receiver on a farm feature
added 119 characters in body
Sep
13
asked delete feature using event receiver on a farm feature
Sep
11
awarded  Editor
Aug
30
awarded  Tumbleweed