I have created an empty SharePoint project Added the Event Receiver - Item Added

It should do the following operations.

  1. Connect to sql database.
  2. Add the data to the database table.
  3. Close the connection.

Nothing is working here from the event receiver.

However, the same code is working fine when I execute it in the console application.

Any suggestions/advice are greatly appreciated!

Thank you, Regards, Natasha Gondi

  • can you please tell how you tried to deploy the event recevier? – Litt Spector Jun 10 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.