Re: MSOffice and ASP.NET

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Eric Lawrence [MSFT] (e_lawrence_at_hotmail.com)
Date: 03/04/04


Date: Thu, 4 Mar 2004 12:33:41 -0800

Also, it should be noted that unattended server side use of Microsoft Office
in this manner is not a supported scenario.

-- 
Thanks,
Eric Lawrence
Program Manager
Assistance and Worldwide Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Paul Glavich" <glav@aspalliance.com-NOSPAM> wrote in message
news:#rfHXIdAEHA.1464@tk2msftngp13.phx.gbl...
> There are probably 2 aspects to it.
>
> 1. You are trying to interop within ASP.NET and the security policy may
> prohibit this.
> 2. The loading and conversion using powerpoint will probably require
access
> to other directories, and possibly generate some temporary files
somewhere.
> You may need to grant additional access to some directories (and I am not
> sure which ones) for the aspnet user (Win2000) or NETWORK SERVICE
(Win2003)
> to make it work. Check powerpoint for some temp directories that are setup
> within the program or see where it might be creating temporary files under
> your known working user.
>
>
> --
> - Paul Glavich
>
>
> "S.Kartikeyan" <indexnode@yahoo.com> wrote in message
> news:6d393f67.0403032228.42747e55@posting.google.com...
> > Hello,
> >
> > I have a ASP.NET Page which allows the user to upload a file.
> > What i have to do is
> > when the user uploads a PowerPointFile i have to convert in to html
> > and
> > save both ppt and html versions of it.
> >
> > I have a working program of converting ppt to html on localmachine.
> > When I try to do it from the ASP.NET Page I get an error Access
> > Denied.
> >
> > Regarding Access to the directory i am able to save the posted file
> > (ppt)to the
> > directory.only when i convert it to html and save i get the problem.
> >
> > Here are the details.
>
> --------------------------------------------------------------------------
> --
> > Description: An unhandled exception occurred during the execution of
> > the current web request. Please review the stack trace for more
> > information about the error and where it originated in the code.
> >
> > Exception Details: System.UnauthorizedAccessException: Access is
> > denied.
> > ASP.NET is not authorized to access the requested resource. Consider
> > granting access rights to the resource to the ASP.NET request
> > identity. ASP.NET has a base process identity (typically
> > {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if
> > the application is not impersonating. If the application is
> > impersonating via <identity impersonate="true"/>, the identity will be
> > the anonymous user (typically IUSR_MACHINENAME) or the authenticated
> > request user
>
> --------------------------------------------------------------------------
> ---
> > In the source Error sections of ASP.NET error page i have the first
> > line of the
> > function where i am creating the PowerPoint.ApplicationClass() causing
> > the problem.
> >
> >
> > Is the problem due to desktop access to the powerpoint application.
> > How to fix the problem.
> > OR
> > Does the MSOffice components work only with the standalone
> > applications.
> >
> >
> >
> > S.Kartikeyan
>
>


Relevant Pages

  • Re: MSOffice and ASP.NET
    ... The loading and conversion using powerpoint will probably require ... > within the program or see where it might be creating temporary files under ... >> save both ppt and html versions of it. ... >> the current web request. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: MSOffice and ASP.NET
    ... The loading and conversion using powerpoint will probably require access ... and possibly generate some temporary files somewhere. ... > save both ppt and html versions of it. ... Consider> granting access rights to the resource to the ASP.NET request> identity. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: MSOffice and ASP.NET
    ... The loading and conversion using powerpoint will probably require access ... and possibly generate some temporary files somewhere. ... > save both ppt and html versions of it. ... Consider> granting access rights to the resource to the ASP.NET request> identity. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to write something to a html textfield and send it?
    ... > added to it (look below for html). ... I've never had any desire to automate a browser, ... agent to post the request and retrieve the response. ... Most non-trivial HTML forms use HTTP POST requests. ...
    (comp.programming)
  • Re: accessing document object model (DOM) using vb and asp.net
    ... This is crude and prone to error-- Powerpoint ... where one button click creates the html and performs the ... copy to clipboard and the second button click creates a Powerpoint instance ... >> My development environment is Visual Web developer Express 2005. ...
    (microsoft.public.dotnet.languages.vb)