944,172 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 8435
  • ASP RSS
Jan 23rd, 2007
0

Microsoft Excel Driver Error

Expand Post »
Hello All,

I am using an ASP script on my site that reads a microsoft excel file and adds the values to the database (MS SQL Server). The script works completely fine on my LOCAL server, but it shows me the following error when I upload it to the server and try to run it.


ASP Syntax (Toggle Plain Text)
  1. Microsoft OLE DB Provider for ODBC Drivers error '80004005'
  2.  
  3. [Microsoft][ODBC Excel Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x1128 Thread 0x2268 DBC 0xd2d0fec Excel'.
  4.  
  5. /Bacardi/bblcontest/readexcel.asp, line 5

FYI, I am using the following connection string:

ASP Syntax (Toggle Plain Text)
  1. Set oConn = Server.CreateObject("ADODB.connection")
  2. oConn.Open "Driver={Microsoft Excel Driver (*.xls)}; DriverId=790;" &_
  3. "DBQ=" & Request.ServerVariables("APPL_PHYSICAL_PATH") & "upload-data\excel.xls;" &_
  4. "DefaultDir = " & Request.ServerVariables("APPL_PHYSICAL_PATH") & "upload-data\"
  5.  
Reputation Points: 58
Solved Threads: 1
Posting Whiz in Training
cancer10 is offline Offline
234 posts
since Dec 2004
Jan 24th, 2007
0

Re: Microsoft Excel Driver Error

Reputation Points: 39
Solved Threads: 23
Junior Poster
katarey is offline Offline
167 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: How to continue to next new excel worksheet
Next Thread in ASP Forum Timeline: No Error, No Insert: ASP to Access





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC