Am getting 'System.TypeInitializationException' exception in preinit method while running provider hosted app on premise solution from visual studio 2013.
Thanks in advance
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityTypeInitializationException
is thrown when a static constructor throws an exception or when you try to access a class where the static constructor threw an exception.
Look into it's InnerException
property as that holds the details on the actual exception that is thrown.