Access Excel Interop in ASP.NET Website RRS feed

  • Question

  • Hi All,

    We are working on a project, which is website built using ASP.NET and C# on framework 4.5. In our project one of the key requirements is users will upload a Excel file with formatted data and the data will be saved to a SQL DB Table and processed in the web application. We have achieved this using Microsoft.OfficeInterop.Excel, this is working fine in our Dev and Testing environment, after we provided NetworkService access to the DCOM+ component "Microsoft Excel Application". 

    However we are now moving it to production on a Hosted Server, and following the same procedure may not be possible as we are hosting it on Shared Hosting Service Provider. 

    Is there any way we can enforce access for this component, also the hosting server environment is:

    Windows 2012 R2 Standard Edition + SQL 2012 Web Edition + IIS 8.5 (ASP.net 3.5 & 4.5)

    Can you kindly help us in resolving this issue at the earliest.



    Wednesday, July 22, 2015 12:41 PM


All replies