When trying to use the "import" feature to import an Excel or CSV file, we receive an IIS Error 500. The file appears in the "tmp" dir but the import fails. We are using ASPRunner 6.1, IIS7 and SQL Server 2008 on a Windows2008 server.
Checked already:
- Ensure application has write permission to "tmp" dir.
- Set "Maximum Requesting Entity Body Limit" to 3000000
- Made sure Excel files are version 2003
This is the specific error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver] Data source name not found and no default driver specified
/CDIPweb/DRGMaster_import.asp, line 48
This is line 47 and 48:
strConn = "DRIVER={Microsoft Excel Driver (*.xls)};UID=admin;UserCommitSync=Yes;Threads=3;SafeTransactions=0;ReadOnly=1;PageTimeout=5;MaxScanRows=8;MaxBufferSize=2048;FIL=excel 8.0;DriverId=790;DBQ=" & psFilePath
dbConn.Open strConn
Any suggestions would be greatly appreciated as we are in the middle of an on-site customer installation.