Error when creating PDF from ASP.NET report

-1

I'm trying to programmatically create a pdf file from ASP.NET report. When I run the program it throws the following error:

Error occurred during report processing. Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

I already tried adding

<trust level="Full">

to my applications web.config and reset the IIS.

Any other ideas?

c#
asp.net
.net
iis
asked on Stack Overflow Jun 18, 2015 by grinderke • edited Jun 18, 2015 by M463

1 Answer

0

Reinstalling ReportViewer 2005 SP2 and then IIS reset solved my problem.

answered on Stack Overflow Jun 19, 2015 by grinderke

User contributions licensed under CC BY-SA 3.0