Hi Team,
While running the code in debug mode using console app, its working fine
But if changed the mode to Release mode showing the below error.
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Microsoft.SharePoint.dll
How to fix
Regards,
Dhayanand