Page 1 of 2
Differnet DLLs
Posted: Mon Jul 30, 2007 6:55 am
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?
Differnet DLLs
Posted: Mon Jul 30, 2007 8:29 am
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.
Differnet DLLs
Posted: Mon Jul 30, 2007 11:55 pm
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
Differnet DLLs
Posted: Tue Jul 31, 2007 1:02 am
by Edward
Please send the report and data for it to

for analysis.
In other case we are not able to get any recommendations to you.
Thank you.
Differnet DLLs
Posted: Tue Jul 31, 2007 2:21 am
by satisht
I have send both Data and .mrt file to support from '
ketan@webtechdevelopers.com
Differnet DLLs
Posted: Tue Jul 31, 2007 2:24 am
by Edward
We will inform you about our progress.
Thank you.
Differnet DLLs
Posted: Tue Jul 31, 2007 2:37 am
by fkmfkm
Edward,
I have tried putting those dll's in my app bin folder and it works...Isn't it easier this way ?
Differnet DLLs
Posted: Tue Jul 31, 2007 2:45 am
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.
Differnet DLLs
Posted: Tue Jul 31, 2007 4:16 am
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
Differnet DLLs
Posted: Tue Jul 31, 2007 4:29 am
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