Custom OE screen failing on just one workstation.

SOLVED

I have a built a Custom OE screen for a client that throws up an error that says "You don't have a license for this product" when it opens.  When you accept the message the OE screen closes.

The screen was built in VB6 and uses a copy of the OE1100 OCX form as a basis.  This is in Sage 300 v2022.

This same form was previously built in Sage 300 v2014 and it worked fine for years.  Out of 10 workstations only one workstation has the issue. 

The rest of Sage 300 works okay on that workstation including the standard OE Screen.

What should I be looking for?

Any help or direction would be greatly appreciated,

Dana

Parents
  • SUGGESTED

    This is typically caused by insufficient permissions to the Shared Data folder and / or insufficient access to the trunk of the registry pointing to the shared data folder. 
    As a test, try running Sage as administrator, then open your custom screen. 

  • I tried running Sage as Administrator.  Same error.

    I think it has something to do with the workstation but not sure what or how to find it.

    I checked the permissions on the shared data folder and they are the same as the other 9 workstations which all work okay.

    This workstation is the only one with multiple screens.  Not sure how that would affect it.  I had them remove the second screen and no change.

    Not sure what they did when they removed the screen though.

    PITA

  • 0 in reply to Dana B. Stidsen

    UAT can give this issue, especially when the session manager is running under a different security context. But running as Administrator should have worked around that.

    Check the path environment variable.

    And how are you running your screen?  As a Program icon?  Depending on what your screen is doing, you might need to set the Start In path in addition to the command line.

    Just to confirm - logging on as the user who's workstation is causing grief, on a workstation that works, exhibits no problems.  And vice versa - just to solidify that the workstation is the issue and not a network profile issue or a Sage 300 profile issue.

    Are you loading the OCX dynamically or have you embedded it within the .exe?  If embedded, could your .exe be trying to access two versions of the OCX or TBL file that do no exist where this workstation can see them (but the other workstations can).

    Re-run Workstation setup (or uninstall Sage and re-install).

    Any service pack discrepancies?

    And, just because, have you tried turning the computer off and on again? Slight smile

  • SUGGESTED

    Would also be a worthwhile exercise to re-confirm the basics:
    Path pointing the correct (and only one) runtime folder
    Registry programs and shared data values are correct
    I'd also echo Django's suggestion regarding re-running workstation setup

  • 0 in reply to Django

    I'll have a look at user account control but I think I changed that.  I usually do.

    I've logged on the workstation as the domain administrator and logged into Accpac as the ADMIN.  Same issue.

    I reviewed all the registry settings and the path.  All okay.

    I've not logged onto another workstation as the user.  I will try that this evening.  I expect it will be fine but we'll see.

    The OCX is embedded in the .exe.  None of the workstations can see the old one.

    I will re-run workstation setup for the nth time.  I've restarted the workstation many times and will do so again this evening.

    Thanks Django.  I do appreciate your help and Jay's.

    Dana

Reply
  • 0 in reply to Django

    I'll have a look at user account control but I think I changed that.  I usually do.

    I've logged on the workstation as the domain administrator and logged into Accpac as the ADMIN.  Same issue.

    I reviewed all the registry settings and the path.  All okay.

    I've not logged onto another workstation as the user.  I will try that this evening.  I expect it will be fine but we'll see.

    The OCX is embedded in the .exe.  None of the workstations can see the old one.

    I will re-run workstation setup for the nth time.  I've restarted the workstation many times and will do so again this evening.

    Thanks Django.  I do appreciate your help and Jay's.

    Dana

Children