Cannot connect to company file on file server

SOLVED

I have the connection manager installed on the server, users in question have full control access to the directory (NTFS) where the company file exists, they even have local admin access on their workstations.

Everyone has FC on the share permission.

I can get it to work by running AS the domain administrator on the workstations..but that's it. Even if I 'run as administrator' without credentials (IE 'using' the users admin privileges, but not the domain admin credentials) it still fails with the error:

'Sage 50 cannot open the database because the database engine reported an error. Please see error log for more information'

Sage 50, 2013 u2

Works fine with company file local on the workstation

Thoughts?

Parents
  • 0

    If each user has full SMB rights including modify, to the target folder on the server, and

    The database engine can't communicate with the workstation using TCP/IP,

    I would say try turning off / temporarily uninstalling the workstation firewall and antimalware as a test, then configuration if that's the problem.

    (and possibly restart the server)

  • 0 in reply to RandyW

    The connection works when I run as the domain administrator. No workstation firewalls are enabled and the AV software is active with the domain administrator as with any other user.

    The error suggests reviewing the log files, but i'm not sure which log files they are talking about.. eventvwr?

  • 0 in reply to dmad
    verified answer

    The log files are in ghe company.SAJ folder.  i.e. if the company 'file' is MyCompany.SAI, the folder is MyCompany.SAJ.

    It's significant that it works when you are the domain administrator.  As you say, you've pretty well eliminated the firewall or any local rights, as an issue.

    Has the server has been restarted? (to eliminate a possible difference in what rights the Services start with on boot, vs. after installation without reboot, make sure there's no files held open that shouldn't be, etc.)  

    Seriously, has the server been restarted?

    The process goes more or less like this:

    - Workstation client opens MyCompany.SAI using an SMB file connection.

    - Workstation client figures out server name from the file connection info, and attempts to make a TCP/IP connection to the Connection Manager on port 13531

    - Connection Manager verifies that it is a valid Sage 50 Client makiing the connection, and

    - starts the MySQL database engine, which

    - opens the 'real' data files in the .SAJ folder..

    - Connection Information for the server database daemon's TCP/IP port is passed to the Client (the first one is usually 13540, second is 13541, etc.)  

    So... the process is going wrong about where the database engine is opening the file.  If the database engine reported an error, then the communication all the way up to the database is working.   If the only user account that can start the database server is the domain admin, then it might not be starting as a system process?

  • 0 in reply to RandyW

    Hey Randy,

    Thanks for the heads up. No I have not restarted the server, just the db server service a few times. I have tried changing the account that the service is started under to the DA vs local service to no avail.

    I'll schedule a reboot and see if that helps. I'll update here afterwards, it probably wont happen until monday morning, however.

Reply
  • 0 in reply to RandyW

    Hey Randy,

    Thanks for the heads up. No I have not restarted the server, just the db server service a few times. I have tried changing the account that the service is started under to the DA vs local service to no avail.

    I'll schedule a reboot and see if that helps. I'll update here afterwards, it probably wont happen until monday morning, however.

Children