i want to see a report in web and my code is:
Code: Select all
StiReport Report = new StiReport();
Report.RegData(mydataset);
Report.Dictionary.Synchronize();
Report.Compile();
Report.Render();
StiWebViewer StiWebViewer1 = new StiWebViewer();
StiWebViewer1.Report = Report;
but follow error has appear in my browser after run.
Code: Select all
Could not load file or assembly 'Stimulsoft.Report, Version=2007.3.100.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Stimulsoft.Report, Version=2007.3.100.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 30: StiWebViewer StiWebViewer1 = new StiWebViewer();
Line 31: StiWebViewer1.Report = Report;
Line 32: }
Line 33: }
Line 34: }
Source File: C:\Documents and Settings\afatehi\My Documents\Visual Studio 2005\Projects\WebApplication1\WebApplication1\Default.aspx.cs Line: 32
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Stimulsoft.Report, Version=2007.3.100.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a' could not be loaded.
=== Pre-bind state information ===
LOG: User = RPK\aFatehi
LOG: DisplayName = Stimulsoft.Report, Version=2007.3.100.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a
(Fully-specified)
LOG: Appbase = file:///C:/Documents and Settings/afatehi/My Documents/Visual Studio 2005/Projects/WebApplication1/WebApplication1/
LOG: Initial PrivatePath = C:\Documents and Settings\afatehi\My Documents\Visual Studio 2005\Projects\WebApplication1\WebApplication1\bin
Calling assembly : Stimulsoft.Report.Web, Version=2007.3.100.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Documents and Settings\afatehi\My Documents\Visual Studio 2005\Projects\WebApplication1\WebApplication1\web.config
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: Stimulsoft.Report, Version=2007.3.100.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/6cae6bbb/71f910cd/Stimulsoft.Report.DLL.
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/6cae6bbb/71f910cd/Stimulsoft.Report/Stimulsoft.Report.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/afatehi/My Documents/Visual Studio 2005/Projects/WebApplication1/WebApplication1/bin/Stimulsoft.Report.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/afatehi/My Documents/Visual Studio 2005/Projects/WebApplication1/WebApplication1/bin/Stimulsoft.Report/Stimulsoft.Report.DLL.
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/6cae6bbb/71f910cd/Stimulsoft.Report.EXE.
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/6cae6bbb/71f910cd/Stimulsoft.Report/Stimulsoft.Report.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/afatehi/My Documents/Visual Studio 2005/Projects/WebApplication1/WebApplication1/bin/Stimulsoft.Report.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/afatehi/My Documents/Visual Studio 2005/Projects/WebApplication1/WebApplication1/bin/Stimulsoft.Report/Stimulsoft.Report.EXE.
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'Stimulsoft.Report, Version=2007.3.100.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a' or one of its dependencies. The system cannot find the file specified.]
WebApplication1._Default.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\afatehi\My Documents\Visual Studio 2005\Projects\WebApplication1\WebApplication1\Default.aspx.cs:32
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
plz help me to correct this.
so tanx