Can't find assembly after deployment

Stimulsoft Reports.Silverlight discussion
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 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.
We couldn't reproduce your issue.
What operation system do you get this problem on? Is there all service pack installed?

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

Re: Can't find assembly after deployment

Post by ankaek »

Hello

I copied the release folder over to two other machines. Windows 7 and all updates and service packs. The exe file won't run on these machines. It only runs on machines that have Stimulsoft installed (GAC).

So the machines you tested on did not have Stimulsoft already installed?
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've reproduced your issue
The next assemblies are needed to run your application:

Code: Select all

Stimulsoft.Base.dll
Stimulsoft.Controls.dll
Stimulsoft.Controls.Win.dll
Stimulsoft.Database.dll
Stimulsoft.Editor.dll
Stimulsoft.Report.Check.dll
Stimulsoft.Report.Design.dll
Stimulsoft.Report.dll
Stimulsoft.Report.Helper.dll
Stimulsoft.Report.Win.dll
Thank you.
ankaek
Posts: 28
Joined: Thu Jun 14, 2012 9:13 am

Re: Can't find assembly after deployment

Post by ankaek »

Thanks. There is no Stimulsoft.Report.Win.dll on my system though.

(C:\Program Files (x86)\Stimulsoft Reports.Silverlight 2012.1 Trial)
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.

Please, specify what product do you use.
Due to license agreement if you are using Stimulsoft Reports.Silverlight you couldn't redistribute your project.
Please, read the License on http://www.stimulsoft.com/en/licensing again.
REDISTRIBUTABLES
The following files are considered redistributables under this DLA:
Stimulsoft.Base.dll
Stimulsoft.Base.SL.dll
Stimulsoft.Compression.SL.dll
Stimulsoft.Controls.SL.dll
Stimulsoft.Report.dll
Stimulsoft.Report.Chart.dll
Stimulsoft.Report.SL.dll
Stimulsoft.Report.Check.SL.dll
Stimulsoft.Report.Helper.SL.dll
Stimulsoft.Report.SLDesign.dll
Stimulsoft.Report.Viewer.SL.dll
Stimulsoft.Report.WebSL.dll
Stimulsoft.Report.WebDesignSL.dll
Localization files

YOU ARE NOT AUTHORIZED TO REDISTRIBUTE ANY OTHER FILE CONTAINED IN THE SOFTWARE.
So you should either use Silverlight Designer or use other product.

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

Re: Can't find assembly after deployment

Post by ankaek »

I want to use the Silverlight Designer.

The Silverlight viewer requires a business object, right? So I need to be able to:
Open the designer
Load the business object with the sample data (so that the user can design report and preview).

How do you suggest I do that? I do not see a way to hook up a class with business objects after I have opened the Designer. Please advise.
ankaek
Posts: 28
Joined: Thu Jun 14, 2012 9:13 am

Re: Can't find assembly after deployment

Post by ankaek »

Hi again.

Some additional info: I am going to display Stimulsoft reports in in a Silverlight application. The mrt file is placed in a folder on the web server (outside the application). This so that the mrt files can be easily replaced by new ones without recompiling the appliction. The goal is to have a non-developer open Stimulsoft designer, make changes and saves the new file to the assigned folder. The business objects need to stay intact and the user needs to be able to preview the report in the designer. This is what I accomplished with the application I submitted earlier in this thread. I'd appreciate you give me some advise on how to accomplish this without breaking the license agreement. Maybe there is a feature of the Standalone designer that I am missing?

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.

You could do all described actions in the Stimulsoft Silverlight Designer.
You could open Designer, work there with business objects and save it on server.
You could find necessary information in our documentation.
If you'll have any problems, please, inform us about what part of your application you couldn't implement.

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

Re: Can't find assembly after deployment

Post by ankaek »

Thank you again for your reply.

When you say Stimulsoft Silverlight Designer, do you mean Designer.exe - the standalone application?

I am able to open it, open my mrt, see the template, see the business objects, design and save. This has been fine all along.

What I am having problems with is the preview. How do I send test data in to the designer so that the preview shows the report with data? The examples I have found in your documentations shows how to connect to a database and that is not what I am doing.

In code I do this: report.RegBusinessObject("WebInnsyn", "Naboliste", ReportTestData.GetNeighborData());

The ReportTestData class contains test data and sends the information to the designer in the same way our main application does (where the report is viewed). This is the only part I am struggling with. I hope you can shed some light on this for me.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can't find assembly after deployment

Post by HighAley »

ankaek wrote:When you say Stimulsoft Silverlight Designer, do you mean Designer.exe - the standalone application?
When I wrote Stimulsoft Silverlight Designer, I meant StiSLDesignerControl. It's an only Designer in Silverlight. And Designer.exe is not a Silverlight Designer, but WinForms Designer.
ankaek wrote:I am able to open it, open my mrt, see the template, see the business objects, design and save. This has been fine all along.

What I am having problems with is the preview. How do I send test data in to the designer so that the preview shows the report with data? The examples I have found in your documentations shows how to connect to a database and that is not what I am doing.

In code I do this: report.RegBusinessObject("WebInnsyn", "Naboliste", ReportTestData.GetNeighborData());

The ReportTestData class contains test data and sends the information to the designer in the same way our main application does (where the report is viewed). This is the only part I am struggling with. I hope you can shed some light on this for me.
Where do you preview report? Please, send us a sample project to reproduce your issue.

Thank you.
Locked