LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default excel error using .NET web application

Hi,
I am accesing a excel file from .NET web application. This excel file is a
used as a template with macro written inside.Following program code calls the
excel file .
ConnExcel = server.CreateObject("ADODB.Connection")
ConnExcel.ConnectionString = "Driver={Microsoft Excel Driver (*.xls)};DBQ="
& strExcelReportPath & "; ReadOnly=False;"
ConnExcel.Open

Everything works fine.But this excel gets corrupted over time and gives
error when you try to call it.

Error is "[ODBC Excel Driver]General error unable to open the registry key
'Temporary(volatile)jet DSN for process thread Excel.
By replacing the corrupted excel with a backup copy,things work fine.

Please can anyone help me as to know what makes this excel template
corrupted.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run-time error '-2146233079 (80131509)' in the Excel Application Sandeep New Users to Excel 1 July 27th 07 01:52 PM
Run-time error '-2146233079 (80131509)' in the Excel Application Sandeep Excel Discussion (Misc queries) 0 July 25th 07 07:14 PM
Error calling Web Service from Excel Application GPrabaka Excel Programming 2 August 8th 05 03:56 PM
EXCEL.EXE Application Error James McDowell[_2_] Excel Programming 0 July 20th 05 03:31 PM
olemainthreadwndname:excel.exe - application error Adi Babu Excel Programming 0 July 28th 03 09:18 PM


All times are GMT +1. The time now is 05:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"