Sage 100

 View Only
Expand all | Collapse all

StarShip Cloud and Sage 100 SQL setup issue

  • 1.  StarShip Cloud and Sage 100 SQL setup issue

    Posted 10-30-2022 13:41
    Does anyone have a client using StarShip Cloud with Sage 100 SQL?  We are migrating a client that has StarShip Cloud from providex to SQL and I'm not able to connect to the Sage data.  I get an error Unable to create the instance of Providex Dictionary OLE ServerClass not registered when setting up the company in StarShip per their instructions.  Vtech support said everything was compatible but I would feel better knowing someone else is using it.  If anyone has set StarShip cloud up with Sage SQL and has some insight that would also be appreciated.

    Thanks!

    ------------------------------
    Bernie Lehman
    Partner
    Lehman Wesley & Associates
    ------------------------------


  • 2.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 10-30-2022 14:14
    Edited by David Speck II 10-30-2022 14:37
    This sounds like what I experienced when migrating from 2019 to 2021 for a client that had multiple StarShip instances on different servers.  Apparently the 2021 installer is missing the pvxdax.dll file.  Below is a summary of my findings that I shared with V-Technologies after connecting with Gary at V-Technologies.

    I found out why the Connector on the first machine worked from the beginning, it is because I had installed the Sage 100 2019 workstation on it, so it had the pvxdax.dll file in "C:\Program Files (x86)\Common Files\Sage\Common Components" and it was registered. Oddly though, as part of some of the Sage 100 installers, it creates entries in the registry for pvxdax.dll with the path being the MAS90\Home folder. So for any 2021 installs, the pvxdax.dll file just needs to be copied into the MAS90\Home directory, on the server, this should be the server's MAS90 path and probably wouldn't hurt to also put it in the server's workstation's MAS90\Home folder as well, for workstations, it needs to be in the workstation's MAS90\Home folder. It doesn't look like it needs to be registered because of what is already in the registry but it probably wouldn't hurt.

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



  • 3.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 10-30-2022 14:42
    Hi David-
    First off - Many thanks for a Sunday afternoon reply to my question!

    I copied the pvxdax.dll to the two directories you mentioned and now I am getting a different error message.  CreateSourceCompany: user session was not found. SessionID: tetechnologyinc##afc36a21-5315-4ff0-a127-a1d2f7a2f601

    I wasn't able to register the dll, got a message saying "The module "pxvdax.dll" was loaded but the entry-point DllRegisterServer was not found.  Make sure that "pvxdax.dll" is a valid DLL or OCX file and then try again.  Not sure if that has anything to do with the new error message but wanted to mention it.

    I'm open to any other suggestions you might have.

    Thanks!


    ------------------------------
    Bernie Lehman
    Partner
    Lehman Wesley & Associates
    ------------------------------



  • 4.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 10-30-2022 18:35
    This can be moved off urgent support, I'm going to contact StarShip support Monday morning.

    ------------------------------
    Bernie Lehman
    Partner
    Lehman Wesley & Associates
    ------------------------------



  • 5.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 10-31-2022 17:48
    dI worked with StarShip and followed these steps to get the connection to work with Sage 2022 SQL

    1.  StarShip Service user has to be a domain administrator
    2.  Signed in to the server hosting StarShip as the user running the service
    3.  Open Sage 100 SQL with any user
    4.  Open the StarShip web application
    5.  Delete the existing company
    6.  Create a new company using the connector on the new server

    Thanks again @David Speck II for your help yesterday!​

    ------------------------------
    Bernie Lehman
    Partner
    Lehman Wesley & Associates
    ------------------------------



  • 6.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-01-2022 08:55
    First, thanks for both of you for following up on this so that future searches find the resolution.

    Secondly, adding a Domain Administrator as the service user is something that many of my sophisticated IT departments will push back on. And, in my view, we are going to see more pushback as the small Sage 100 customers are squeeze out either because they go out-of-business or get acquired. And what's left are the larger Sage 100 customers who either have sophisticated IT departments or are using a sophisticate MSP.

    ------------------------------
    Wayne Schulz
    wayne@s-consult.com
    Schulz Consulting
    (860) 516-8990
    Moodus, CT
    ------------------------------



  • 7.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-01-2022 09:37
    Very much agree @Wayne Schulz FWIW, if they are using ADV or SQL, they already have the Sage service user running as a domain admin so Starship could use that service account.


    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    (540) 221-4444
    ------------------------------



  • 8.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-01-2022 10:07
    My "IT" two cents:

    I have never run any Sage or StarShip service as a Domain Administrator. I usually create a Domain User account and set role/share/ntfs permissions for it accordingly. Sometimes I'll give that domain user Local Admin rights on the Sage server, but that's as far I'll go security wise.

    ------------------------------
    Steve Iwanowski, NextStep Technology Advisors, aka DSD Lancaster PA ¯\_(ツ)_/¯
    ------------------------------



  • 9.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-01-2022 11:20
    I second @Steve Iwanowski's comment​, my large clients with their own IT create "service accounts" specifically for each app and give them the appropriate rights.

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 10.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-01-2022 11:25
    Do either of you have a document that you share with the IT departments with specific rights that the service should have

    In many cases Sage ( and others ) take the "lazy" way out and suggest that the service account have more permissions than is required.
    I've also run into this with the SA account for SQL - almost no formal IT department is giving that password out.

    And when you go to look at the Administrator Guide for Sage 100 -- which BTW looks like it was last updated around the time of Y2K --- there is frequently no concise list of the EXACT role that an account needs - either for running aservice or attaching to SQL during install/upgrade.

    ------------------------------
    Wayne Schulz
    wayne@s-consult.com
    https://www.schulzsays.com/
    Schulz Consulting
    (860) 516-8990
    Moodus, CT
    ------------------------------



  • 11.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-01-2022 11:55
    From the way back machine (Besttalk forum days).  A post from Alnoor.

    I'm glad you brought that up. Although you may know this yourself already, for the benefit of others, this is a good time to mention some of the requirements for Version 4 MAS 200 as it relates to the account that's run the App Server (formerly Host) service or App Server desktop (formerly known as the stand-alone Host). I'll describe it as if the service was running. This is a VERY important topic as it relates to hanging / stability and applies to the majority of MAS 200 installations of 4.x. This is somewhat lengthy but worth the read.

    In Version 4 there are many places, unlike Level 3 where a UNC path is executed from the server itself instead of the client. For example, when adding a new report in Report Manager, or browsing through Data File Display and Maintenance, or using G/L Exchange Wizard to export the output, all of these programs plus many others (but still not the vast majority) execute the UNC path (or whatever path is found) in the workstation's PATH= clause in the [Servers] section of SOTA.INI.

    For example, let's say the App Server is configured to use the System account (aka LocalSystem). Let's say at a workstation, the user tries add a new report in report manager and it hangs, and hangs up the whole server in fact (because the pvxwin32.exe process is taking 95% of cpu util.) and everybody complains of slow performance now. What went wrong?

    Assume Workstation Setup was installed to c:\program files\best\mas 200\version4\mas90. In the Launcher folder, there is the sota.ini. In the [servers] section there will be at least one line containing the server info. Included in this line is the PATH= cause. It is typically regarded as an "ODBC path". Whenever you print a Crystal form or report, this is the path executed at the workstation. In Version 4, this same path, found in the client's SOTA.INI is executed by the app server service account in various places. The point is even though this path may be valid from the workstation it may not be from the server itself, at least not for the service account. Let's say the path is \\myserver\actg\mas200\mas90 and the account running the App Server service is running with:

    1. The System / LocalSystem account --> it will fail (in this example hang) because by definition the system account is only aware of the local machine and cannot execute a UNC. The System account CANNOT BE USED IN VERSION 4 ANYMORE.

    2. A local machine account from the member server MAS 200 is installed on --> it is subject to failing simply because it is not a domain account. This could happen even with the local Administrator account. The way to know for sure is to logon to the server's desktop as that local machine account. You may need to change a policy to allow an interactive desktop logon but consider it necessary. Now that you're logged as the service account on to the desktop, simply click on Start / Run and type \\myserver\actg\mas200\mas90 and press Enter. Now did a Explorer window appear or did you receive a Windows challenge response. A typical Windows challenge is "please enter the user name and password to access this network resource". Sometimes unusual messages appears. Regardless, if any challenge whatsoever appears here, it means the app server service is also running into the challenge and instead of presenting you with a UI to let you know you're being challenged, you get hanging or some type of error message instead. You MUST configure it so you are never challenged.

    Now lets say you are not challenged and an Explorer window appears after executing the UNC. You're not out of the woods yet. Rt-click,choose New Shortcut. If the shortcut wizard appears, good news - just cancel out. You have now just written a file and deleted a file successfully via the UNC and you should be good to go. If an "access denied" message appears, then you have permissions problems to take care of.

    3. A domain account that is part of the Local Administrators group --> you have the best chance of success of not running into a Windows challenge response. You have done yourself a great favor! You still need to interactively logon to the server's desktop with the domain account and do the UNC test above but your chances are good unless you have multiple domains and then you have to worry about the trusting/trusted domain relationship.

    The moral of the story is in Version 4.x MAS 200, for the App Server service (or App Server desktop application) use a Domain account that is part of the Local Administrators group to ensure your best chances of success (and this login cannot be a service account only).  This is the same exact requirement of Business Alerts service too, btw.

     

    Additional Settings for App Server v4

     

    There are 2 settings in App Server Config you want to adjust. One is on the Server tab and is called KeepAlives. Uncheck it. The 2nd is on the Clients tab called Reconnect. Set it from Automatic to None. (v2019 None is default setting)Do this with all users out of the system.



    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    (540) 221-4444
    ------------------------------



  • 12.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-01-2022 11:57
    I'd love to see a "sage100" SQL user rights definition.

    Saleslogix was initially launched before MSSQL took over the world, and it used MSSQL, Oracle, and the Borland Rapid Dev tools including its excellent RDB. Early customers used either Borland on the server and for its remote installations (salespeople's traveling laptops) or MSSQL on the server and Borland on the laptops. 

    This system NEVER used sa to access anything specific to SLX (after the initial SLQ install). The SQL user for SLX was "sysdba" with rights defined by at server database. It was simple and easy for non-MSSQL admins to perform any SLX-related work on the system without knowing the "keys to the kingdom."

    Perhaps 90 Minds can develop the simple rules needed for a Sage 100 partner to setup and use a "sage100" SQL user to simplify all this in a 2022-realistic IT environment?

    ------------------------------
    Jerry Norman
    At-Large BOD Member, 90 Minds
    Smartbridge Partners
    (512) 653-7498
    ------------------------------



  • 13.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-02-2022 08:49
    I'll try to narrow this down during my next Premium install/migration.

    At the system level, db_creator is necessary to create new companies (databases), but beyond that, the inherited db_owner of the database gives everything needed (and way too much) for daily operations.

    ------------------------------
    Steve Iwanowski, NextStep Technology Advisors, aka DSD Lancaster PA ¯\_(ツ)_/¯
    ------------------------------



  • 14.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-02-2022 09:12

    This type of knowledge is going to continue to leave the Sage 100 community.

    People retire, get permanently separated from Sage and no significant new people will be coming into the Sage 100 ( BMS ) world.

    I think it's very important to document for use in future years.

    I don't believe Sage has any interest in doing this.

    The Mod squad is a great idea but really it's really a Sage benefit -- in that it's less work for Sage to come up with ideas or spend any time learning about Sage 100 users.

    What we need is the Extraction Squad where we regularly gather info from the remaining Sage 100 engineers before they retire or are slowly released from service.

    Isn't there a top 10 list of info that is important enough to dedicate some time to this?

    And it helps the group as well because while all the BPAC are doing this type of thing haphazardly I think none is dedicating the type of resources that 90 Minds can to this type of info gathering.

    Asking Sage to introduce features is hit or miss however I think asking them to assist with compiling some high value KB type info that the group can archive and maintain is worth its weight in gold to future generations.


    Some ideas: 
    1. What are the requirements for Sage 100 Premium
    2. Utility to move paperless files 
    3. How to migrate 3.x to 202x
    4. Files to migrate for Payroll 2 migrations
    5. Sage 100 Advanced - how to increase server memory registry entry
    6. Paperless Lockfile and related issues ( master "how to fix" )
    7. What internet access is required by Sage 100
    8. How to reset the Sage 100 Administrator password
    9. How to move paperless office direct deposit stubs
    10. Master list of the odds and ends you need to manually update AFTER Sage 100 data migration/conversion ( ACH path, Positive Pay, Paperless Office )
    Yeah you can argue that one or more of these shouldn't be there but the concept is the same - start gathering this knowledge around common issues that everyone seems to run into on a regular basis.

    Just my .02





    ------------------------------
    Wayne Schulz
    wayne@s-consult.com
    Schulz Consulting
    (860) 516-8990
    Moodus, CT
    ------------------------------



  • 15.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-02-2022 09:27

    I fully agree with this.

     

     

    Avron Katz

    President

    K-Four Systems, LLC

    P: 774 233 0467 Cell: 508 380 1720

    www.kfoursystems..com  e-mail: avron@kfoursystems.com

     

     

    IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only.  If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof.

    P Please consider the environment before printing this e-mail

     






  • 16.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-02-2022 10:36

    Love that idea Wayne!

     

    Sue Bennett | President

    Bennett/Porter & Associates, Inc.

    P. 503 620 3484 | F. 503 620 2765

    12559 SW 69th Ave | Portland, OR  97223

    Email address | www.benpor.com

    Bennett/Porter Blog facebook twitter

     

    The information in this email and any attachments is considered confidential. This information may be subject to legal, professional, or other privilege. It must not be disclosed to any person without our authority. If you are not the intended recipient you are not authorized to and must not disclose, copy, distribute, or retain this message or any part of it. Please return this message to the sender immediately and delete any and all copies from your system.

     

     






  • 17.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-02-2022 11:52
    Just to confirm @Wayne Schulz post, Mitchell Jagosz  QA Engineer Advisory • Engineering!!  sent me this note back in August - I have to say that after 28 years at State of the Art/Best/Sage, I am retiring in January (2023). I am really pulling out of mainstream Engineering day to day work and in a mode of reviewing existing and documenting all processes and internal "How To's" for my last 4 months. 


    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    (540) 221-4444
    ------------------------------



  • 18.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-02-2022 12:07
    Edited by Wayne Schulz 11-02-2022 12:09
    As noted in the world famous SMB View newsletter this morning - Kevin Kawado's LinkedIn also indicates that after almost 30 years that Kevin is also gone from Sage. My best estimate is that Kevin's Linkedin status changed on or about 10/28/2022 though I believe he'd been gone for a period of time prior to that.

    ------------------------------
    Wayne Schulz
    wayne@s-consult.com
    Schulz Consulting
    (860) 516-8990
    Moodus, CT
    ------------------------------



  • 19.  RE: StarShip Cloud and Sage 100 SQL setup issue

    Posted 11-02-2022 12:45
    Good morning

    Thank you for the comments and suggestions. This has been an ongoing conversation between myself and Wayne about memorializing this information moving forward.   Special thanks to @Wayne Schulz for continuing to push this issue.  

    This is where I need help from our Members! 

    I am convening a new Consultant Membership Committee next Monday and this item will be on the agenda (as well as many others).   Any members that would like or think they could help with a new Library Extraction Squad, please reach out to me at anne.sawyer@90minds.com and join this committee to start. 

    The appropriately named Library Extraction Squad (thanks Wayne) will be a spin-off task force that will be focused on just content, and memorialization of materials, posts, and/or documents for retention.  

    If you have any interest in assisting this Squad or Membership - please let me know.   Thanks!

    Anne




    ------------------------------
    Anne Sawyer
    Executive Director
    90 Minds, Inc. 1
    ------------------------------