简体   繁体   中英

Could not load file or assembly 'Moxiecode.TinyMCE' or one of its dependencies. Access is denied

We keep getting this bug intermittently and recycling the app pool fixes it for sometime but then it comes back again. Has someone narrowed down the cause for this issue and found a permanent fix?

Also this happens only on production machines and not on dev or staging.

The web config has both entries as shown below:

<configSections>
    <section name="TinyMCE" type="Moxiecode.TinyMCE.ConfigHandler,Moxiecode.TinyMCE" requirePermission="false"/>
</configSections>

    <TinyMCE installPath="Include/JavaScript/tiny_mce" mode="src">
        <!-- Default settings for all TinyMCE instances -->
        <globalSettings>
            <add key="relative_urls" value="false"/>
        </globalSettings>
        <!-- Compressor specific settings -->
        <gzipCompressor enabled="yes" noCompression="yes" diskCache="no" cachePath="c:\temp" expiresOffset="10d"/>
    </TinyMCE>

Have you tried cleaning out "C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files"? I know that recycling the app pool is still necessary here to release locks on the temporary files, but it's possible you have a corrupted dynamically compiled file in temp that refuses to die.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM