Could not find a part of the path 'c:\windows\system32\inetsrv\~\RadControls\Editor\ToolsFile.xml'

6 posts, 0 answers
  1. Procent
    Procent avatar
    3 posts
    Member since:
    Dec 2006

    Posted 24 Jul 2007 Link to this post

    Hello,
    I have a problem with the Editor for MOSS. I want to use it in my ascx control and display it in my custom WebPart.
    I read all your forum and hre is how I understood the process:

    1) Download a Trial and deploy the solution (RadEditorMOSS.wsp). A new directory (C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.1.0.0__1f131a624888eeed\RadControls\Editor) is created.

    2) Extract RadEditor.Net2.dll (v 7.1.1.0) from the .wsp file and add it to my project's references (it is already in GAC - thanks to the solution deployment).

    3) Add a new entry in web.config:
    <compilation>
    <assemblies>
    <add assembly="RadEditor.Net2, Version=7.1.1.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" />

    4) Add a @Register directive in ascx file:
    <%@ Register Assembly="RadEditor.Net2, Version=7.1.1.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" Namespace="Telerik.WebControls" TagPrefix="radE" %>

    5) Finally - place the editor in the control:
    <radE:RadEditor runat="server" ID="RadEditor1"></radE:RadEditor>

    After all this effort all I get is a "Could not find a part of the path 'c:\windows\system32\inetsrv\~\RadControls\Editor\ToolsFile.xml'" error. Could someone please explain what am I doing wrong?

    Thank you in advance,
    Maciej Aniserowicz
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 25 Jul 2007 Link to this post

    Hello Maciej,

    Please make sure that the ToolsFile.xml exists in your C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.1.0.0__1f131a624888eeed\RadControls\Editor folder.

    In addition, set the RadControlsDir propertly of the editor like this:
    RadControlsDir="/_wpresources/RadEditorSharePoint/4.1.0.0__1f131a624888eeed/RadControls"

    I hope this helps.



    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. Procent
    Procent avatar
    3 posts
    Member since:
    Dec 2006

    Posted 25 Jul 2007 Link to this post

    Hello Georgi,
    It actually did help.
    Just for the sake of 'absolute correctness': it should be exactly RadControlsDir="/_wpresources/RadEditorSharePoint/4.1.0.0__1f131a624888eeed/RadControls", without the doubled "RadEditorSharepoint".

    Thank you,
    Maciej Aniserowicz
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 25 Jul 2007 Link to this post

    You are welcome Maciej,

    The double RadEditoSharepoint is my mistake (must have happened when I edited the string) - I apologize for that  

    To avoid misunderstanding I edited my last post.




    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Dev Team
    Dev Team avatar
    69 posts
    Member since:
    Oct 2006

    Posted 03 Oct 2007 Link to this post

    Hi,
        Could you brief on where to put this RADControlsDir="" entry. I am facing the similar error and i made an entry in the RAD EDitor declaration. It throws an error: There is no public property defined as RADCONTROLSDIR.
  6. Procent
    Procent avatar
    3 posts
    Member since:
    Dec 2006

    Posted 03 Oct 2007 Link to this post

    It's RadControlsDir, not RADControlsDir or RADCONTROLSDIR. Maybe this is your problem?
Back to Top