こんにちはすべて私は水晶レポートの生産に次のエラーが発生しています。私はrepordocument diposalを試みました。レジストリ値を増やすと、どちらの場合も機能しません。 Crystalレポートprinjoblimitがエラーを超えています。試してみてくださいジソーザーオブジェクトregisry no use
[EDIT]
以下に添付のエラーは私のコードの下に、この私の正確なコードシナリオ
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
If rpt IsNot Nothing Then
For Each t As Table In rpt.Database.Tables
t.Dispose()
Next
rpt.Close()
rpt.Dispose()
rpt = Nothing
' GC.Collect()
End If
Catch ex As Exception
End Try
'Session("RPTManagmentName") = Session("RPTManagmentName") & " - " & Session("RPTBranchName")
rpt = New ReportDocument
Select Case Request.QueryString("RPT")
Case 6
Dim Report As CrystalDecisions.CrystalReports.Engine.ReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocument
Report.Load(Server.MapPath("Reports/RPTBalances.rpt"))
Report.SetDataSource(Session("BalancesReportDataSet").Tables(0))
Report.SetParameterValue("ManagmentName", Session("RPTManagmentName"))
Report.SetParameterValue("BranchName", Session("RPTBranchName"))
Report.SetParameterValue("AccountName", Session("RPTAccountName"))
Report.SetParameterValue(" FromDate", CStr(Session("RPTFromDate")))
Report.SetParameterValue("ToDate", CStr(Session("RPTToDate")))
Session("report") = Report
End Select
CRVShow.ReportSource = rpt
CRVShow.DataBind()
End Sub
Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
Try
If rpt IsNot Nothing Then
For Each t As Table In rpt.Database.Tables
t.Dispose()
Next
rpt.Close()
rpt.Dispose()
rpt = Nothing
' GC.Collect()
End If
If CRVShow IsNot Nothing Then
CRVShow.ReportSource = Nothing
CRVShow.Dispose()
CRVShow = Nothing
End If
Catch ex As Exception
End Try
Try
rpt.Close()
rpt.Dispose()
Catch ex As Exception
End Try
End Sub
を確認してください 私はあなたの近くに/処分/ gc.collectを動かす推薦
誰も返信してください? – Sabeena
スクリーンショットを撮るのではなく、真剣に写真を撮るのですか? –
これは本当に問題ですか? もしそうなら、私は説明します..これはプロダクションサーバで起こったことです。彼らはwhatsappから私をこのことを共有しました..明らかにモバイルスナップ希望uをクリアしました...今問題を解決するために助けてください...事前に感謝してください – Sabeena