Scusate sto cercando di connettermi ad un file excel sul server ed ho scritto così:perchè restituisce:codice:PercorsoXLS = Server.MapPath(NomeFile) Set RS = Server.CreateObject("ADODB.Recordset") Rs.Open "SELECT * from [DATI$]", "DRIVER=Microsoft Excel Driver (*.xls); DBQ=" & PercorsoXLSPercorsoXLS si valorizza correttamente:Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
[Microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not find the object 'DATI$'. Make sure the object exists and that you spell its name and the path name correctly.codice:D:\inetpub\wwwroot\sito\esempi\modello.xls![]()

Rispondi quotando