Last post Jan 13, 2014 12:32 AM by dyyo
Jan 09, 2014 10:28 AM|Del Rio Garcia|LINK
Good morning ,
I wanted to ask a question that is giving me headaches for a while now .
I have developed a project with visual studio 2010 vb.NET .
In this project I need to use so many reports I decided to install the component Crystal report for VS2010 . The publishing server is a Server 2003 32-bit , so I also had to install the crystal in it.
Well, up there, all right . The project is published and the reports are released properly.
Where is the problem?
The problem arises when I have included in my project a large number of reports. At the time of posting , I jump a memory error and bark .
I have included in my project all rpt and when I call one of them, I do so . :
Dim parameters As New ParameterFields
For i = 0 To arrayParametros.Count - 1
Dim As New ParameterField parametroF
Dim As New ParameterDiscreteValue parametroDV
parametroF.ParameterFieldName = arrayParametros ( i)
parametroDV.Value = valueArray ( i)
parametroF.CurrentValues.Add ( parametroDV )
parametros.Add ( parametroF )
CrystalReportViewer1.ParameterFieldInfo = parameters
Dim rpt As New Email
rpt.SetDatabaseLogon ( username, password )
CrystalReportViewer.ReportSource = rpt
The real question is if instead of including all . Rpt on my project , I could have them hosted on a physical drive on my server, and call them from the project somehow in this way to avoid problems of excessive use of memory and only call at any time desired
Thank you .
Jan 13, 2014 12:32 AM|dyyo|LINK
I am not pretty sure whether CR for VS 2010 is supported on Windows 2003 or not, but I am 100% sure that this crystal report version works brilliantly on Windows 2008/2012. The reason I pointed out Windows Server 2003 is the fact that ASP.NET 4 does not work
very well on Win 2003, where this .NET version is compulsory on CR for VS2010
Is there any chance for you to upgrade to Win 2008?
Hope this helps