Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Excel
123quattro
charting
crashesgpfs
datamap
excel
interopoledde
links
misc
newusers
printing
programming
querydao
sdk
setup
templates
worksheet.functions
  
 
date: Wed, 10 May 2006 16:42:01 -0700,    group: microsoft.public.excel.templates        back       


Excel error using .NET web application-help ASAP   
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.
date: Wed, 10 May 2006 16:42:01 -0700   author:   sheetjo

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us