Sage 100

 View Only
Expand all | Collapse all

In the process of doing a test upgrade for custome

John Leonard

John Leonard02-23-2012 12:48

Jennifer Christon

Jennifer Christon02-23-2012 12:51

Therese Logeais

Therese Logeais02-23-2012 13:57

Jim Woodhead

Jim Woodhead02-28-2012 11:17

Louis Araiza

Louis Araiza02-28-2012 12:55

  • 1.  In the process of doing a test upgrade for custome

    Posted 02-23-2012 08:43
    In the process of doing a test upgrade for customer and receiving the following error when trying to do any posting or run any crystal reports: ""The following error occurred while connecting to the SQL server. Failed to open the connection. Details: [Database Vendor Code 17]"". I have been working with their IT person for the past couple weeks on this and we have checked that users have full permissions to the MAS 200 folder, Business Objects folder, reviewed ports that may need to be open, but am running out of ideas to troubleshoot this. The customer is working in a hosted citrix environment and we only receive this error on the two (load balancing) terminal servers. I do not receive this error on the actual mas server. Any suggestions would be greatly appreciated.


  • 2.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 08:59
    Not going to be of much help though there appears to be some discussion (not sure if it's helpful) in various sites obtained through a Google search for Database Vendor Code 17 Here's one (again not sure it's of help just an fyi) http://forums.sdn.sap.com/thread.jspa?threadID=2118747


  • 3.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 10:48
    Can other users run the SAME report? It sounds like the report needs to have the database verified.


  • 4.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 10:53
    I think the SOTAMAS90 driver is corrupted - go check in ODBC maintenance. Create a new report against the GL_account table, does that work?


  • 5.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 10:54
    Is this MAS 90 or MAS 200? If MAS 200 and it is running as a service be sure the service user account has domain admin rights and is a member of the local admin group on the terminal server.


  • 6.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 11:43
    I had a similar error with PO printing, and it was related to updating the UDF's after applying an SU. I had to update each UDF field manually, then the error message (Database Vendor Code 1021) was resolved.


  • 7.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 12:35
    I tried creating a new report as well as verifying the database from the client on terminal server and neither worked. When I try to create a new report and connect to the db, I receive almost the exact same error. Does this mean the driver is corrupt?


  • 8.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 12:37
    Also the customer is on MAS 200 and the service is running as a local admin. I will double check to see if there are any udf


  • 9.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 12:48
    Is the service user also a domain admin?


  • 10.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 12:51
    Yes - the service user is a domain admin


  • 11.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 13:01
    Have you tried rerunning a workstation setup to reset the ODBC driver? Since you can't connect at all, I'd say the ODBC connection is bad.


  • 12.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 13:55
    Is the network share set at one above the MAS folder? When in stalling the workstation, was the UNC entered properly (not NO ACCESS), Also, per my Installing and Configuring MAS 200 consultants exam today (which scored a 90) Specify a logon user to start the service. Do NOT run the Sage ERP MAS 200 Application Server service under the LOCAL SYSTEM account. - The local system accounts do not have access to certain network resources Sage ERP MAS 200 requires. Per ""Yoda"" Alnoor, ALWAYS create a separate MAS 200 user to run the service that has local rights...............


  • 13.  RE: In the process of doing a test upgrade for custome

    Posted 02-23-2012 13:57
    Congrats Jeff!


  • 14.  RE: In the process of doing a test upgrade for custome

    Posted 02-27-2012 09:54
    So the networj share is set at one above the MAS folder, and the UNC has the correct path to the server. I double checked with the IT person and the server user is a domain admin user with full rights to everything. I did try running the workstation client again, but am still running into the same error message. They do have some UDF's but I ran the ""update custom panels to current level"" utility. @CindyIsche - did you use another method to manually update the UDF's?


  • 15.  RE: In the process of doing a test upgrade for custome

    Posted 02-27-2012 09:58
    Alnoor Post on Forum regarding Service vs. Application on v4. MAS 200 - This might be helpful. http://support.sagesoftwareonline.com/besttalk/messageview.cfm?catid=58&threadid=20839&forumid=1 Dawn, 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. Do this with all users out of the system. Also look at the shortcut for starting App Server Startup or App Server Config. Make sure you see it with a local drive. e.g. D:\Program Files\Sage Software\MAS 200\Version4\MAS90 as opposed to a UNC or mapped drive letter. For example you don't want to see: \\Server\Share\ MAS 200\Version4\MAS90


  • 16.  RE: In the process of doing a test upgrade for custome

    Posted 02-27-2012 10:38
    Wow @JeffSchwenk that sure was a long read! (Looks like you didn't go the mall?)


  • 17.  RE: In the process of doing a test upgrade for custome

    Posted 02-27-2012 12:46
    At ceramic pottery store watching paint dry on my rainy day vacation creation. BTW can you say copy and paste???? An oldie bras account


  • 18.  RE: In the process of doing a test upgrade for custome

    Posted 02-27-2012 13:15
    Oldie bras""? Are you at a pottery store or a lingerie shop? ;)


  • 19.  RE: In the process of doing a test upgrade for custome

    Posted 02-27-2012 15:59
    The darn smart phone does not like me yet. Too many typos and too hard to edit...................


  • 20.  RE: In the process of doing a test upgrade for custome

    Posted 02-28-2012 07:11
    Thank @jeffschwenk for reposting and @alnoorcassim for originally writing. :)


  • 21.  RE: In the process of doing a test upgrade for custome

    Posted 02-28-2012 10:55
    I appreciate the feedback from everyone. Ironically the issue was resolved by just opening up port 1433 from the MAS server to the terminal servers.


  • 22.  RE: In the process of doing a test upgrade for custome

    Posted 02-28-2012 11:17
    So what is special about port 1433?


  • 23.  RE: In the process of doing a test upgrade for custome

    Posted 02-28-2012 11:22
    @JeffSchwenk and @JimWoodhead - I'm thrilled somebody actually read that and it got reposted too! I put that on the old SageTalk forums years ago while at Sage. To this day I remember thinking this should be helpful to somebody but instead got a lot of flack and flame responses from this bonehead IT guy Fernando who in extolling his IT virtues, questioned me on why a UNC path couldn't be run by the LocalSystem account among other things. He couldn't just ask for clarification, he just had to flame and self-praise all the whilst being 100% wrong. I enlisted outside help to respond to the thread and discredit his dumbass self .. <insert Sheldon Cooper laugh>


  • 24.  RE: In the process of doing a test upgrade for custome

    Posted 02-28-2012 12:31
    @JimWoodhead 1433 is the default SQL Server port


  • 25.  RE: In the process of doing a test upgrade for custome

    Posted 02-28-2012 12:55
    @AlnoorCassim I loved that post


  • 26.  RE: In the process of doing a test upgrade for custome

    Posted 02-28-2012 13:50
    I did to, and have a copy of it that I whip out when an IT guy starts to argue with me about it.


  • 27.  RE: In the process of doing a test upgrade for custome

    Posted 02-28-2012 15:57
    The post was enhanced just a bit with the line about making sure the MAS account was NOT a service only account. I added that blurb to my notes after wrestling with a client issue for two months. The IT people finally clarified that they deviated from my instructions in that they set up the account as a service ONLY account, not as a full user. Once they corrected the error of their ways, all was well in IT land.