Asp.net Excel error caused by dcom permission problems

Source: Internet
Author: User
1. symptom:

L view the windows Log tool and you will find the following error:

 

L error details

Event Type: Error

Event Source: DCOM

Event Type: None

Event ID: 10016

Date: 2009-4-9

Event: 14:05:11

User: nt authority "NETWORK SERVICE

COMPUTER: TPRI-SERVER

Description:

Computer-the COM server application (CLSID is

{00024500-0000-0000-C000-000000000046}

The Local activation permission for grant the user nt authority "network service sid (S-1-5-20 ). You can use the component service management tool to modify this security permission.

 

For more information, see Help and Support Center in http://go.microsoft.com/fwlink/events.asp.

1. solution:

L open dcomcnfg. msc Configuration tool and select DCOM Configuration


L select Microsoft Excel Application

L click Configure startup and activation permissions, access permissions, configure the custom selection box for permissions, add the network service users (assuming the server is win2003) respectively, and grant them the highest Permissions

 

If the server is xp, add the following users:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.