I'm trying to create a pdf file in web application using iText. PDF is created on my local machine in the development environment without a problem. As soon as i put the file to server and try to create the pdf file.
It throws "The type initializer for 'java.lang.reflect.method' threw an exception error. When I check the folder i see the file created as 0KB file size.
My web.config settings are:
User has permission to the folder (full control), even Network_Services user has full control to the desired folder.
I've tried assigning a user to the application pool and using this newly created apppool for my application with no success.