Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Linked Server for Excel File


Linked Server for Excel File

Author
Message
nitin.doshi-1135961
nitin.doshi-1135961
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 205
We are using 32 bit SQL 2K5 (Enterprise Edition) in clustered environment. For almost 1 year we are using linked server for Excel file and is working fine. Suddenly from last 2-3 days, it started giving error now even with openrowset we are not able to query Excel files.

SQL Service is having Admin privileges on the physical machine and we have tried creating linked server for files kept on local drives also but it is giving following error.


Msg 7399, Level 16, State 1, Line 1

The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "EXT" reported an error. The provider ran out of memory.

Msg 7320, Level 16, State 2, Line 1

Cannot execute the query "select * from [upload$]" against OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "EXT".

Can anyone help in this..
Sarab_SQLGeek
Sarab_SQLGeek
Old Hand
Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)

Group: General Forum Members
Points: 372 Visits: 558
Try to check the page file settings ---- are they optimally set???
max & min memory of SQL Server.


Check the excel file if the file has some bulky data\ problem is with some specific file....... check with a simple 10rows excel file.

Regards,
Sarabpreet Singh Cool
Sarabpreet.com
SQLChamp.com
Twitter: @Sarab_SQLGeek
nitin.doshi-1135961
nitin.doshi-1135961
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 205
Thanks for your reply. But we have tried with an excel file containing less than 100 records.

Also memory allocated to the instance is 8 GB.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search