I'm facing a problem whereby whenever the coding hit the below line of code
Dim oXL As New Excel.Application
error below pop-out:-
System.UnauthorizedAccessException: Access is denied. at MY_WebReport.InfoRpt.report(DataSet dsInfo) in c:\inetpub\wwwroot\MyWeb\InfoRpt.aspx.vb:line 607 at MY_WebReport.InfoRpt.LoadNormalData() in c:\inetpub\wwwroot\MyWeb\InfoRpt.aspx.vb:line 132
I tried to find out some solutions from WWW and most of it asked to perform some setting on the DCOM for the valid user BUT it still the same after set. So any idea on how to solve the above?
HenryHan
Member
2 Points
24 Posts
Access is denied
Sep 17, 2008 09:03 AM|LINK
Hi expert out there,
I'm facing a problem whereby whenever the coding hit the below line of code
Dim oXL As New Excel.Application
error below pop-out:-
System.UnauthorizedAccessException: Access is denied. at MY_WebReport.InfoRpt.report(DataSet dsInfo) in c:\inetpub\wwwroot\MyWeb\InfoRpt.aspx.vb:line 607 at MY_WebReport.InfoRpt.LoadNormalData() in c:\inetpub\wwwroot\MyWeb\InfoRpt.aspx.vb:line 132
I tried to find out some solutions from WWW and most of it asked to perform some setting on the DCOM for the valid user BUT it still the same after set. So any idea on how to solve the above?
I'm using VB.Net 2003 (ASP.NET) and SQL 2000.
Regards,
Henry Han