(Created page with 'In some IIS 6 instalations you might receive an error 'ASP 0131'.<br>That's due to a [http://support.microsoft.com/?scid=kb%3Ben-us%3B226474 security setting in IIS] that doesn't…') |
(Article contents proof-read and formatted) |
||
Line 1: | Line 1: | ||
− | In some IIS 6 instalations you might receive an | + | {{#CUSTOMTITLE:ASP 0131 Error}} |
+ | In some IIS 6 instalations you might receive an '''ASP 0131''' error. This is due to a [http://support.microsoft.com/?scid=kb%3Ben-us%3B226474 security setting in IIS] that does not allow to use relative paths in include files. | ||
− | There are two solutions | + | There are two solutions to this problem. |
+ | # Using the '''Administrative Tools''' you can change the setting as explained in [http://support.microsoft.com/?scid=kb%3Ben-us%3B332117 MS KB Q332117] . | ||
+ | # If you do not have access to this setting or do not want to change it, open the <code>ckfinder/core/connector/asp/connector.asp</code> file, go to line 51 (it might change in newer versions) and change the following: | ||
+ | <source lang="asp"> | ||
+ | <!-- #INCLUDE file="../../../config.asp" --> | ||
+ | </source> | ||
+ | to: | ||
+ | <source lang="asp"> | ||
+ | <!-- #INCLUDE VIRTUAL="/ckfinder/config.asp" --> | ||
+ | </source> | ||
− | + | Please note that if you placed CKFinder under a different root folder, you will need to adjust the path in that line. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | Please | ||
− | |||
− |
Latest revision as of 13:39, 7 December 2011
In some IIS 6 instalations you might receive an ASP 0131 error. This is due to a security setting in IIS that does not allow to use relative paths in include files.
There are two solutions to this problem.
- Using the Administrative Tools you can change the setting as explained in MS KB Q332117 .
- If you do not have access to this setting or do not want to change it, open the
ckfinder/core/connector/asp/connector.asp
file, go to line 51 (it might change in newer versions) and change the following:
<!-- #INCLUDE file="../../../config.asp" -->
to:
<!-- #INCLUDE VIRTUAL="/ckfinder/config.asp" -->
Please note that if you placed CKFinder under a different root folder, you will need to adjust the path in that line.