7 Replies - 2868 Views - Last Post: 13 June 2009 - 12:45 AM Rate Topic: -----

#1 mishipal  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 88
  • Joined: 04-May 09

Crystal Report Form Load Error

Posted 12 June 2009 - 11:46 PM

I have a form which has crystal report viewer. On form load it gives the following error

An error occurred creating the form See Excpetion.innerException for details. The error is : Could not load file or assembly 'CrystalDecisons.Windows.Forms, Version = 10.5.3700.0, Culture=neutral, PublicKeyToken = asdad or one of its dependencies. The System cannot find the file specified.



I have the included the assembly but it is not included in the published folder

Is This A Good Question/Topic? 0
  • +

Replies To: Crystal Report Form Load Error

#2 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: Crystal Report Form Load Error

Posted 12 June 2009 - 11:51 PM

:code:
Was This Post Helpful? 0
  • +
  • -

#3 mishipal  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 88
  • Joined: 04-May 09

Re: Crystal Report Form Load Error

Posted 12 June 2009 - 11:54 PM

tdscert.show()



The form includes
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.ReportSource
Imports CrystalDecisions.Shared
Imports CrystalDecisions.Windows.Forms


Was This Post Helpful? 0
  • +
  • -

#4 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: Crystal Report Form Load Error

Posted 12 June 2009 - 11:59 PM

it seems that you haven't any code.
Was This Post Helpful? 0
  • +
  • -

#5 mishipal  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 88
  • Joined: 04-May 09

Re: Crystal Report Form Load Error

Posted 13 June 2009 - 12:04 AM

This is the code.

It gives error on form load only.

Also there is a button which has code
CRV.SelectionFormula = "{Ltx_Tds_Cert_1.AccountName} = 'Bajpai Roadlines' and {Ltx_Tds_Cert.VoucherDate} in DateTime (2008, 04, 01, 0, 0, 0) to DateTime (2009, 03, 31, 0, 0, 0)"
	  CRV.Visible = True


Was This Post Helpful? 0
  • +
  • -

#6 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: Crystal Report Form Load Error

Posted 13 June 2009 - 12:07 AM

ok let to check it.



if you past your all code well help your better.
Was This Post Helpful? 0
  • +
  • -

#7 mishipal  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 88
  • Joined: 04-May 09

Re: Crystal Report Form Load Error

Posted 13 June 2009 - 12:10 AM

there is no other code....thats it
Was This Post Helpful? 0
  • +
  • -

#8 mishipal  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 88
  • Joined: 04-May 09

Re: Crystal Report Form Load Error

Posted 13 June 2009 - 12:45 AM

Solved it myself.

Crystal Reports ReDistributable 2008 was required on the machine.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1