Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7616559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:55:06+00:00 2026-05-31T02:55:06+00:00

I have ASP.NET web service, which is creating file in XML table format. I

  • 0

I have ASP.NET web service, which is creating file in XML table format.

I need to convert this file into Excel 2003 format.

What can I use instead of Microsoft.Interop library?

UPDATE: I also need to copy format from the original file.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T02:55:08+00:00Added an answer on May 31, 2026 at 2:55 am

    I’ve found the answer by myself.

    I could not use different libraries, because I had to open file in XML Table format and resave it to Excel 2003 format.

    Maybe my experience in this question will help someone. I used Windows Server 2008 with IIS 7.0 and Excel Library Microsoft.Office.Interop.Excel version 12.

    Microsoft says, that using Interop DLL may cause unpredictable result, but it’s NOT impossible.

    The main problem of using Interop classes lies into access to launch DCOM applications by user, that starts web-service.

    To make web-service works correct in my way I did next:

    1. I opened “dcomcnfg” and disable authorization for all DCOM
      components.

      Another way is to find exactly your DCOM objects and give
      permissions to local launch to the user, that starts the service.

    2. Gave permissions to registry branch

      HKEY_CLASSES_ROOT\CLSID\ID_OF_MICROSOFT_APPLICATION_CLASS

      ID_OF_MICROSOFT_APPLICATION_CLASS = class, which contained in
      web-server error while accessing to Interop DLL

    3. It’s very strange, but important: I created folder

      for 86x: C:\Windows\System32\config\systemprofile\Desktop
      for 64x: C:\Windows\SysWOW64\config\systemprofile\Desktop

    4. Gave write permission to web-service user to all folders, which my
      web-service use, including folder from item (3).

    If your web-service works under NETWORK SERVICE try to change it to some local user, maybe it may help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET web service which does some heavy lifting, like say,some file
I have an irritating problem, I'm creating an asp.net web service; this service should
I have an ASP.NET web service which will create a text file in a
I have an ASP.net web service that I'm using for a web application which
I have a Hello World c# ASP .NET web service which is automatically generated
I am creating a web service in asp.net 2.0 with c# and have a
I have a asp.net web-service which I use from my ASP.NET website. I can
I have a ASP.NET web service. This web service works fine. However, the WSDL
Background: I'm in the process of creating a web service using ASP.NET 2.0. This
I have an ASP.NET (1.1) web service which authenticates clients using a SoapExtension.ProcessMessage(SoapMessage) override

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.