Access denied

Access denied

Forum member · Nov 28, 2005
Everytime I build my .NET solution I get the message: "A first chance exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll Additional information: Access to the path "DynamicPDF.Generator.Server.DLL" is denied." If I click Break and rebuild the solution it builds without problems. How can I get rid of this problem? Eje

Re: Access denied

Support · Nov 28, 2005
Hello Eje, This is caused by a timing issue in .NET when the assemblies are being loaded. We have seen many threads about this and it is not particular to our product. This can happen when your Web Applications attempts to restart after recompiling your assembly. Here is a Microsoft article related to this issue: http://support.microsoft.com/default.aspx?scid=kb;en-us;329065 There are two solutions to fix this: 1) Stop the Indexing Service on the machine. OR 2) Place our assemblies in the GAC. If you have the release build installed, there are batch file to place the assemblies in the GAC. Thanks, ceTe Software Support Team