Server execution failed

Rate It (1)

Last post 01-22-2007 2:00 PM by david@davidlwalker.com. 1 replies.

Sort Posts:

  • Server execution failed

    06-12-2006, 6:28 PM
    • Loading...
    • rocky_guls
    • Joined on 06-12-2006, 10:14 PM
    • Posts 4

    I am working on ASP.net /VB.net v1.1.



    I am opening an excel using Interop services – and this web application is working fine on my local machine but when I put the same application on server its giving me this error.

    “Server execution failed”

    **** When i call the application from my local machine and web application is on server , i get this error


    Server Specifications
    ==============
    IIS Specifications : IIS v6.0

    Server Specifications : 2003 , Enterprise Edition , Service Pack 1

    **** When i call the application from my server machine and web application is on server , i get this error

    Call was rejected by callee

    I searched all over MSDN and google , no help or good article , even article given by MS is for windows application and i am working on web application

    Can you please help in regard to this ?

    Thx A Lot !!!

  • Re: Server execution failed

    01-22-2007, 2:00 PM

    I too have inherited an application that creates the Excel object in a .NET 1.1 Console Application.

    It was set to automatically generate and then email Excel files.

    It would work 99.9% of the time on one server and fail every time on another.

    All types it would fail with the same error "Server execution failed" when trying to instantiate the Excel object.

    Be sure to review this knowledgebase article:

    http://support.microsoft.com/kb/257757

    This article also highly suggests against automating Office on the server for numerous reasons.

    What we did to resolve this is replace the Excel object with an HTML table with XLS as the file name.

    End user never knew the difference until we told them, because Excel handled it perfectly.

    Other suggestion, if true Excel file is required, would be to utilize SQL Reporting Services.

    Sincerely,
    David Walker

    Code On!

    David Walker, MCP, MCAD, MCSD, MVP - ASP/ASP.NET
    www.davidlwalker.com

    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
    Filed under: ,
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter