locked
error with excel 2003 on 2008 server64 RRS feed

  • Question

  • User-2146352328 posted

    Hi, i have give full access to everything, i installed office interops O2003PIA.EXE , OWC11.msi .

    I have set on the setup to use .net componets. Nothing works and i get thie below.

    Not it is office 2003 Greek with SP3 on windows server 2008. Any help?

    Server Error in '/' Application.


    Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

    To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

    Source Error:

    Line 313:
    Line 314:    Protected Sub ImageButtonexportanimalsxls_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ImageButtonexportanimalsxls.Click
    Line 315: Dim excelapplication As New Excel.Application Line 316:        Dim excelworkbook As Excel.Workbook
    Line 317:        Dim excelworksheet As Excel.Worksheet


    Source File: C:\inetpub\zzvetsnew7\exports.aspx.vb    Line: 315

    Stack Trace:

    [UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.]
       exports.ImageButtonexportanimalsxls_Click(Object sender, EventArgs e) in C:\inetpub\zzvetsnew7\exports.aspx.vb:315
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +98
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +161
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
    



    Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5456

    Saturday, March 23, 2013 3:41 AM

Answers

  • User-166373564 posted

    Hi sapator

    office 2003 Greek with SP3 on windows server 2008

    Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

    According to error message and information above, I think you should get help from Microsoft Office for Developers Forums,

    our configuring and deployment forum is to deal with issues about configuring and deploying ASP.NET applications. If you have problems about deploying asp.net application to IIS in your future programming, you could post it in this forum.

    hope it helps you,

    With regards

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 27, 2013 3:26 AM
  • User71929859 posted

    Hello,

    May be the following already resolved threads about this exception will help you.

    http://forums.asp.net/t/1093228.aspx

    http://forums.iis.net/t/1116326.aspx/1

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 27, 2013 2:36 PM
  • User-2146352328 posted

    Thanks guys, I haven't fixed the issue because i abandoned office in asp.net and using another tool.

    Ruchira, i used these solutions and 100 more but it wouldn't fix. The problem is using office 2003 on a 64bit machine and giving permissions to the 32bit part. Anyhow i am glad i don't have to deal with this.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 27, 2013 8:26 PM

All replies

  • User-2146352328 posted

    Nevermind, i will use a free add on.

    Read that asp.net and office give tons of problems so i abandoned the solution.

    Saturday, March 23, 2013 3:58 PM
  • User-166373564 posted

    Hi sapator

    office 2003 Greek with SP3 on windows server 2008

    Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

    According to error message and information above, I think you should get help from Microsoft Office for Developers Forums,

    our configuring and deployment forum is to deal with issues about configuring and deploying ASP.NET applications. If you have problems about deploying asp.net application to IIS in your future programming, you could post it in this forum.

    hope it helps you,

    With regards

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 27, 2013 3:26 AM
  • User71929859 posted

    Hello,

    May be the following already resolved threads about this exception will help you.

    http://forums.asp.net/t/1093228.aspx

    http://forums.iis.net/t/1116326.aspx/1

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 27, 2013 2:36 PM
  • User-2146352328 posted

    Thanks guys, I haven't fixed the issue because i abandoned office in asp.net and using another tool.

    Ruchira, i used these solutions and 100 more but it wouldn't fix. The problem is using office 2003 on a 64bit machine and giving permissions to the 32bit part. Anyhow i am glad i don't have to deal with this.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 27, 2013 8:26 PM