dbTalk Databases Forums  

Re: Trying to read extended properties on Excel OLE DB connection

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Re: Trying to read extended properties on Excel OLE DB connection in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DM Unseen
 
Posts: n/a

Default Re: Trying to read extended properties on Excel OLE DB connection - 09-05-2005 , 07:22 AM






Andy,

you cannot open the Excel file (through automation or otherwise) *and*
then try to connect to it as a database. Files opened (in any Excel
instance) are locked for external data access(even read only).

A tip from me: drop DTS. it is extremely hard to debug and maintain.
Try to connect to your Excel file through linked server function of
your SQL server and link the spreadsheet first and try to query the
data directly in SQL

Dm Unseen


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.