vs2010 and Stimulsoft.NET, installation problems!!!

Stimulsoft Reports.NET discussion
Post Reply
pasluc7469
Posts: 4
Joined: Wed Feb 22, 2012 5:15 pm
Location: Italy

vs2010 and Stimulsoft.NET, installation problems!!!

Post by pasluc7469 »

Hello,
I installed Stimulsoft.NET Trial in Visual Studio 2010, but it gives me some problems.
I imported all dll files in my project from Stimulsoft's bin directory , but when I debug it ([C#] > this.StiWebReport1.Show();), there are problems with assembly...

Thanks in advance
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

vs2010 and Stimulsoft.NET, installation problems!!!

Post by HighAley »

Hello.
pasluc7469 wrote:Hello,
I installed Stimulsoft.NET Trial in Visual Studio 2010, but it gives me some problems.
I imported all dll files in my project from Stimulsoft's bin directory , but when I debug it ([C#] > this.StiWebReport1.Show();), there are problems with assembly...
What problems do you have?
What are you trying to do with this code?

Thank you.
pasluc7469
Posts: 4
Joined: Wed Feb 22, 2012 5:15 pm
Location: Italy

vs2010 and Stimulsoft.NET, installation problems!!!

Post by pasluc7469 »

thanks for your prompt reply:biggrin:

I run visual studio 2010, and this is my page .aspx

Code: Select all









    
    


    
        
            PROVA REPORT STIMULSOFT
            

            
        
    
    
        
    
        
    
    
    



... and this is the code-behind

Code: Select all


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Stimulsoft;
using WebApplication1;

namespace WebApplication1
{
    public partial class stimulSoftReports : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            this.StiWebReport1.Show();
        }
    }
}

.... and this is the error page

Code: Select all

Messaggio di errore del compilatore: CS0433: Il tipo 'Stimulsoft.Report.Web.StiWebReport' esiste sia in 'c:\Windows\assembly\GAC_MSIL\Stimulsoft.Report.Web\2011.3.1200.0__ebe6666cba19647a\Stimulsoft.Report.Web.dll' che in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b37ee1d1\95fbf3d1\assembly\dl3\d1d4d87e\00624d6a_8aeccc01\Stimulsoft.Report.Web.DLL'

Errore nel codice sorgente:

 

Riga 222:        
Riga 223:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Riga 224:        private global::Stimulsoft.Report.Web.StiWebReport @__BuildControlStiWebReport1() {
Riga 225:            global::Stimulsoft.Report.Web.StiWebReport @__ctrl;
Riga 226:            
 

File di origine: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b37ee1d1\95fbf3d1\App_Web_stimulsoftreports.aspx.cdcab7d2.1own-tdf.0.cs    Riga: 224 


please, help me :grinder:

PS. when i write "this.StiWebReport1.Show();", the stimulsoft intellisense does not shows the method "Show"

thanks in advance.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

vs2010 and Stimulsoft.NET, installation problems!!!

Post by HighAley »

Hello.
pasluc7469 wrote:PS. when i write "this.StiWebReport1.Show();", the stimulsoft intellisense does not shows the method "Show"
There is no Show() method in the StiWebReport class. If you want to show report, you should place the StiWebViewer on the aspx page and then in the Click event use next code:

Code: Select all

this.StiWebViewer1.Report = this.StiWebReport1.GetReport();
Thank you.
pasluc7469
Posts: 4
Joined: Wed Feb 22, 2012 5:15 pm
Location: Italy

vs2010 and Stimulsoft.NET, installation problems!!!

Post by pasluc7469 »

and what about this error??

Code: Select all

Messaggio di errore del compilatore: CS0433: Il tipo 'Stimulsoft.Report.Web.StiWebReport' esiste sia in 'c:\Windows\assembly\GAC_MSIL\Stimulsoft.Report.Web\2011.3.1200.0__ebe6666cba19647a\Stimulsoft.Report.Web.dll' che in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b37ee1d1\95fbf3d1\assembly\dl3\d1d4d87e\00624d6a_8aeccc01\Stimulsoft.Report.Web.DLL'

Errore nel codice sorgente:



Riga 222:       
Riga 223:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Riga 224:        private global::Stimulsoft.Report.Web.StiWebReport @__BuildControlStiWebReport1() {
Riga 225:            global::Stimulsoft.Report.Web.StiWebReport @__ctrl;
Riga 226:           


File di origine: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b37ee1d1\95fbf3d1\App_Web_stimulsoftreports.aspx.cdcab7d2.1own-tdf.0.cs    Riga: 224 

I think it is a dll problem... how can i resolve????

thank you in advance
pasluc7469
Posts: 4
Joined: Wed Feb 22, 2012 5:15 pm
Location: Italy

vs2010 and Stimulsoft.NET, installation problems!!!

Post by pasluc7469 »

the two file version are different... this dll file is the version 2012.1.1212.0

Code: Select all

c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b37ee1d1\95fbf3d1\assembly\dl3\d1d4d87e\00624d6a_8aeccc01\Stimulsoft.Report.Web.DLL
... and the version of the dll file here below is the version 2011.3.1200.0

Code: Select all

Stimulsoft.Report.Web.StiWebReport' esiste sia in 'c:\Windows\assembly\GAC_MSIL\Stimulsoft.Report.Web\2011.3.1200.0__ebe6666cba19647a\Stimulsoft.Report.Web.dll
... please, help me to resolve the problem..

thank you in advance..
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

vs2010 and Stimulsoft.NET, installation problems!!!

Post by Alex K. »

Hello,

Please make following steps:
1. Uninstall SR.
2. Check GAC and if need remove Stimulsoft Assemblies from GAC.
3. Install new version.
4. Update references in your projects.

Thank you.
Post Reply