S
S.Kartikeyan
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
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