Can't preview mode in code-based section report

Posted by: vuong on 22 November 2018, 2:56 am EST

    • Post Options:
    • Link

    Posted 22 November 2018, 2:56 am EST - Updated 30 September 2022, 5:55 pm EST

    I have use another dll for manage log , i can run report not have issue but when i view preview then i receive exception below

    Please help me.

    Thanks,

    Exception details:

    System.IO.FileNotFoundException: Could not load file or assembly ‘Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.

    File name: ‘Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’

    at VCKGR0020AR.ACKGR0020.ACKGR0020_ReportStart(Object sender, EventArgs e)

    at GrapeCity.ActiveReports.SectionReport.RaiseReportStart()

    at GrapeCity.ActiveReports.SectionReport.ProcessInit(Boolean bDelayedInit)

    at GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument)

    at GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument)

    at GrapeCity.ActiveReports.Design.ArDesigner.ReportDesigner.ReportDesignerMain.DesignerTabControllerSelectionChanged(Object sender, EventArgs e)

    === Pre-bind state information ===

    LOG: DisplayName = Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

    (Fully-specified)

    LOG: Appbase = file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01

    LOG: Initial PrivatePath = C:\Users\Vuong.le\AppData\Local\Microsoft\VisualStudio\15.0_763163f5\ProjectAssemblies\d3kscuzp01

    Calling assembly : VCKGR0020AR, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.

    LOG: This bind starts in default load context.

    LOG: Using application configuration file: C:\Users\Vuong.le\AppData\Local\Microsoft\VisualStudio\15.0_763163f5\devenv.exe.config

    LOG: Using host configuration file:

    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.

    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/Common/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PublicAssemblies/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PublicAssemblies/Common/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/Common/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Microsoft/TemplateProviders/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Microsoft/TemplateProviders/Common/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Microsoft/TestWindow/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Microsoft/TestWindow/Common/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Platform/Debugger/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Platform/Debugger/Common/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Platform/DiagnosticsHub/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Platform/DiagnosticsHub/Common/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/DataCollectors/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/DataCollectors/Common/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/DataCollectors/x86/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/DataCollectors/x86/Common/Common.DLL.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/Common/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PublicAssemblies/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PublicAssemblies/Common/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/Common/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Microsoft/TemplateProviders/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Microsoft/TemplateProviders/Common/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Microsoft/TestWindow/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Microsoft/TestWindow/Common/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Platform/Debugger/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Platform/Debugger/Common/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Platform/DiagnosticsHub/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/CommonExtensions/Platform/DiagnosticsHub/Common/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/DataCollectors/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/DataCollectors/Common/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/DataCollectors/x86/Common.EXE.

    LOG: Attempting download of new URL file:///C:/Users/Vuong.le/AppData/Local/Microsoft/VisualStudio/15.0_763163f5/ProjectAssemblies/d3kscuzp01/PrivateAssemblies/DataCollectors/x86/Common/Common.EXE.

  • Posted 26 November 2018, 1:39 am EST

    Hello Vuong,

    Actually, when you try to preview “Code-based report” through the designer then it cannot access the application inbuilt dll(Like Common). You need to preview the code based report in “WinViewer”. Please refer to the following link for information:

    http://help.grapecity.com/activereports/webhelp/AR12/webframe.html#UsingActiveReportsWindowsFormsViewer%20.html

    Hope it helps.

    Thanks,

  • Posted 26 November 2018, 4:55 am EST

    Hi Mohitg,

    Can you share the link video Tutorial for config to use thirst party DLL in AR 12.

    Or video how to use WinViewer in AR12.

    Thanks so much,

  • Posted 27 November 2018, 8:24 am EST

    Hello,

    Please refer to the attached video to preview the code based section report in WinViewer.

    Hope it helps.

    Thanks,

    vid_Win.zip

  • Posted 29 November 2018, 12:36 am EST

    Hi Mohitg,

    Thanks for support, but that video is preview in runtime, that is not show on in duration draw report and see quickly by preview mode

  • Posted 29 November 2018, 6:28 am EST

    Hello,

    You cannot preivew the Code based report at deisgn time when you have written the additional code in its CS/VB file of Code based report. You need to preview the report at runtime.

    Hope it clarifies.

    Thanks,

  • Posted 2 December 2018, 11:27 pm EST

    Thanks Mohitg,

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels