Differnet DLLs

Stimulsoft Reports.NET discussion
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Differnet DLLs

Post by satisht »

I have used DLLs of following version SR_2007.07.12_D2005 and that was working but now I have downloaded Registered and latest version that is 'SR_2007.07.27_R2005' so report is generating blank pages , I have not got any error when I have added these dlls in my solution but report was generating blank pages. , How should I resolve this problem?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Differnet DLLs

Post by Edward »

When you add a new version of the StimulReport.Net dlls as a reference to you project, please be sure that GAC of your computer has the same version of dlls although it may not contain them at all. Access to the GAC you can get though the Control Panel, Administrative Tools, Microsoft .NET Framework 2.0 Configuration (or any other .Net you use). Also you have to delete Stimulsoft Tab from the ToolBox of Visual St scan Documents and Settings folder for Stimul*.dll files, because Visual Studio sometimes caches files it used there. After that you may register new dlls in the ToolBox of Visual Studio.

I hope this solves an issue with blank pages.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Differnet DLLs

Post by satisht »

I have deleted dlls from GAC then I have also deleted dlls from Document and Settings but still I am getting same problem report is generating blank pages
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Differnet DLLs

Post by Edward »

Please send the report and data for it to Image for analysis.

In other case we are not able to get any recommendations to you.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Differnet DLLs

Post by satisht »

I have send both Data and .mrt file to support from 'ketan@webtechdevelopers.com
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Differnet DLLs

Post by Edward »

We will inform you about our progress.

Thank you.
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Differnet DLLs

Post by fkmfkm »

Edward,

I have tried putting those dll's in my app bin folder and it works...Isn't it easier this way ?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Differnet DLLs

Post by Edward »

fkmfkm wrote:Edward,

I have tried putting those dll's in my app bin folder and it works...Isn't it easier this way ?
Yes, this way is correct. But please note that if you have the dlls with the same name and version in the local folder and in the GAC then dlls from GAC will be used in runtime and as result you can see a unexpected issues...

That is why when you move to the new version you have to update GAC if there our dlls were placed.

Thank you.
EDV Gradl
Posts: 228
Joined: Sat Jun 17, 2006 9:50 am
Location: Germany

Differnet DLLs

Post by EDV Gradl »

It is possible to increase the assembly version (e.g. 2007.2.0.1, 2007.2.0.2, 2007.2.0.3 etc) for each pre-release build to avoid this kind of confusion?

Marco
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Differnet DLLs

Post by satisht »

I have changed version of assembly dlls still facing same problem,

I have used following code to register the dataset and show the report

Report.RegData(dataSet)
Report.RegData("Temp", dataSet.Tables(1))
Using form As Stimulsoft.Report.Render.StiPreviewForm = New Stimulsoft.Report.Render.StiPreviewForm(Report)
Dim stiPreview As Stimulsoft.Report.Render.StiPreviewControl = form.PreviewControl
Dim tb As StiToolBar = stiPreview.ToolBar
Dim btnSave As StiToolButton = TryCast(tb.Controls.Item("tbSave"), StiToolButton)
Dim btnExport As StiToolButton = TryCast(tb.Controls.Item("tbExport"), StiToolButton)
btnExport.Image = btnSave.Image
Report.Render()
Report.Compile()
form.ShowDialog()
End Using
Post Reply