Hey,
I has to write
an event receiver. He must create a new site collection after an item is added
to a list.
I used
public SPSite Add (
string siteUrl,
string title,
string description,
uint nLCID,
string webTemplate,
string ownerLogin,
string ownerName,
string ownerEmail
)
This works
fine in a console app. But wenn I put the code in an event receiver I get all
time the error
Can you
please help me to write the event receiver?
Thanks for
your help
Stefan
Replies
Know the answer? Post it — somebody with the same question will find it here.