-
Feb 23rd, 2018, 06:09 AM
#1
Thread Starter
Member
application closing while printing using CR
Guys i deployed my application. When i install the exe in my client post and i try to print using CR it closes the application. I installed CRD in the client machine but still getting that error. Where am i going wrong???
-
Feb 23rd, 2018, 09:15 AM
#2
Re: application closing while printing using CR
Are there any error messages? If not what kind of error trapping do you use? It is hard to suggest anything when all we know is the application closes.
Please remember next time...elections matter!
-
Feb 23rd, 2018, 02:39 PM
#3
Re: application closing while printing using CR
If CR stands for Crystal Reports then we need to know what version of crystal Reports and what version of Visual basic you are using because the way you distribute CR with a VB app has changed many times over the years.
-
Feb 26th, 2018, 04:17 AM
#4
Thread Starter
Member
Re: application closing while printing using CR
Am using VS 2012 and Crystal report Runtime 2010
-
Feb 26th, 2018, 05:42 AM
#5
Re: application closing while printing using CR
Originally Posted by okouele21
Am using VS 2012 and Crystal report Runtime 2010
Are there any error messages? If not what kind of error trapping do you use? It is hard to suggest anything when all we know is the application closes.
Please remember next time...elections matter!
-
Feb 26th, 2018, 08:05 AM
#6
Thread Starter
Member
Re: application closing while printing using CR
there is the error message:
An unhandled exception was produced in your application. If you click on Continue,the app will ignore this error and try to continue,if you click on Quit,it will stop immediately.
An error occurred while creation this form. Fot more informations,consult Exception.InnerException. The error is:
Cannot load the file or assembly 'CrystalDecisions.Windows.Forms, Version=13.0.2000.0. Culture=neutral,PublicKey Token=692fbea5521e1304' or one of his dependencies. The specified file cannot be found
Something to do with Framework??? Am using VS2012
-
Feb 26th, 2018, 08:07 AM
#7
Re: application closing while printing using CR
This is what I see as the error in the message:
Cannot load the file or assembly 'CrystalDecisions.Windows.Forms'
That is an actual reference. Do you have it in your project?
Please remember next time...elections matter!
-
Feb 26th, 2018, 09:01 AM
#8
Thread Starter
Member
Re: application closing while printing using CR
In my project i can load the report. This error is happening in the client machine. I even installed the CR runtime on the client machine. Still getting the error
-
Feb 26th, 2018, 09:03 AM
#9
Thread Starter
Member
Re: application closing while printing using CR
I also installed CR in my references in the project
-
Feb 26th, 2018, 10:22 AM
#10
Re: application closing while printing using CR
It seems cut and dry to me:
Cannot load the file or assembly 'CrystalDecisions.Windows.Forms'
It cannot load that. Go to regedit on the client machine and see if you can find it. If you do see it check the file version against yours. The message probably isn't lying
Please remember next time...elections matter!
-
Feb 26th, 2018, 10:55 AM
#11
Thread Starter
Member
Re: application closing while printing using CR
May be am not using the right version of CR runtime for VS2012. And probably not loading the file properly in my projet?
-
Feb 26th, 2018, 11:01 AM
#12
Re: application closing while printing using CR
Originally Posted by okouele21
May be am not using the right version of CR runtime for VS2012. And probably not loading the file properly in my projet?
I'm not an expert by any means but I've worked with the same stuff. I would try to copy your assembly to the other machine, register it, and see if that works. It is not the final solution, just looking for the issue. I think that stuff is in: Windows\assembly\GAC_MSIL\CrystalDEcisions\WindowsForms\ABUNCHOFNUMBERS\CrystalDecions.Windows.Forms .dll
Please remember next time...elections matter!
-
Feb 26th, 2018, 01:33 PM
#13
Re: application closing while printing using CR
SAP Crystal Reports has a forum, here is one example on topic https://archive.sap.com/discussions/thread/3518227
I would suggest joining here https://www.sap.com/community/topic/...l-reports.html
It's where you'll find the most knowledgeable Crystal Reports people.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|