mibuso.com

Microsoft Business Solutions online community
It is currently Tue May 21, 2013 11:27 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Error while restoring (SQL Migration)
PostPosted: Fri Jan 22, 2010 4:51 pm 
Offline

Joined: Wed Jan 11, 2006 8:33 am
Posts: 48
Location: Chennai
Country: India (in)
Hello All,

I am trying to migrate from FDB to SQL Server. I took a backup of the live database and did the followint:

1) Restored the FBK as FDB on a test environment
2) Ran a full database test
3) Used migrate.fob from Upgrade toolkit and made all necessary corrections to make the DB SQL Ready
4) Took a fresh fbk of the database
5) Created a blank SQL database
6) Tried restoring the "SQL Readied" fbk, Custome Restoration, Only the "Data Common to All Companies" and "Application Objects" first

I am getting the attached error.

"There is not enough memory to execute this function.

If you work in a single-user installation, you can try reducing the value of 'cache' program property."

Tried this on the server machine where I have SQL Express Edition, also on a local machine with SQL Express Edition (The FDB size is 2.5 GB and the FBK is around 700 MB)

Have anyone encountered and countered this error ever?

Please help

Najja


Attachments:
File comment: Error Message
NAV_Error_Restore.png
NAV_Error_Restore.png [ 40.45 KiB | Viewed 2837 times ]
Top
 Profile  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Fri Jan 22, 2010 6:16 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Mon Dec 11, 2006 10:34 am
Posts: 2863
Location: Bergamo
Country: Italy (it)
***NOT SURE ABOUT THIS***
I think Sql express does not support Databases bigger than 2GB
***NOT SURE ABOUT THIS***

_________________
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog


Top
 Profile  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Fri Jan 22, 2010 8:46 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
Belias wrote:
***NOT SURE ABOUT THIS***
I think Sql express does not support Databases bigger than 2GB
***NOT SURE ABOUT THIS***


http://msdn.microsoft.com/en-us/library ... 90%29.aspx

limit for 2005/2008 is 4GB, 2GB were for 2000 if I am not wrong...

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Sat Jan 23, 2010 6:42 am 
Offline

Joined: Wed Jan 11, 2006 8:33 am
Posts: 48
Location: Chennai
Country: India (in)
The limit is 4 GB in SQL express edition 2005+. The reason why I mentioned the DB size was precisely not to divert the discussion to the limitation of the Express Edition.

An update from my side: Tried restoring the DB to SQL Standard Edition, result is the same :-( Getting the same error.

Please help !!

Najja


Top
 Profile  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Sat Jan 23, 2010 9:14 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
1) Are you using latest client version?
2) How much memory you have? (I assume that enough)
3) What about free disc space? Mainly where the temp folder is placed...

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Sat Jan 23, 2010 9:29 am 
Offline

Joined: Wed Jan 11, 2006 8:33 am
Posts: 48
Location: Chennai
Country: India (in)
Thanks kine for the reply:

1) I am using NAV 2009 (not SP1 as the DB is for ver 6.0)
2) I have 4 gig RAM on the Box (not running any other major applications)
3) More than 20 gig available on C and plenty on the data drive

Any help appreciated.

Najja


Top
 Profile  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Thu Jan 28, 2010 2:32 am 
Offline

Joined: Tue Jun 07, 2005 5:24 pm
Posts: 2574
Location: MA
Country: United States (us)
There was a bug back in version 4 where this error would occur if the backup contained a large value in a BLOB field. Not that MS would re-introduce a previously corrected bug. :roll:

_________________
There are no bugs - only undocumented features.


Top
 Profile E-mail  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Mon Jun 07, 2010 2:34 pm 
Offline

Joined: Wed Feb 03, 2010 10:33 pm
Posts: 63
Country: Sweden (se)
Any solutions to this? [-o< Having the same problem with NAV 2009, SQL 2008 and I'm only restoring common data and application objects. Have 80GB available space 8GB ram

_________________
Hello IT, have you tried to turn it off and on?
Have you checked the cables?
Have you released the filters?


Top
 Profile E-mail  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Mon Jun 07, 2010 4:25 pm 
Offline

Joined: Fri Aug 06, 2004 9:30 pm
Posts: 899
Location: Richardson
Country: United States (us)
There was a problem restoring a large number of companies using the 32 bit version of SQL Server.
This was finally fixed - don't know which version. They did come up with a workaround before they fixed it.
Are you using 64 bit SQL Server?

_________________
David Machanick
http://mibuso.com/blogs/davidmachanick/


Top
 Profile  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Mon Jun 07, 2010 5:05 pm 
Offline

Joined: Wed Feb 03, 2010 10:33 pm
Posts: 63
Country: Sweden (se)
Yeah, it is the 64bit version which I'm running om my 64bit win7 machine.

_________________
Hello IT, have you tried to turn it off and on?
Have you checked the cables?
Have you released the filters?


Top
 Profile E-mail  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Tue Jun 08, 2010 9:03 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
Capone wrote:
Yeah, it is the 64bit version which I'm running om my 64bit win7 machine.


If you are using Win7, it means you are using desktop system (or notebook). These systems are not optimized for high performance for server systems. I expect that you do not have dedicated discs for different parts of the system etc. Do not expect some super performance....

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Thu Jun 10, 2010 8:11 am 
Offline

Joined: Wed Feb 03, 2010 10:33 pm
Posts: 63
Country: Sweden (se)
Found the solution! \:D/

I don't know if this is a performance issue but I noticed that everytime it gets "Out of memory.." it was restoring the codeunits for migrating to SQL (codunits in migrate.fob for SQL migration). It seems that restoring one of these codeunits would eat up to 2GB memory and then I would get this message.

My solution was to remove all the objects that comes from migrate.fob and the objects from the upgrade toolkits (upgrade from 3.01 to 2009). After that the restore went smoothly

_________________
Hello IT, have you tried to turn it off and on?
Have you checked the cables?
Have you released the filters?


Top
 Profile E-mail  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Thu Jun 28, 2012 12:10 pm 
Offline

Joined: Wed Feb 03, 2010 10:33 pm
Posts: 63
Country: Sweden (se)
Two years later I have the same problem (another db). Fortunately I found my own post and could implement the solution AGAIN :D

_________________
Hello IT, have you tried to turn it off and on?
Have you checked the cables?
Have you released the filters?


Top
 Profile E-mail  
 
 Post subject: Re: Error while restoring (SQL Migration)
PostPosted: Wed Jul 11, 2012 11:57 am 
Offline

Joined: Tue Mar 12, 2002 8:01 am
Posts: 36
Location: Germany
Country: Germany (de)
I had the same problem. Then, before I created the backup of the fdb I deleted the very big "FieldCheck" object (Codeunit 104015) and everything worked fine.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: