Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hi. i'm trying to generate an excel

Status
Not open for further replies.

jmerencilla

Programmer
Jul 17, 2002
123
SG
hi. i'm trying to generate an excel file via ASP .Net. however, i got the following error when i run my web application, Access is denied. the error happens at this line of code, Dim objExcel As New Excel.Application. after tinker with the DCOM configurations, i was able to resolve this problem. the next error, QueryInterface for interface Excel._Application failed., occured here: objExcel.Workbooks.Open("C:\myExcel.xls"). can anybody help me how to resolve this problem? i never encountered this problem when i converted my web app to a windows app, both using VB .Net. why is this so? any kind of help is highly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top