Results 1 to 5 of 5

Thread: SQL Server 2005 Developer: Database creation process

  1. #1
    Development is offline Junior Member
    Join Date
    Sep 2006
    Posts
    3

    Default SQL Server 2005 Developer: Database creation process

    I am trying to install 4.5.0 version on a Windows XP Professional under SQL SERVER 2005 Developer edition. During database creation process (step 7) system returns this error:

    Creating Sugar configuration file (config.php)

    Creating Sugar application tables, audit tables, and relationship metadata...

    Creating the database sugar on portatil02...done
    SQL Error : El nombre de objeto 'SYSOBJECTS' no es vᬩdo. relationships... SQL Error : El nombre de objeto 'SYSOBJECTS' no es vᬩdo.SQL Error : El nombre de objeto 'SYSOBJECTS' no es vᬩdo.creating / relationship meta ... done
    acl_roles... SQL Error : El nombre de objeto 'SYSOBJECTS' no es vᬩdo.SQL Error : El nombre de objeto 'SYSOBJECTS' no es vᬩdo.creating / relationship meta ... done
    acl_actions... SQL Error : El nombre de objeto 'SYSOBJECTS' no es vᬩdo.SQL Error : El nombre de objeto 'SYSOBJECTS' no es vᬩdo.creating / relationship meta ... done
    leads... SQL Error : El nombre de objeto 'SYSOBJECTS' no es vᬩdo.SQL Error : El nombre de objeto 'SYSOBJECTS' no es vᬩdo.SQL Error : Se termin�� instrucci

    Could you help me, please?

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: SQL Server 2005 Developer: Database creation process

    What happens if you run the following query from within SQL Management Studio?
    Code:
    SELECT * FROM SYSOBJECTS WHERE XTYPE = 'U'
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    Development is offline Junior Member
    Join Date
    Sep 2006
    Posts
    3

    Default Re: SQL Server 2005 Developer: Database creation process

    Many thanks for your attention.
    If I run that query, this is what happens:

    Error de ejecución SQL
    Instrucción SQL ejecutada: SELECT * FROM SYSOBJECTS WHERE XTYPE = 'U'
    Origen del error: .Net SqlClient Data Provider
    Mensaje de error: El nombre del objeto 'SYSOBJETS' no es válido

    Obviously, SYSOBJETCS table has not been created. What can I do now?
    Thanks again

  4. #4
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: SQL Server 2005 Developer: Database creation process

    Maybe you could try to create the database before you start Sugar Setup Wizard?

  5. #5
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: SQL Server 2005 Developer: Database creation process

    Quote Originally Posted by Development
    Many thanks for your attention.
    If I run that query, this is what happens:

    Error de ejecución SQL
    Instrucción SQL ejecutada: SELECT * FROM SYSOBJECTS WHERE XTYPE = 'U'
    Origen del error: .Net SqlClient Data Provider
    Mensaje de error: El nombre del objeto 'SYSOBJETS' no es válido

    Obviously, SYSOBJETCS table has not been created. What can I do now?
    Thanks again
    Actually, I believe your problem lies elsewhere.

    SYSOBJECTS is an internal table within MS-SQL. It always exists and contains a list of objects within a given database. The Sugar installer is trying to check if the Sugar tables already exist by looking for them in this catalog, but it is unable to read the catalog.

    SQL 2005 allows MS-SQL admins to restrict access to these tables, which is a change in behavior from previous versions. Your issue seems to be coming from some of these security restrictions.

    Do you get the same error message if you login to SQL Management Studio using "sa" and executing the same query?

    If so, try changing SYSOBJECTS to SYS.OBJECTS. If it continues to fail, there is a different issue within the SQL server that we need to track down.

    I suppose that you could always skip the part of the installer that checks for the Sugar tables, since you already know they are not there, but I wouldn't recommend you do that. Who knows what other items are inaccessible but necessary for normal operation.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •