Quantcast
Channel: Installation and Setup
Viewing all articles
Browse latest Browse all 631

Com Component access denied to resource error in ASP.net

$
0
0
<div> <div>hi all,</div> <div>                  i am facing a problem in connecting my ASP.net application to MS Excel. I am trying to write some data to an excel file and then the file is downloaded to the user. Ofcourse using the com component for this purpose. I am using Visual Studio 2005 beta. When i execute it from visual studio using ASP.net development server, every thing works fine but when i access via internet explorer after publishing my website to wwwroot, i get an com component access denied error when the application tries to write to the MS Excel file. </div> <div>                                    </div> <div>                             I have given full control on the file to the ASP.net machine account as well as IIS user account, service account and atlast when got fedup, i gave full contrrol to each account in my machine. Still the problem is as is.</div> <div> </div> <div>              Appreciate if anybody could help.</div> <div> </div> <div>Regards </div> <div> To          Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed with HRESULT: 0x80070005(Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))).</div></div>

Viewing all articles
Browse latest Browse all 631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>