Value cannot be null.Parameter name:path1

25 pts.
Tags:
Crystal Reports
VB.NET 2005
While opening crystal report in crystal report viewer,error occured on some machine. value cannot be null.parameter name:path1

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Meeta
    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 pointsBadges:
    report
  • carlosdl
    Are you able to run other reports on those machines ?
    70,190 pointsBadges:
    report
  • Meeta
    No. Other reports are also not working. Same error for all reports. I used dynamic crystal reports.
    25 pointsBadges:
    report
  • carlosdl
    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\)
    70,190 pointsBadges:
    report
  • 6969
    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 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following