0
votes
1answer
97 views

SPWeb permissions inside RunWithElevatedPrivileges

Please consider following scenario: public override void ItemUpdated(SPItemEventProperties properties) { SPSecurity.RunWithElevatedPrivileges(delegate() { SPWeb web1 = properties.Web; ...
1
vote
1answer
420 views

WebProvisioned Event Is Not Firing When Creating SPWebs Programmatically

I have a WebProvisioned event receiver and i do some work in this event receiver. When i create new webs from a console application programmatically, it seems the event receiver does not fire? Is this ...
0
votes
1answer
187 views

Creating New-SPWeb from PowerShell & WebProvisioned Event Receiver?

I have a WebProvisioned event receiver and i do some work in this event receiver. When i create new webs from powershell, it seems the event receiver does not fire? Is this an expected situation? How ...
0
votes
1answer
526 views

“Detected use of SPRequest for previously closed SPWeb object” within Event receiver but no error when run in test harness

I have a very strange issue which I cannot explain. We have and event receiver and within this we instantiate our own class that does all the work we need it to do. As part of this we pass in an SPWEB ...