Viewer is not displaying correctly

Posted by: jim on 14 October 2017, 1:02 am EST

  • Posted 14 October 2017, 1:02 am EST

    I have a AR 11 Section Report that when I display it is outside the viewer control. The attached image shows this. What can I do to correct this.

  • Posted 16 October 2017, 1:12 am EST

    Hello,

    It looks like an issue related to the page settings of the report. Could you please provide me your sample application or report to further debug the issue?

    Thanks,

    Deepak Sharma

  • Posted 16 October 2017, 6:55 am EST

  • Posted 17 October 2017, 10:41 pm EST

    Hello,

    Thank you for providing me the sample application. When I tried to run the application I got this error message about “A network-related or instance-specific error occurred while establishing a connection to SQL Server.”

    Please let me know how do you want me to update the connection string in order to sun the sample application successfully:

        Me.SqlConn.ConnectionString = "Data Source=WEBCAPTURE01\WebCapture01;Initial Catalog=FirstBankFiles;Integrated S" &
    "ecurity=True;Application Name=PayrollApp"
    

    Thanks,

    Deepak Sharma

  • Posted 18 October 2017, 2:53 am EST

    Here is a MS SQL Database that has the files. If you can add this to a SQL server and change the connection string you can see my problem. Incidently, even though it shows incorrectly in the viewer, when I print it, it is correct.FBTest.zip

  • Posted 23 October 2017, 8:12 pm EST

    Hello,

    Thank you for providing me the database, I tried to run the sample application and it gives me following error message:

    Regards,

    Deepak Sharma

  • Posted 27 October 2017, 1:44 am EST

    Here is an updated with the eUnique column as a Identity Column MS SQL Database that has the files. If you can add this to a SQL server and change the connection string you can see my problem. Incidently, even though it shows incorrectly in the viewer, when I print it, it is correct.

  • Posted 27 October 2017, 1:46 am EST

  • Posted 27 October 2017, 2:53 am EST

    Here is a screen image of my problem. When I print it from the viewer, it looks ok and within the canvas.

  • Posted 30 October 2017, 12:50 am EST

    Hello,

    I tried to run the sample application again but still got the same error message, I made two changes to replicate the issue:

    1. Removed the ‘EUnique’ from ADPFile Data table.
    2. Could not find the Stored Procedure ‘PrepareADPworkfile’ so commented out the code for this too.

    When I ran the sample application I could see all data in Viewer without any issue. Please refer to the attached video. I have also attached modified sample application, please test it and let me know in case the issue persists. Let me know if you have any display changes on your machine.

    I am working on Windows 10 64 bit, VS2017 and AR v11.2.10750.0.

    Thanks,

    Deepak SharmaARViewerIssue.zipPayRollApp1.zip

  • Posted 2 November 2017, 6:54 am EST

    I have run your code on both VS 2012 and VS 2017. I am working on Windows 7 64 bit, VS2017 and vs2012 and AR v11.2.10750.0. However my viewer shows exactly the same as in the screen shot above. Without understanding the architecture of AR it seems my problem is local to my machine. I need for you to tell me why my viewer is distorting the report.

  • Posted 3 November 2017, 1:21 am EST

    Hello,

    Is it possible for you to test this issue on some other machine? Also please let me know the result of setting the zoom to some numbers other than 35%.

    Thanks,

    Deepak Sharma

  • Posted 10 November 2017, 4:26 am EST

    OK, I compiled under VS2012 and ran it under another machine. It worked fine.

    I then compiled with VS2017 and it also worked fine.

    This means my error is on the Development machine.

    Now what do I do to fix this

  • Posted 14 November 2017, 2:53 am EST

    Hello,

    I am not sure what could be the reason for this behavior. You may try uninstalling/reinstalling AR also test this issue with some other application on same development machine.

    Thanks,

    Deepak Sharma

Need extra support?

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

Learn More

Forum Channels