Can't find assembly after deployment

Stimulsoft Reports.Silverlight discussion
ankaek
Posts: 28
Joined: Thu Jun 14, 2012 9:13 am

Can't find assembly after deployment

Post by ankaek »

Hi

I have set up a small Win forms application that brings up Stimulsoft designer. When I deploy to a machine where Stimulsoft is not installed, I get an error on one of the assemblies: Stimulsoft.Report.Design.

This dll is included in the project. It is also copied local and is available in the same folder as my application.

My questions are: Why does it not find it? And how do I create one exe file with the assemblies included so that I don't need to copy your dlls.

I'll send the project to your support email. Any help would be appreciated.
ankaek
Posts: 28
Joined: Thu Jun 14, 2012 9:13 am

Re: Can't find assembly after deployment

Post by ankaek »

(The reports created with this application are consumed in a Silverlight viewer.)
ankaek
Posts: 28
Joined: Thu Jun 14, 2012 9:13 am

Re: Can't find assembly after deployment

Post by ankaek »

The email with the project has now been sent to your support email address.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can't find assembly after deployment

Post by HighAley »

Hello.

We couldn't find your project. Could you provide us your ticket number?

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can't find assembly after deployment

Post by HighAley »

Hello.
ankaek wrote:I have set up a small Win forms application that brings up Stimulsoft designer. When I deploy to a machine where Stimulsoft is not installed, I get an error on one of the assemblies: Stimulsoft.Report.Design.

This dll is included in the project. It is also copied local and is available in the same folder as my application.

My questions are: Why does it not find it? And how do I create one exe file with the assemblies included so that I don't need to copy your dlls.

I'll send the project to your support email. Any help would be appreciated.
Please, check if you copied assemblies with right version.
It's impossible to add assemblies to one exe file.

Thank you.
ankaek
Posts: 28
Joined: Thu Jun 14, 2012 9:13 am

Re: Can't find assembly after deployment

Post by ankaek »

I did not get a ticket number. I am not sure, but this is the third time I have sent an email to support and not received a ticket number. It seems like you have to manually find my email each time. Not sure what is going on :-)

Regarding the assembly versions: I have set copy local to true in VS, built to release. I dont see how the dll's can then be the wrong version?
ankaek
Posts: 28
Joined: Thu Jun 14, 2012 9:13 am

Re: Can't find assembly after deployment

Post by ankaek »

Please see the image below for the error message I get when I deploy the application to a computer that never have had Stimulsoft installed.

It looks like a custom error message from Stimulsoft and not the standard missing assembly message. (?)
StimulsoftError.png
StimulsoftError.png (58.37 KiB) Viewed 6447 times
ankaek
Posts: 28
Joined: Thu Jun 14, 2012 9:13 am

Re: Can't find assembly after deployment

Post by ankaek »

Here is the project that I sent per email as well. Hope you can help.
Attachments
RapportDesignerWin.zip
(12.51 MiB) Downloaded 407 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Can't find assembly after deployment

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please try to make the following steps:
1. Uninstall SR.
2. Check GAC and if need remove Stimulsoft Assemblies from GAC.
3. Install your version.
4. Update references in your projects.

Thank you.
ankaek
Posts: 28
Joined: Thu Jun 14, 2012 9:13 am

Re: Can't find assembly after deployment

Post by ankaek »

I am wondering if I have misunderstood how to deply the application. Did you take the bin/release folder as it is in my zip file, copy it to a computer that does not have Stimulsoft installed and tried to run the application? If so, did you not get the error message shown in the image above? I have deployed the application to two different machines and I got the error message on both.
Locked