"Access to the path is denied" error when using PreExecute

101 views
Skip to first unread message

Evandro Moreno

unread,
Apr 4, 2012, 5:13:42 PM4/4/12
to reddot-c...@googlegroups.com
Hi everyone,

I am trying to use PreExecute and ASP on one of my templates and every time I access the page in SmartEdit I get the following error message:

An error occured:

Access to the path '\\mydomain\cms\PreexecuteData\' is denied.


The page cannot be displayed.

Check the RDExecute and PreExecute settings.

 
I am only testing PreExecute by using a very simple asp statement. Right now the code is:

<!--RDExecute=ASP-->

<!IoRangePreExecute><% response.write("Hello World!") %><!/IoRangePreExecute>

<br />

 

There are other projects in the server that are using PreExecute without problems. I tried to use PHP instead of ASP and I get the same results. Only by adding the comment <!--RDExecute=X--> (X being the chosen language) to the template I already get the error message.


Under the project General Settings a I have:

  • "Allow active templates" checked ;
  • PHP;JS;ASP set for eligible suffixes;
  • Under "RDExecute and PreExecute settings" I have:
    • physical path: \\mydomain\cms\PreexecuteData 
    • Virtual directory(IIS): /PreexecuteData
    • OBS: I am using the same physical path and virtual directory as projects that use PreExecute successfully.

In the project variant I have:
  • "Select scripting for active templates" set to ASP.

Any ideas of what could be causing the error? Am I missing something?
 

Thank you for your help,


Evandro Moreno.

Tim D

unread,
Apr 6, 2012, 5:33:01 PM4/6/12
to reddot-c...@googlegroups.com
Hi,
Make sure the user used by the services has permissions on you target (common names: RedDotUser/CMSUser/WSMUser). Additionally given it is a remote location the user if a local user needs the same password on both systems.

Evandro Moreno

unread,
Apr 9, 2012, 6:24:32 PM4/9/12
to reddot-c...@googlegroups.com
Thank you. I will try that.
Reply all
Reply to author
Forward
0 new messages