Re: Using Excel through COM interop in ASP.Net--need a little more hel
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Thu, 12 May 2005 00:24:45 +0200
"Mark Miller" <MarkMiller@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0ED5361D-C65B-403E-BD1C-ACE147B3A7B6@xxxxxxxxxxxxxxxx
> I'm trying to run Excel on the server side, uploading an Excel file to the
> server and having it processed there.
>
> I've read elsewhere about how to configure security for this, but I'm
> unclear on all I need to do.
>
> The advice I've read is to use dcomcnfg.exe to grant access and execute
> rights to the ASPNET user for Microsoft Excel Application. I've done
> this,
> but when I run my ASP.Net app., I still get the same error: "Unable to
> create
> ActiveX control".
>
> What I'm unclear about is, I've heard I need to do something in the
> Identity
> tab of the properties, but I'm not sure what. There are a few selections:
>
> - The interactive user
> - The launching user
> - This user (followed by textboxes for userID and password)
>
> I've tried selecting "This user" and entering the ASPNET ID, but dcomcnfg
> apparently thinks the ASPNET ID has an associated password. I don't know
> what it is. I've tried the other settings "The interactive user" and "The
> launching user", but I get the same result.
>
> I need a little more help here.
>
> Thanks,
>
> ---Mark
>
No, it's the security tab you have to select and gran launch and access
permissions to aspnet.
Willy.
Note that using Office server side is not supported and in general doesn't
work at all.
.
- Follow-Ups:
- Re: Using Excel through COM interop in ASP.Net--need a little more
- From: Mark Miller
- Re: Using Excel through COM interop in ASP.Net--need a little more
- References:
- Using Excel through COM interop in ASP.Net--need a little more hel
- From: Mark Miller
- Using Excel through COM interop in ASP.Net--need a little more hel
- Prev by Date: Passing Doubles via dllimport
- Next by Date: Re: PInvoke CredRead in Advapi32.dll
- Previous by thread: Using Excel through COM interop in ASP.Net--need a little more hel
- Next by thread: Re: Using Excel through COM interop in ASP.Net--need a little more
- Index(es):
Relevant Pages
|