DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Import/Export Tools  
DwZone Forum Index -> Import/Export Tools
.
Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 1 to 10 of 88 (Total: 87) First |  Prev |  Next |  Last  
 Subject Author Date  
   CSV import from external site  
View this persons public profile  Adrian Smith   8:25 11 Sep 2019  
    Excel import error on new host  
View this persons public profile  Sharon   8:21 5 Nov 2018  
 
The import works fine on two other hosts. The new host says I need to create an ODBC using the Excel driver but I did not have to do this on the other hosts. Here is the error:

****
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

/dwzExport/ExcelImport.asp, line 492
****

Here is line 482 to 492:

****
private sub readFromExcelContent()

if sXlsConnString = "" then
sXlsConnString = "Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)};DriverId=1046;DBQ=#DBQ#;DefaultDir=#DefaultDir#;"
else
sXlsConnString = replace(sXlsConnString, "#DBQ#", FullFilePath, 1, -1, vbtextcompare)
sXlsConnString = replace(sXlsConnString, "#DefaultDir#", getDir(FullFilePath), 1, -1, vbtextcompare)
end if

Set xlsConn = Server.CreateObject("ADODB.connection")
xlsConn.Open sXlsConnString
****

Any suggestions? Do I need to make an ODBC connection, and if so, what are the settings? Thanks.

MzLiberty
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: Excel import error on new host  
View this persons public profile  Gianluigi   10:24 5 Nov 2018  
   Re: Excel import error on new host  
View this persons public profile  sharon   11:50 5 Nov 2018  
   empty date fields  
View this persons public profile  Chris   2:53 20 Sep 2018  
   special Charakters Ä Ö Ü  
View this persons public profile  heise   2:17 3 Nov 2017  
   Re: special Charakters Ä Ö Ü  
View this persons public profile  heise   7:57 3 Nov 2017  
   Re: special Charakters Ä Ö Ü  
View this persons public profile  Gianluigi   11:03 3 Nov 2017  
   Re: special Charakters Ä Ö Ü  
View this persons public profile  Gianluigi   11:04 3 Nov 2017  
   Re: special Charakters Ä Ö Ü  
View this persons public profile  Gianluigi   11:05 3 Nov 2017  
Last Visit: Wednesday 24 Apr, 2024 5:34 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-2

Jump to: