rainforestnet / CrystalReportsNinja

A small Windows Console App that loads external Crystal Reports file, takes parameter inputs and export to various format or even print to printer
http://www.rainforestnet.com
93 stars 77 forks source link

.net4.5 VS .net4.6 or 4.7 #30

Open kbieber opened 6 years ago

kbieber commented 6 years ago

I'm able to run on old production machine where .net4.5 is latest rev. However, I can't run on test machines running 4.6 or 4.7. I get the same error as the Running on 64bit Windows 10 thread below.

captnkurt commented 6 years ago

Hmm, I am curious if this is what is my problem as well. It worked on my old 32-bit machine (not sure which version of .NET I had there). I can't get it to work for anything on my new Win 10 box. It has .NET 4.7, I think. It won't let me install 4.5 because a newer version is already installed...

kbieber commented 6 years ago

Kurt – here’s what my co-worker did to fix the problem. We haven’t done full testing yet, but it appears to be working as expected.

I uninstalled all versions of .Net and then Installed .Net 4.0 and I confirmed the error message went away. I then installed the newest .Net version (4.7.2) on top of the .net4 install and the crystalreportNinja still appears to be working. (I also installed any .Net security/Quality updates). Give it a try now. Also please check any other applications on this server to make sure they work properly and then I will remove my snapshots.

Klaus Bieber Business Applications US Endoscopy (A Subsidiary of STERIS Corporation) 5976 Heisley Road | Mentor, OH 44060 Ext. 36044 Direct: 440-358-6044 Mobile: 440-251-3074 Email: kbieber@usendoscopy.com Web: www.usendoscopy.comhttp://www.usendoscopy.com/

From: Kurt notifications@github.com Sent: Thursday, August 23, 2018 1:03 PM To: rainforestnet/CrystalReportsNinja CrystalReportsNinja@noreply.github.com Cc: Bieber, Klaus kbieber@usendoscopy.com; Author author@noreply.github.com Subject: Re: [rainforestnet/CrystalReportsNinja] .net4.5 VS .net4.6 or 4.7 (#30)

CAUTION: This email originated from outside of STERIS. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hmm, I am curious if this is what is my problem as well. It worked on my old 32-bit machine (not sure which version of .NET I had there). I can't get it to work for anything on my new Win 10 box. It has .NET 4.7, I think. It won't let me install 4.5 because a newer version is already installed...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rainforestnet_CrystalReportsNinja_issues_30-23issuecomment-2D415493767&d=DwMFaQ&c=E-bIHm3LlZHbfxnPQH77cA&r=bMd9tlnh1xRAJTrzQKd5VgdqA7uV81fqanSo5MSzVbQ&m=guH-WmyEFO2eDdxVu2oEqAX13dIm06Y-fUImp9YQPBY&s=ggXsclXxr0gfXlw33cCwwC5c9J3ZetPxltLrl9FPxhM&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AonBjZM0xT7DlkYOg2W0DAlC6rFhRrh-5Fks5uTuBcgaJpZM4WGGM8&d=DwMFaQ&c=E-bIHm3LlZHbfxnPQH77cA&r=bMd9tlnh1xRAJTrzQKd5VgdqA7uV81fqanSo5MSzVbQ&m=guH-WmyEFO2eDdxVu2oEqAX13dIm06Y-fUImp9YQPBY&s=sdmDpO2jgxigRXH6fb89pwnKweq6_MPqZyQMLOzT67o&e=.

captnkurt commented 6 years ago

Thank you for the reply, but it appears I can't replicate this process. From what I've read, Windows 10 does not allow an uninstall of .NET. It's not listed in the add/remove programs. I tried the Microsoft uninstall tool that supposedly removes all .NET installations, but it doesn't seem to actually uninstall it, as after I ran it and rebooted and tried installing .NET 4 it told me I already had a newer version.

On Thu, Aug 23, 2018 at 2:01 PM kbieber notifications@github.com wrote:

Kurt – here’s what my co-worker did to fix the problem. We haven’t done full testing yet, but it appears to be working as expected.

I uninstalled all versions of .Net and then Installed .Net 4.0 and I confirmed the error message went away. I then installed the newest .Net version (4.7.2) on top of the .net4 install and the crystalreportNinja still appears to be working. (I also installed any .Net security/Quality updates). Give it a try now. Also please check any other applications on this server to make sure they work properly and then I will remove my snapshots.

Klaus Bieber Business Applications US Endoscopy (A Subsidiary of STERIS Corporation) 5976 Heisley Road | Mentor, OH 44060 Ext. 36044 Direct: 440-358-6044 Mobile: 440-251-3074 Email: kbieber@usendoscopy.com Web: www.usendoscopy.comhttp://www.usendoscopy.com/

From: Kurt notifications@github.com Sent: Thursday, August 23, 2018 1:03 PM To: rainforestnet/CrystalReportsNinja < CrystalReportsNinja@noreply.github.com> Cc: Bieber, Klaus kbieber@usendoscopy.com; Author < author@noreply.github.com> Subject: Re: [rainforestnet/CrystalReportsNinja] .net4.5 VS .net4.6 or 4.7 (#30)

CAUTION: This email originated from outside of STERIS. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hmm, I am curious if this is what is my problem as well. It worked on my old 32-bit machine (not sure which version of .NET I had there). I can't get it to work for anything on my new Win 10 box. It has .NET 4.7, I think. It won't let me install 4.5 because a newer version is already installed...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rainforestnet_CrystalReportsNinja_issues_30-23issuecomment-2D415493767&d=DwMFaQ&c=E-bIHm3LlZHbfxnPQH77cA&r=bMd9tlnh1xRAJTrzQKd5VgdqA7uV81fqanSo5MSzVbQ&m=guH-WmyEFO2eDdxVu2oEqAX13dIm06Y-fUImp9YQPBY&s=ggXsclXxr0gfXlw33cCwwC5c9J3ZetPxltLrl9FPxhM&e=>, or mute the thread< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AonBjZM0xT7DlkYOg2W0DAlC6rFhRrh-5Fks5uTuBcgaJpZM4WGGM8&d=DwMFaQ&c=E-bIHm3LlZHbfxnPQH77cA&r=bMd9tlnh1xRAJTrzQKd5VgdqA7uV81fqanSo5MSzVbQ&m=guH-WmyEFO2eDdxVu2oEqAX13dIm06Y-fUImp9YQPBY&s=sdmDpO2jgxigRXH6fb89pwnKweq6_MPqZyQMLOzT67o&e=>.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rainforestnet/CrystalReportsNinja/issues/30#issuecomment-415512906, or mute the thread https://github.com/notifications/unsubscribe-auth/AZBCJj7MGk0o6RJ-jA4mXaSO-Deo1eEzks5uTu3fgaJpZM4WGGM8 .

kbieber commented 5 years ago

The fix was done on a Windows 2008 server – I didn’t try it on Windows 10 workstation.

Klaus Bieber Business Applications US Endoscopy (A Subsidiary of STERIS Corporation) 5976 Heisley Road | Mentor, OH 44060 Ext. 36044 Direct: 440-358-6044 Mobile: 440-251-3074 Email: kbieber@usendoscopy.com Web: www.usendoscopy.comhttp://www.usendoscopy.com/

From: Kurt notifications@github.com Sent: Friday, August 24, 2018 8:14 AM To: rainforestnet/CrystalReportsNinja CrystalReportsNinja@noreply.github.com Cc: Bieber, Klaus kbieber@usendoscopy.com; Author author@noreply.github.com Subject: Re: [rainforestnet/CrystalReportsNinja] .net4.5 VS .net4.6 or 4.7 (#30)

CAUTION: This email originated from outside of STERIS. Do not click links or open attachments unless you recognize the sender and know the content is safe. Thank you for the reply, but it appears I can't replicate this process. From what I've read, Windows 10 does not allow an uninstall of .NET. It's not listed in the add/remove programs. I tried the Microsoft uninstall tool that supposedly removes all .NET installations, but it doesn't seem to actually uninstall it, as after I ran it and rebooted and tried installing .NET 4 it told me I already had a newer version.

On Thu, Aug 23, 2018 at 2:01 PM kbieber notifications@github.com<mailto:notifications@github.com> wrote:

Kurt – here’s what my co-worker did to fix the problem. We haven’t done full testing yet, but it appears to be working as expected.

I uninstalled all versions of .Net and then Installed .Net 4.0 and I confirmed the error message went away. I then installed the newest .Net version (4.7.2) on top of the .net4 install and the crystalreportNinja still appears to be working. (I also installed any .Net security/Quality updates). Give it a try now. Also please check any other applications on this server to make sure they work properly and then I will remove my snapshots.

Klaus Bieber Business Applications US Endoscopy (A Subsidiary of STERIS Corporation) 5976 Heisley Road | Mentor, OH 44060 Ext. 36044 Direct: 440-358-6044 Mobile: 440-251-3074 Email: kbieber@usendoscopy.commailto:kbieber@usendoscopy.com Web: www.usendoscopy.comhttp://www.usendoscopy.com/<http://www.usendoscopy.com%3chttp:/www.usendoscopy.com/>

From: Kurt notifications@github.com<mailto:notifications@github.com> Sent: Thursday, August 23, 2018 1:03 PM To: rainforestnet/CrystalReportsNinja < CrystalReportsNinja@noreply.github.commailto:CrystalReportsNinja@noreply.github.com> Cc: Bieber, Klaus kbieber@usendoscopy.com<mailto:kbieber@usendoscopy.com>; Author < author@noreply.github.commailto:author@noreply.github.com> Subject: Re: [rainforestnet/CrystalReportsNinja] .net4.5 VS .net4.6 or 4.7 (#30)

CAUTION: This email originated from outside of STERIS. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hmm, I am curious if this is what is my problem as well. It worked on my old 32-bit machine (not sure which version of .NET I had there). I can't get it to work for anything on my new Win 10 box. It has .NET 4.7, I think. It won't let me install 4.5 because a newer version is already installed...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rainforestnet_CrystalReportsNinja_issues_30-23issuecomment-2D415493767&d=DwMFaQ&c=E-bIHm3LlZHbfxnPQH77cA&r=bMd9tlnh1xRAJTrzQKd5VgdqA7uV81fqanSo5MSzVbQ&m=guH-WmyEFO2eDdxVu2oEqAX13dIm06Y-fUImp9YQPBY&s=ggXsclXxr0gfXlw33cCwwC5c9J3ZetPxltLrl9FPxhM&e=>, or mute the thread< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AonBjZM0xT7DlkYOg2W0DAlC6rFhRrh-5Fks5uTuBcgaJpZM4WGGM8&d=DwMFaQ&c=E-bIHm3LlZHbfxnPQH77cA&r=bMd9tlnh1xRAJTrzQKd5VgdqA7uV81fqanSo5MSzVbQ&m=guH-WmyEFO2eDdxVu2oEqAX13dIm06Y-fUImp9YQPBY&s=sdmDpO2jgxigRXH6fb89pwnKweq6_MPqZyQMLOzT67o&e=>.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rainforestnet/CrystalReportsNinja/issues/30#issuecomment-415512906, or mute the thread https://github.com/notifications/unsubscribe-auth/AZBCJj7MGk0o6RJ-jA4mXaSO-Deo1eEzks5uTu3fgaJpZM4WGGM8 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rainforestnet_CrystalReportsNinja_issues_30-23issuecomment-2D415741142&d=DwMFaQ&c=E-bIHm3LlZHbfxnPQH77cA&r=bMd9tlnh1xRAJTrzQKd5VgdqA7uV81fqanSo5MSzVbQ&m=NFV5EIDJ4Z4Mx7Z7JmgY7GbFBWcJKl8B4SaqrKebfm0&s=HtE55DefDYcRnUuXF2a1mOw58w5pagIIBWYA6clrp5o&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AonBjcvTZADzU66OZnaH-5Fi68BDqbT6Naks5uT-2D4HgaJpZM4WGGM8&d=DwMFaQ&c=E-bIHm3LlZHbfxnPQH77cA&r=bMd9tlnh1xRAJTrzQKd5VgdqA7uV81fqanSo5MSzVbQ&m=NFV5EIDJ4Z4Mx7Z7JmgY7GbFBWcJKl8B4SaqrKebfm0&s=bUlytCqTkKrGfuDembb95vfqVhPUgZEcM8shyo4GdfA&e=.

sunk818 commented 5 years ago

https://github.com/rainforestnet/CrystalReportsNinja/issues/30

I don't have anything relevant to add.

Just wanted to warn you about edit your posts because your e-mail is public now and you'll get lots of spam.

mhertzfeld commented 5 years ago

.net 4.7 is backwards compatible with 4.5

Are you sure you are using the correct platform of the CR runtime? If you are running the 64bit platform of ninja you should have the 64bit CR runtime installed. Also the CR runtime version should match what ninja was compiled for, which is currently 13_0_20