Reply to Re: OpenRowSet with Excel DENIED

Your name:

Reply:


Posted by Steve Kass on 10/07/05 08:47

What version of SQL Server are you running?
Does this help? http://support.microsoft.com/kb/328569

Steve Kass
Drew University

groups_mw@yahoo.com wrote:

> Same with OpenDataSource. SQL 2000, logged in as non-SA.
>
> Getting message:
>
> Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been
> denied. You must access this provider through a linked server.
>
> Can run with SQLOLEDB with connection string to same server
> (obviously), but when trying to access an Excel file, get the message
> above.
>
> It appears that the file name given in the connection string to Excel
> is with respect to the SQL server, so I have used UNC names to the
> file. Nothing.
>
> Want to avoid DTS when it's a table that I need and can't use a linked
> server because it's always a one time thing.
>
> Any tips appreciated!
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация