ASP 0131 Error

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(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 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 allow to use a relative paths in include files.  
+
{{#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 for this problem.  
+
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>
  
#Using the Administrative tools you can change the setting as explained in [http://support.microsoft.com/?scid=kb%3Ben-us%3B332117 MS KB Q332117]
+
Please note that if you placed CKFinder under a different root folder, you will need to adjust the path in that line.
#If you don't have access or don't want to change that, then open the ckfinder/core/connector/asp/connector.asp file, go to line 51 (it might change in newer versions) and change<br>
 
<pre>&lt;! -- #INCLUDE file="../../../config.asp" --&gt;
 
</pre>
 
with<br>
 
<pre>&lt;! -- #INCLUDE VIRTUAL="/ckfinder/config.asp" --&gt;</pre>
 
Please, note that if you have placed ckfinder under a different root folder you'll need to adjust the path in that line  
 
 
 
Also, there's a space in the previous lines due to a security restriction in this server, the lines should start with &lt;!-- with no extra space between&nbsp;! and -
 

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.

  1. Using the Administrative Tools you can change the setting as explained in MS KB Q332117 .
  2. 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.

This page was last edited on 7 December 2011, at 13:39.