Sage 100

 View Only
Expand all | Collapse all

Error 65 when resizing screens in Sage Advanced

  • 1.  Error 65 when resizing screens in Sage Advanced

    Posted 07-08-2019 10:43

    I have having difficulty tracking now a resolution to a client screen issues where they are resizing or maximizing the data entry screens

     

    The most consistent one is error 65 in Sales Order Entry when resizing the screen on some computers. 

    I have logged into both computers (application server and new terminal server) using the same network Admin user. (masappsvc) This is the same user that the Sage Service is running under.

    This user is a domain and local administrator user.

     

    On the new terminal of windows 2016 Standard with 64 Bit Operating System, all users get the error 65 when resizing the sales order entry screen.
    If I run in MAS90 mode, I can resize all the screens with no error messages. It also works perfectly on application server.

     

     The version of Sage that we are running is Sage 100c Advanced SP2

     

    They do have 3rd Party products installed of

     SWK - MAPADOC

    Multi-Bin Warehouse from ACS Computers, now SWK

     

    Other notes/steps to troubleshoot:

    The screen is modified with Custom Office UDFs, both from 3rd party and user created ones. If we turned off Custom Office using the *esc method, however, we are still get the error 65 on the new terminal server. I have rename the links folder and Sy_Enhancement.M4t and SY_EnachcementModule.m4t file to try and temporary remove them from the equation, but I still get the error 65. So I do not think it is Custom Office or 3rd Party Related.

      
    We have also tried numerous uninstall and re-installs of the workstation as well as "Run As Administrator". Same error 65 if using classic or standard view.

    Of course, if you do not resize the screen it is fine. However, some of the users like to  maximize the screen or resize it to make it larger.

    The exact message is

    "An error has occurred while resizing the screen dMain in d:\sage\v2016\mas90\so\so_salesorder.m4l. [4045]"

    Error 65: Window element does not exist or already exists.

     

    I cannot help but feel that it is somehow permissions or network configuration, since it works in MAS90 mode.

     

    Any ideas, thoughts or suggestions would be appreciated.

    Michael



    ------------------------------
    Michael Davis
    Warren Averett Technology Group
    Birmingham, AL
    ------------------------------


  • 2.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-08-2019 10:47
    Have you tried changing the screen resolution?

    ------------------------------
    Doug Higgs
    Assistant Technical Support / Building Maintenance Specialist
    Midwest Commerce Solutions, Inc
    ------------------------------



  • 3.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-08-2019 10:59
    The application server is set to 1680 x 1050.

    And the new terminal server is also set to 1680 x 1050.

    Thank you
    Michael

    ------------------------------
    Michael Davis
    Warren Averett Technology Group
    Birmingham, AL
    ------------------------------



  • 4.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-08-2019 11:30
    Does the TS and application server have the same video adapter?  If not, they may work best with different resolutions.

    ------------------------------
    Doug Higgs
    Assistant Technical Support / Building Maintenance Specialist
    Midwest Commerce Solutions, Inc
    ------------------------------



  • 5.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-08-2019 13:30
    The application server is Server 2012 with 64 Bit. The Video driver is the Generic Non-PnP Monitor with file version of 6.3.9600.16384 from Microsoft Corporation.

    The new terminal server is Server 2016 with 64 bit and also using Generic Non-PnP Montior wit File Version of 10.0.14393. So a different version, but I would expect this since the operating system is different.

    The current terminal server is Server is 2008 with 64 Bit with the Generic Non-PnP Monitor with file version of 6.1.7600. No errors on this machine when running. The screen resolution here is 1920 x 1080

    So it could be the driver, but again, the strange part to me is that in MAS90 mode, I can resize with no errors. It is only when I am log and running as Sage Advanced, that I get the error 65 on the Server 2016 machine.

    I do have a some column post validate scripts on the SO Header, but they would have stopped running with the *esc command. No other scripts on the Header or Detail objects. The reset panels have been run a few times, with no effect.

    The only differences that I can see are the operating systems. Will play with screen resolutions as well as make sure that video drivers are update to date.
    Thank you
    Michael

    ------------------------------
    Michael Davis
    Warren Averett Technology Group
    Birmingham, AL
    ------------------------------



  • 6.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-08-2019 14:01
    Workstation repair?  It might be something didn't install properly on the terminal server (but is fine using the MAS90 mode program resources). 
    Also check the Compatibility tab of the program shortcut...

    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 7.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-08-2019 14:17
    Try 1024x768 to rule out screen resolution.

    ------------------------------
    Doug Higgs
    Assistant Technical Support / Building Maintenance Specialist
    Midwest Commerce Solutions, Inc
    ------------------------------



  • 8.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-09-2019 10:00
    Is Sage Advanced running as a service or an application on the server? If running as a service, be sure the user that is used for the service has full control to entire MAS90 folder. Also make sure you are on the latest product update.  

    Have you tried Classic desktop vs Standard desktop?  I've had better luck with Classic desktop on some terminal servers.

    ------------------------------
    Mary Mays
    Sr. Consultant, DSD Business Systems
    DSD Business Systems
    KS
    ------------------------------



  • 9.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-08-2019 10:51
    Edited by Kevin Moyes 07-08-2019 13:31
    The first thing I do with panel errors is have the user Reset the panel (right click menu), then run the Custom Office utilities to rebuild / update.
    Any UI scripts running on the panels?

    Edit:
    Perhaps a bad shortcut?

    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 10.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-09-2019 12:15
    Is the Modern or Classic desktop being used when the error occurs?
    If Modern, is the error occurring even at the lowest Application Scaling setting?
    If the error message you are getting is the one with the white background instead of the typical sage 100 message box, then i have seen that error a number of times  caused by sage 100 trying to draw a control where its position on the panel and size causes it to extend beyond the bounds of the screen.
    I would check to see if you can lower the Application Scaling and increase the resolution and see if the error goes away.

    ------------------------------
    David Speck II
    Tennessee Software Solutions
    ------------------------------



  • 11.  RE: Error 65 when resizing screens in Sage Advanced

    Posted 07-09-2019 15:45
    Thank you for the all the suggestions especially Alnoor thoughts on the local workstation code. 

    It seems that the client had installed Vertex for Sales Tax Reporting. Although not actively using it yet, it should install a VTX542 folder on the local c:\sage\sage 100 workstation\mas90 folder.

    When running in MAS90 mode, Sage was not using this local folder hence why it was working. When running as Sage Advanced, the local c drive was being used and with the missing folder, we kept getting error 65 on data entry programs. 

    It is strange that it only errorred out when re-sizing the screen(s). Nevertheless, when I copied the missing folder in the local c drive, everything worked with resizing the screens and no more error 65s.

    Thank you all again.

    Michael

    ------------------------------
    Michael Davis
    Warren Averett Technology Group
    Birmingham, AL
    ------------------------------