I bought the license of aspose.total.
I’m trying to generate a PDF file and this gives the following error :
"
Access to the path ‘c:\windows\system32\inetsrv\5rxdce3j.awj’ is denied.
body {font-family:“Verdana”;font-weight:normal;font-size: .7em;color:black;}
p {font-family:“Verdana”;font-weight:normal;color:black;margin-top: -5px}
b {font-family:“Verdana”;font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:“Verdana”;font-weight:normal;font-size:18pt;color:red }
H2 { font-family:“Verdana”;font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:“Lucida Console”;font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
Server Error in '/Sipac' Application.
Access to the path 'c:\windows\system32\inetsrv\5rxdce3j.awj' is denied.
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 to the path 'c:\windows\system32\inetsrv\5rxdce3j.awj' 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 , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
Stack Trace:
[UnauthorizedAccessException: Access to the path 'c:\windows\system32\inetsrv\5rxdce3j.awj' is denied.] |
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
"
I do not have permission to that folder from the server application.
Is there any way I choose another TEMP folder to create the PDF file, outside the INETSRV?