Hello,
I get the following error message when I try to access a dynamically built pdf document?
mscorlib error '80070005'
Access to the path "c:\program files\cete software\dynamicpdf v3.0.1 for com server edition\bin\DynamicPDF.dat" is denied.
This doesn't happen all the time, it happens infrequently. I have followed the instructions for registering this product. Is there a fix for this?
Thanks,
Michael Riley
Webfodder, Inc.
Access Denied
Re: Access Denied
Support · Oct 9, 2006Hello Michael,
The problem most likely is a permissions issue on the DynamicPDF.dat file or on the folder containing the license file.
The solution is to first figure out which user the Forms Authentication was being logged in with so that they could grant that user the correct permissions needed. Take a look at the following MSDN link if you need assistance determining the identity of certain configuration setting, [^A|http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetAP05.asp|opennewwindow\ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetAP05.asp^].
Once the user identity is known, make sure that the user identity (typically "IUSR_MACHINE" or "ASPNET") has at least “read & execute” permissions on the dat file. Keep in mind that this will require you to clear out the Temporary ASP .NET Files for that project in order for this change to take affect. Here are the steps to follow to complete this:
1. Go to the DynamicPDF.dat file in the bin folder of your application and add/give the appropriate account (typically "IUSR_MACHINE" or "ASPNET") “read & execute” permissions.
2. Next you will need to stop the “WWW Publishing” service so that you can clear the Temp ASP files.
3. Once the "WWW Publishing" service is stopped then explore to the “C:\WINDOWS\Microsoft.NET\Framework\v[your_framework_version]\Temporary ASP.NET Files” folder and then delete the folder associated with this particular application (if you are unsure you can just delete every folder in the folder).
4. Once the folders have been deleted then Start the “WWW Publishing” service again.
5. Now run the application again.
If anyone is receiving a similar error message and is not using forms authentication then you will likely need to follow the above steps for the ASPNET user since this is typically the identity of the default user account.
Thanks,
ceTe Software Support Team