Solved

SSRS printing report to PDF causes following error: Object reference not set to an instance of an object.

Posted on 2014-12-23
2
81 Views
Last Modified: 2016-06-21
Hi I get an error when rendering report to PDF. Only happens I select all my selected groups in the filter. Appears some data somewhere is causing an issue when rendering report to PDF.

See screenshot of error
C--Users-craig.mason.METHODWARELOCAL-Doc
Can you please let me know how I can locate the problem?
0
Comment
Question by:Papa1NZ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 500 total points
ID: 40526932
generally one of the objects in your code is null.

need to put a break point on code before the error occurs,
run the app using the data selections that cause the error and then step through each line , checking each variable to get its value.

particularly, check all the values in the urlQuery NameValueCollection
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question