Microsoft Excel Driver Error

Reply

Join Date: Dec 2004
Posts: 234
Reputation: cancer10 is an unknown quantity at this point 
Solved Threads: 0
cancer10's Avatar
cancer10 cancer10 is offline Offline
Posting Whiz in Training

Microsoft Excel Driver Error

 
0
  #1
Jan 23rd, 2007
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.


  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:

  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.  
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 154
Reputation: katarey is an unknown quantity at this point 
Solved Threads: 20
katarey's Avatar
katarey katarey is offline Offline
Junior Poster

Re: Microsoft Excel Driver Error

 
0
  #2
Jan 24th, 2007
Freelance Web Designer & Developer
Http//www.Katarey.com
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC