Avatar of vs_mkazanova
vs_mkazanova

asked on 

Creating PDF with iText in ASP>NET

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:
<authentication mode="Windows"/>
      <identity impersonate="true"/>
        <authorization>
          <allow users="*"/>
          <deny users="?"/>
        </authorization>

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.

Please HELP!!!!!!!!!!!!!
Web Development SoftwareWeb ApplicationsASP.NET

Avatar of undefined
Last Comment
vs_mkazanova
ASKER CERTIFIED SOLUTION
Avatar of vs_mkazanova
vs_mkazanova

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo