Page 2 of 3
Re: Create report in class library
Posted: Thu Aug 14, 2014 5:36 am
by ProIT
Hello
I enabled unmanged code debugging but it's still the same. Trying to create a StiReport object (StiReport report = new StiReport;) gives me the error message "vshost.exe has stopped working". Non additional Informations are availabe.
I use Windows 8.1 64 bit Edition with Visual Studio 2012 Premium (SP4) and Visual Studio 2013 Premium (SP3). Platform Target is "Any CPU".
Mike
Re: Create report in class library
Posted: Thu Aug 14, 2014 1:57 pm
by HighAley
Hello.
Which version of our assemblies do you use?
In our latest build we have changed the target framework to 4.0.
Please, check our latest prerelease build.
Thank you.
Re: Create report in class library
Posted: Thu Aug 14, 2014 2:59 pm
by ProIT
Hi
I downloaded the latest prerelease (Stimulsoft Reports.Ultimate 2014.08.08), cleared all Folders from older libraries - same issue.
My project already targets .NET Framework 4.0.
Thanks, Mike
Re: Create report in class library
Posted: Fri Aug 15, 2014 7:23 am
by HighAley
Hello.
Please, try to run your project in Debug and Release modes.
Is there any difference?
Thank you.
Re: Create report in class library
Posted: Mon Sep 08, 2014 9:58 am
by ggrote
We do have the same problem using version 2013.2.1700. Haven't tried the new ones yet...
However it looks like it's only a problem if a debugger is attached.
Running the sample from ProIT without VisualStudio works, but within VisualStudio the vshost process crashes.
Do you have any solution for this problem?
Re: Create report in class library
Posted: Mon Sep 08, 2014 10:02 am
by ggrote
@ProIT: Which version did you tried that worked with your sample project?
Re: Create report in class library
Posted: Mon Sep 08, 2014 11:31 am
by ProIT
I didn't managed to get it working.
I had to switch to another reporting solution.
Re: Create report in class library
Posted: Mon Sep 08, 2014 11:39 am
by ggrote
ProIT wrote:Hello Aleksey
There was no error stack. The only error message I got was "vshost.exe has stopped working".
I downloaded your latest version and now it works like a charm!
Thank you for your help.
Mike Hachen
So it didn't work with the "latest version"?
Re: Create report in class library
Posted: Mon Sep 08, 2014 11:51 am
by ProIT
It worked only a few times. After I upgraded to the latest version (because of another bug) I did get the old error. You know, time is money and I can't take the risk, that our solutions is sometimes working and sometimes not... Sorry...

Re: Create report in class library
Posted: Mon Sep 08, 2014 11:57 am
by ggrote
ProIT wrote:It worked only a few times. After I upgraded to the latest version (because of another bug) I did get the old error. You know, time is money and I can't take the risk, that our solutions is sometimes working and sometimes not... Sorry...

Thats right! Thank you for the informations. I will see if someone at stimulsoft can help me...