25 pts.
 Value cannot be null.Parameter name:path1
While opening crystal report in crystal report viewer,error occured on some machine. value cannot be null.parameter name:path1

Software/Hardware used:
ASKED: April 28, 2010  6:07 AM
UPDATED: April 1, 2011  7:19 AM

Answer Wiki:
The message is pretty explanatory. Your report has a paramter 'path1' which cannot be null, and in this case it is. If you are calling your report from another application, review the code of that application to see why it is sending a null value for that parameter. To debug it, you could display a message box or alert to show the value that is going to be sent for that parameter before calling the report. If you have already done that, or there are other troubleshooting actions you have already performed, please provide more details.
Last Wiki Answer Submitted:  April 28, 2010  2:05 pm  by  carlosdl   63,535 pts.
All Answer Wiki Contributors:  carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

thnks for reply.

In project, I haven’t use ‘path1′ parameter .This problem occures on only some PC’s not on all PC’s. On development pc this problem doesn’t occures.

 25 pts.

 

Are you able to run other reports on those machines ?

 63,535 pts.

 

No. Other reports are also not working.
Same error for all reports.
I used dynamic crystal reports.

 25 pts.

 

I read that this error could occur if the WINDIR environment variable is not set, or is incorrectly set on the machine. Could you check that ? (usually it should point to c:\windows\)

 63,535 pts.

 

value cannot be null parameter name path1 i m getting this error when i m printing report in visual studio 2008 with crystal report…i have reinstall the software

 10 pts.