June 23, 2014 at 1:56 am
Hi,
We are running openrowset and we're getting this. SQL Server is 2008 R2 SP1
Msg 7399, Level 16, State 1, Line 2
The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" reported an error. The provider ran out of memory.
Any ideas?
Thanks!
June 23, 2014 at 2:00 am
Are you reading Excel files?
The JET OLE DB provider is 32-bit only.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 23, 2014 at 2:12 am
Yes..
all are 32 bit. But still getting that error.
June 23, 2014 at 2:18 am
Is your SQL Server also a 32 bit ?If yes then it looks like the linked server has no memory available to pull the data.
How much memory does your server has ?
--------------------------------------------------------------------------------------------------
I am just an another naive wannabe DBA trying to learn SQL Server
June 23, 2014 at 2:26 am
yes, SQL Server is 32 bit. Server's memory is 8GB.
June 23, 2014 at 2:28 am
whitesql (6/23/2014)
Yes..all are 32 bit. But still getting that error.
You can perhaps use the ACE OLE DB provider, which is available in 64-bit (and can thus use more memory).
Use the first connection string of this page:
https://www.connectionstrings.com/ace-oledb-12-0/
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 23, 2014 at 2:32 am
Tried it (ACE) and now I'm getting this error:
Cannot create an instance of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)".
June 23, 2014 at 2:49 am
Is AWE enabled for your server ?
--------------------------------------------------------------------------------------------------
I am just an another naive wannabe DBA trying to learn SQL Server
June 23, 2014 at 2:51 am
Yes, it is enabled
June 23, 2014 at 3:01 am
What is the value of physical memory allocated to sql instance set to ?I think not enough memory(VAS) is available for the linked server.
How big is the Excel data ?
--------------------------------------------------------------------------------------------------
I am just an another naive wannabe DBA trying to learn SQL Server
June 23, 2014 at 3:18 am
physical memory allocated is the default in sql server. Excel file size is only 26 KB.
June 23, 2014 at 3:21 am
physical memory is default in sql server.. 2147483647 ... excel file is only 26KB
June 23, 2014 at 3:22 am
how I allocate or adjust memory for linked server?
June 23, 2014 at 3:28 am
Try setting up as "Outprocess"
To connect to Microsoft Access, SQL Server must start the Microsoft Access Database Engine. Unlike most other providers, Microsoft Access is not a light-weight provider, but is the entire Microsoft Access Database Engine. Opening Microsoft Access in the SQL Server process space can cause failures due to lack of disk, processor, or memory resources. Errors include, "Cannot initialize the data source object of OLE DB provider." To avoid out of memory errors, configure the provider to open outside of the SQL Server memory process space.
http://technet.microsoft.com/en-us/library/ms175866%28v=SQL.105%29.aspx
--------------------------------------------------------------------------------------------------
I am just an another naive wannabe DBA trying to learn SQL Server
June 23, 2014 at 3:47 am
Hi Sachin,
I tried your suggestion but I'm still getting this error:
Msg 7399, Level 16, State 1, Line 2
The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" reported an error. The provider ran out of memory.
Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic. Login to reply