X3 SEED Folder installation problem with Login failed for user 'SEED'. : Erreur SQL Server

SOLVED

When loading the SEED folder in the Safe X3 management console, I get the error: Login failed for user 'SEED'.: Erreur SQL Server.  There was no opportunity to setup anything for this user, so I don't know how to make it install properly.  It went on to say it was completed but it received errors in the trace and the folder was not created when it finished.  Anyone else seen this?

Kelly Hamann

Parents
  • 0

    Any ideas from anyone on what would cause the error below?  "Error Connecting for pgm processes"

    I Removed the SEED user and tried the installation again.  This time it went all the way to the step below before it received the error that it could not connect.  The X3 folder exists and works properly.

    10/18/2014 1:14:19 PM : INFO  - Launching database cleaning script file. (LibAdmAdonix.CreateFolderDef)

    10/18/2014 1:14:20 PM : INFO  - Initializing the supervisor (LibAdmAdonix.CreateFolderDef)

    10/18/2014 1:14:22 PM : WARN  - Error Connecting for pgm processes (LibAdmAdonix.CreateFolderDef)

    10/18/2014 1:14:22 PM : WARN  - Error when initializing the Supervisor. (LibAdmAdonix.CreateFolderDef)

    10/18/2014 1:14:22 PM : WARN  - ERR_CANT_CONNECT

    can't get key [message.error.cant.connect] in the not loaded resource [com.adonix.x3.comm.client.adonix.CAdonix]. Cause:[Bundle com.adonix.x3.comm.client.adonix.CAdonix not found for locale en_US by classloader Console]. [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for user 'X3'. : ini_com:Erreur SQL Server!(2)

    (LibAdmAdonix.CreateFolderDef)

    10/18/2014 1:14:23 PM : INFO  - Application setup finished.

  • 0 in reply to KellyHamann

    I know the technical reason why you are getting the error, perhaps it will give you a clue to help move the story forward, not sure. Here it goes:

    I mentioned this up front, but it bears repeating. The account that you have set in the console is important here as it seems the script we use to create all the database objects isn't completing. So, ensure that you are using the sa or equivalent account for this process for now. 

    Having said that, you should examing where in the process it failed by first looking at the security. In SQL you should see a login for the X3 user. That login is tied to a database user, role and schema. If you don't have the X3 user on your server then it could mean that you also don't have the schema, or the database roles that you should have. This is what you can check first. 

    To check if you have the server login:

    SELECT principal_id, name, type_desc, is_disabled, create_date, default_database_name

    FROM sys.server_principals

    WHERE name = 'X3'

    To check if you have the database user and the roles:

    SELECT name, authentication_type, create_date, type_desc, default_schema_name

    FROM sys.database_principals

    WHERE name LIKE 'X3%'

    To augment the discussion even further you can find the scripts we user to create the role, database, users and in the <drive>\sage\sagex3v7\x3runtime\runtime\tmp directory. The script in question for you is the adcrapss7_x3.sql script. I think when it ran it must have failed for you at some point. If you open the script up it will become evident why it is critical as it links everything together from a security standpoint. 

    Also, my experience with troubleshooting these kinds of things is that you should troubleshoot the first error you get first. So, in your case, learning why the table you mentioned before didn't load into the database correctly is going to be crucial to the overall health. You might try and isolate load process, mimic it and decipher the root cause.  

    Hope this helps. 

  • 0 in reply to Delamater

    Thank you for the response.  At least I am leaning about the "innards" of X3 installations.  I first ran the queries you noted and all the results match except there is no column "authentication_type" in sys.database_principals on this version of SQL.

    I then tested the script you noted for X3 and it passed.  In reviewing it, I could see no reason it would fail.  I'm starting to believe that it has something to do with SQL 2008.  I've been considering creating a SEED71 folder instead and see if that works, but I don't see any reason it would not fail in the same fashion.

Reply
  • 0 in reply to Delamater

    Thank you for the response.  At least I am leaning about the "innards" of X3 installations.  I first ran the queries you noted and all the results match except there is no column "authentication_type" in sys.database_principals on this version of SQL.

    I then tested the script you noted for X3 and it passed.  In reviewing it, I could see no reason it would fail.  I'm starting to believe that it has something to do with SQL 2008.  I've been considering creating a SEED71 folder instead and see if that works, but I don't see any reason it would not fail in the same fashion.

Children