I agree. There are a lot of gotchas using automation on asp.net.
But if you really really really have to you need to change some COM+
permissions. Open control panel, component services and navigate to
DCOM config. Click yes to all the dialogs and then locate Microsoft
Excel Application.
Right click and go to the security tab
On Tue, 28 Nov 2006 08:04:06 -0000, "Mark Rae"
<mark@markNOSPAMrae.comwrote:
Quote:
><kelvinweb@gmail.comwrote in message
>news:1164697276.983888.47790@n67g2000cwd.googlegr oups.com...
>
Quote:
>I don't why alert below error message when I am using "Excel
>Application".
>
Quote:
> Dim excelApp As New Excel.Application
>
>What are you trying to do exactly? Office Automation via ASP.NET is a really
>bad idea, so much so that Microsoft themselves strongly discourage it, and
>will not support a solution which uses it:
>
http://support.microsoft.com/default...US;q257757#kb2
>
>See also:
>
http://www.aspose.com/wiki/default.a...utomation.html
>
--
Bits.Bytes.
http://bytes.thinkersroom.com