Page 1 of 2
Can't find assembly after deployment
Posted: Mon Aug 20, 2012 7:59 am
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.
Re: Can't find assembly after deployment
Posted: Mon Aug 20, 2012 8:10 am
by ankaek
(The reports created with this application are consumed in a Silverlight viewer.)
Re: Can't find assembly after deployment
Posted: Mon Aug 20, 2012 8:11 am
by ankaek
The email with the project has now been sent to your support email address.
Re: Can't find assembly after deployment
Posted: Tue Aug 21, 2012 5:55 am
by HighAley
Hello.
We couldn't find your project. Could you provide us your ticket number?
Thank you.
Re: Can't find assembly after deployment
Posted: Tue Aug 21, 2012 6:05 am
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.
Re: Can't find assembly after deployment
Posted: Tue Aug 21, 2012 6:42 am
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?
Re: Can't find assembly after deployment
Posted: Tue Aug 21, 2012 8:08 am
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 (58.37 KiB) Viewed 6455 times
Re: Can't find assembly after deployment
Posted: Tue Aug 21, 2012 12:03 pm
by ankaek
Here is the project that I sent per email as well. Hope you can help.
Re: Can't find assembly after deployment
Posted: Wed Aug 22, 2012 1:48 pm
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.
Re: Can't find assembly after deployment
Posted: Thu Aug 23, 2012 8:31 am
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.