I have wrote an event handler which is working very good.
Today I finally tested it using a non administrator user and the event handler is just not firing (it ignore the code).
My code start like this:
public override void ItemAdding(SPItemEventProperties properties)
StreamWriter sw = File.CreateText("c:\\splog.txt");
SPSite spSite = new SPSite("http://sharepoint");
SPWeb web = spSite.OpenWeb("/");
When I use an administrator account I can see the file created and got no problem, when I use a non administrator account the code is just not running.
Thank you very much for any help.
View Complete Post