Кто-нибудь знаком с ошибкой ниже? Когда я запускаю свой webapp для создания динамического документа excel с моей локальной машины, он отлично работает, но когда на сервере вызывается тот же кусок кода, я получаю следующую ошибку. Похоже, что это проблемы с разрешениями, поскольку он работает на моей машине, но не на сервере, но я не знаю, с чего начать, чтобы точно определить проблему. Любое руководство/помощь приветствуется!Ошибка «Истек срок действия лицензии» при динамическом создании документов Excel в ASP.NET
Server Error in '/' Application.
--------------------------------------------------------------------------------
This command is unavailable because the license to use this application has expired.
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.Runtime.InteropServices.COMException: This command is unavailable because the license to use this application has expired.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x800a03ec): This command is unavailable because the license to use this application has expired.]
Microsoft.Office.Interop.Excel.Workbooks.Add(Object Template) +0
PaymentsReport.Page_Load(Object sender, EventArgs e) +70
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Office/Excel установлен на сервере, и я могу открыть/сохранить первенствовать документы на сервере. Может ли это быть версией excel на сервере и моей локальной машиной? Если да, то как я могу убедиться, что у меня есть последняя на сервере?