Create report in class library

Stimulsoft Reports.NET discussion
User avatar
ProIT
Posts: 28
Joined: Thu Oct 17, 2013 8:10 am
Location: Muttenz

Re: Create report in class library

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Create report in class library

Post 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.
User avatar
ProIT
Posts: 28
Joined: Thu Oct 17, 2013 8:10 am
Location: Muttenz

Re: Create report in class library

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Create report in class library

Post by HighAley »

Hello.

Please, try to run your project in Debug and Release modes.
Is there any difference?

Thank you.
ggrote
Posts: 6
Joined: Mon Sep 08, 2014 9:55 am

Re: Create report in class library

Post 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?
ggrote
Posts: 6
Joined: Mon Sep 08, 2014 9:55 am

Re: Create report in class library

Post by ggrote »

@ProIT: Which version did you tried that worked with your sample project?
User avatar
ProIT
Posts: 28
Joined: Thu Oct 17, 2013 8:10 am
Location: Muttenz

Re: Create report in class library

Post by ProIT »

I didn't managed to get it working.

I had to switch to another reporting solution.
ggrote
Posts: 6
Joined: Mon Sep 08, 2014 9:55 am

Re: Create report in class library

Post 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"?
User avatar
ProIT
Posts: 28
Joined: Thu Oct 17, 2013 8:10 am
Location: Muttenz

Re: Create report in class library

Post 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...:(
ggrote
Posts: 6
Joined: Mon Sep 08, 2014 9:55 am

Re: Create report in class library

Post 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...
Post Reply