|
|||||||
| Cerca | Messaggi odierni | Segna come letti |
| Forum microsoft.public.it.sql Newsgroup microsoft.public.it.sql |
![]() |
|
|
Strumenti della discussione | Modalità di visualizzazione |
|
|
|
#1
|
|||
|
|||
|
Buongiorno, ho Windows 2008 server con SQL 2008 e vorrei leggere un file di
excel da una SP eseguento il seguente comando: SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 10.0;Database=D:\file.xls', 'SELECT * FROM [Foglio1$]') ho lanciato precedentemente: sp_configure 'show advanced options',1 reconfigure with override go sp_configure 'Ad Hoc Distributed Queries',1 reconfigure with override go ma da sempre lo stesso errore: OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Unspecified error". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)". Predo che il problema sia legato a Windows 2008 perche su Windows 2003 il problema non sussiste. Ho provato a dare i diritti alla cartella C:\winows\temp al gruppo USERS e al NETWORK SERVICE e al file in oggetto ma nulla. Se qualcuno ha una idea sarei molto grato. Grazie |
|
#2
|
|||
|
|||
|
"Stefano Grigoletti" <Stefano Grigoletti***discussions.microsoft.com> ha scritto nel messaggio news F089C46-7295-48A0-8DAC-F32218E6A758***microsoft.com...> Buongiorno, ho Windows 2008 server con SQL 2008 e vorrei leggere un file > di > excel da una SP eseguento il seguente comando: > SELECT * > FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', > 'Excel 10.0;Database=D:\file.xls', > 'SELECT * FROM [Foglio1$]') [CUT] > > ma da sempre lo stesso errore: > OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" > returned message "Unspecified error". > Msg 7303, Level 16, State 1, Line 1 > Cannot initialize the data source object of OLE DB provider > "Microsoft.Jet.OLEDB.4.0" for linked server "(null)". Ciao Stefano, che io sappia le specifiche del provider Jet OLEDB per i file di Excel sono: ---- Excel 3.0 Excel 4.0 Excel 5.0 Excel 8.0 ---- prova così: ---- SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=D:\file.xls', 'SELECT * FROM [Foglio1$]') ---- Ciao -- Giorgio Rancati [Office Access MVP] |
|
#3
|
|||
|
|||
|
Ciao Giorgio e grazie per l'aiuto, ma non risolvo il problema mi da sempre lo
stesso errore: OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Unspecified error". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)". "giorgio rancati" ha scritto: > > "Stefano Grigoletti" <Stefano Grigoletti***discussions.microsoft.com> ha > scritto nel messaggio > news F089C46-7295-48A0-8DAC-F32218E6A758***microsoft.com...> > Buongiorno, ho Windows 2008 server con SQL 2008 e vorrei leggere un file > > di > > excel da una SP eseguento il seguente comando: > > SELECT * > > FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', > > 'Excel 10.0;Database=D:\file.xls', > > 'SELECT * FROM [Foglio1$]') > [CUT] > > > > ma da sempre lo stesso errore: > > OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" > > returned message "Unspecified error". > > Msg 7303, Level 16, State 1, Line 1 > > Cannot initialize the data source object of OLE DB provider > > "Microsoft.Jet.OLEDB.4.0" for linked server "(null)". > > Ciao Stefano, > > che io sappia le specifiche del provider Jet OLEDB per i file di Excel sono: > ---- > Excel 3.0 > Excel 4.0 > Excel 5.0 > Excel 8.0 > ---- > > prova così: > ---- > SELECT * > FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', > 'Excel 8.0;Database=D:\file.xls', > 'SELECT * FROM [Foglio1$]') > ---- > > Ciao > -- > Giorgio Rancati > [Office Access MVP] > > > |
![]() |
| Tags: linked, microsoftjetoledb40, server |
| Strumenti della discussione | |
| Modalità di visualizzazione | |
|
|
Discussioni simili
|
||||
| Discussione | Ha iniziato questa discussione | Forum | Repliche | Ultimo messaggio |
| Provider Microsoft.Jet.OLEDB 4.0 e Win server 2008 | =?Utf-8?B?YWN0YXJ1cw==?= | Forum microsoft.public.it.dotnet.asp | 4 | 04-24-2009 02:43 PM |
| Win2008 e Microsoft.Jet.OLEDB.4.0 | =?Utf-8?B?YWN0YXJ1cw==?= | Forum microsoft.public.it.winserver | 7 | 04-24-2009 09:20 AM |
| OLEDB VFP9 linked server | paolo.miotti@gmail.com | Forum microsoft.public.it.sql | 0 | 01-07-2008 02:52 PM |
| Errore oledb provider linked Server | eric.campagn@gmail.com | Forum microsoft.public.it.sql | 0 | 10-24-2007 07:33 AM |
| Microsoft.Jet.OLEDB.4.0 in vista 64 | lm | Forum microsoft.public.it.dotnet.vb | 5 | 11-23-2006 04:02 PM |