web 2.0

ASP.NET(vb.net) & Config excel (Excel.Application)

ASP.NET(vb.net) & Config excel (Excel.Application) - This article example scripts you will learn how to Config Permission (DCOM) Excel.Application for ASP.NET Scripts

ShotDev Focus:
- ASP.NET(vb.net) & Config excel (Excel.Application)

Solution

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154.

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

Unable to Authorize Launch Permissions for missing “Microsoft Excel Application”

Solve Problem

How to Add Reference Excel Class

ASP.NET(vb.net) & Config excel (Excel.Application)

Right Click and Click Add Reference

ASP.NET(vb.net) & Config excel (Excel.Application)

Select Interop.Excel.dll

or Add Reference from Microsoft Excel 11.0 Object Library or thers version

ASP.NET(vb.net) & Config excel (Excel.Application)

Goto Control Panel -> Administrative Tools -> Event Viewer

ASP.NET(vb.net) & Config excel (Excel.Application)

Click Event Viewer

ASP.NET(vb.net) & Config excel (Excel.Application)

User IUSR_WEERACHAI error.

ASP.NET(vb.net) & Config excel (Excel.Application)

Open Component Services

ASP.NET(vb.net) & Config excel (Excel.Application)

Click DCOM Config

ASP.NET(vb.net) & Config excel (Excel.Application)

Right Click Microsoft Excel Application -> Properties

ASP.NET(vb.net) & Config excel (Excel.Application)

On tab Security Click Edit

ASP.NET(vb.net) & Config excel (Excel.Application)

Click Add

ASP.NET(vb.net) & Config excel (Excel.Application)

Click Advanced..

ASP.NET(vb.net) & Config excel (Excel.Application)

Add New user IUSR_Machine-name และ IWAM_Machine-name

ASP.NET(vb.net) & Config excel (Excel.Application)

Click OK

ASP.NET(vb.net) & Config excel (Excel.Application)

and Select All Allow

ASP.NET(vb.net) & Config excel (Excel.Application)

Click OK.
.
.
.

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.