Unable to calculate ApplicationRoot problem

  •  11-20-2017, 5:26 PM

    Unable to calculate ApplicationRoot problem

    Hi, I've installed v8.1 and it seems to only work if I run it from the installed folder. If I try to run it from anywhere else on my site, I get the "Unable to calculate ApplicationRoot" error.

     

    eg.

    <%@  language="VBScript" %>
    <!--#include virtual="/admin/rte81/richtexteditor/include_rte.asp" -->
    <%
        Dim rte
        Set rte=new RichTextEditor
        rte.MvcInit()

    %> 

     

    The above code works fine if I run it from /admin/rte81/sample.asp

    But if I run it from anywhere else, eg. /admin/test/sample.asp, it fails with the error

    "Unable to calculate ApplicationRoot , make sure the files is not in virtual directory! at function Oxeb "

     

    Any ideas why this is? I can't use the editor if I can only run it from with the installed folder.

    Thanks for your assistance.

    Alex 

View Complete Thread