SQL Server Error

Gary.Lo
Member Posts: 5
Dear all experts,
I faced this issue when restoring a backup for a client on Windows 2003 Server + SQL Server 2005 installed. The error comes abt when I try to restore a single company back up to the database. Here is the error msg I received:
THe followng SQL Server error occured while accessing the User Group table:
701,"42000", [Microsoft][ODBC SQL Server Driver][SQL Server] There is insufficient system memory to run this query.
SQL:
SELECT O.[id], O.[type], CASE WHEN C.[name] IS NULL THEN 0 ELSE 1 END AS [primkey] FROM "NAVDB".[dbp].[sysobjects] AS O LEFT OUTER JOIN "NAVDB".[dbo].[sysobjects]AS C ON (O.id = C.parent_obj AND C.xtype = 'PK') WHERE ).[name]=?
The database has 100 users and 80 companies. The steps that I have taken to produce this error is as follows:
Restore the entire database with 80 companies and 100 users.
Renaming one of the company to another name.
Restore the (renamed) company from the same backup file and got the above error.
What I like to ask is, is there a limitation on Navision in the no. of users and company allowed on a database?
Thank you so much for your help in advance!
Cheers,
Gary
I faced this issue when restoring a backup for a client on Windows 2003 Server + SQL Server 2005 installed. The error comes abt when I try to restore a single company back up to the database. Here is the error msg I received:
THe followng SQL Server error occured while accessing the User Group table:
701,"42000", [Microsoft][ODBC SQL Server Driver][SQL Server] There is insufficient system memory to run this query.
SQL:
SELECT O.[id], O.[type], CASE WHEN C.[name] IS NULL THEN 0 ELSE 1 END AS [primkey] FROM "NAVDB".[dbp].[sysobjects] AS O LEFT OUTER JOIN "NAVDB".[dbo].[sysobjects]AS C ON (O.id = C.parent_obj AND C.xtype = 'PK') WHERE ).[name]=?
The database has 100 users and 80 companies. The steps that I have taken to produce this error is as follows:
Restore the entire database with 80 companies and 100 users.
Renaming one of the company to another name.
Restore the (renamed) company from the same backup file and got the above error.
What I like to ask is, is there a limitation on Navision in the no. of users and company allowed on a database?
Thank you so much for your help in advance!
Cheers,
Gary
0
Comments
-
It's a bit of a generic error and comes from SQL Server. Try a server restart and see if you still get the error - if not then it's a memory setting, possibly. What edition sql server are you using and what memory settings in sql and o/s do you have?
There are some errors in your query, are you sure this is what you're running?
Have you changed any of the "out of the box" sql settings?0 -
I am running SQL Server 2005 and Windows 2003 Server .
Server memory settings are as follows:
Use AWE to allocate memory (untick)
Minimum server memory (in MB): 0
Maximum server memory (in MB): 2147483647
Index creation memory (in KB, 0 = dynamic memory): 0
Minimum memory per query (in KB): 0
Maximum memory per query (in KB): 1024
All of the settings are default SQL settigns and nothing "out of the box" is done.
Thanks!0 -
Anyone has an ideas or comments on this?0
-
Maximum server memory (in MB): 21474836470
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions