T
timtai
I am trying to create an excel report from my aspx.vb code. I got the
following error trying to add a workbook:
Dim xApp As New Microsoft.Office.Interop.Excel.Application
Dim xWB As Microsoft.Office.Interop.Excel.Workbook
xApp.Workbooks.Add()
ERROR --> COMException (0x800a03ec): Microsoft Excel cannot open or
save any more documents because there is not enough available memory or
disk space
If I replace it with
xWB = xApp.Workbooks.Add("c:\aspnet\default.xlt") -- I have ASPNET
as
an user with full access to the folder aspnet.
I got a differnt error:
COMException (0x800a03ec): Excel cannot access 'default.xlt'. The
document may be read-only or encrypted.
I have been trying to get this to work for the whole weekend. Any help
is highly appreciated.
Tim
following error trying to add a workbook:
Dim xApp As New Microsoft.Office.Interop.Excel.Application
Dim xWB As Microsoft.Office.Interop.Excel.Workbook
xApp.Workbooks.Add()
ERROR --> COMException (0x800a03ec): Microsoft Excel cannot open or
save any more documents because there is not enough available memory or
disk space
If I replace it with
xWB = xApp.Workbooks.Add("c:\aspnet\default.xlt") -- I have ASPNET
as
an user with full access to the folder aspnet.
I got a differnt error:
COMException (0x800a03ec): Excel cannot access 'default.xlt'. The
document may be read-only or encrypted.
I have been trying to get this to work for the whole weekend. Any help
is highly appreciated.
Tim