cancel
Showing results for 
Search instead for 
Did you mean: 

load report failed after version upgraded to visual studio 2017

former_member606640
Discoverer
0 Kudos

Hello every one

We have upgraded our application from ASP.Net 2.0 Framework (VS 2008) to ASP.Net 4.0 Framework (VS 2017)

We also upgraded Crystal Reports to the newer version 13.0.3500.0.

After Upgrade, Application is working fine.

But we found that after some time "Load Report Fail" error comes and we are not able to generate Report.

Once we reset IIS, it works fine for some period.

Now it has become recurring issue which is fixed after IIS Reset. We need to resolve it on urgent basis.

We have taken below mentioned steps :

1. Give Read / Write rights to Temp Folder

2. IIS Users given Read / Write path to Application Folder.

3. closing and disposing of all objects related to each printjob after they are completed, we are disposing all objects in Page_Unload event as below :

Private Sub Page_Unload(ByVal sender AsObject, ByVal eAsSystem.EventArgs) Handles Me.Unload

Me.crv_report.Dispose()  
Me.crv_report = Nothing  
rpt.Close()  
rpt.Dispose()GC.Collect()End Sub

4.error to show up randomly,It is not a fixed interval. Based on usage it randomly gives error in 3 - 4 Hours.

5. MS recommends cycling IIS because it can't defrag memory on the fly, only way to release and clean up memory in Windows is to close the app and start it up again. We have configured IIS Application Pool with Recycling after Regular Time Interval (Minutes) : 60.

Why did this problem appear And What is the solution ?

Please provide your valuable inputs,.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Need more details about the work flow and dependencies.

Printer drivers can cause memory leaks...

DB drivers/Clients and DataSets are memory extensive.

Try enabling crpe logging, use Google and search for the KBase, it may give you more info on what is happening that leads up to the error.

Try using 4.7.1 Framework in your app, I found 4.6 has issues...

Don

Answers (0)