This is a migrated thread and some comments may be shown as answers.

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

5 Answers 1066 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Procent
Top achievements
Rank 1
Procent asked on 24 Jul 2007, 06:50 PM
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

5 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 25 Jul 2007, 05:57 AM
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
0
Procent
Top achievements
Rank 1
answered on 25 Jul 2007, 06:45 AM
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
0
Georgi Tunev
Telerik team
answered on 25 Jul 2007, 07:59 AM
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
0
Dev Team
Top achievements
Rank 2
answered on 03 Oct 2007, 10:05 AM
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.
0
Procent
Top achievements
Rank 1
answered on 03 Oct 2007, 03:19 PM
It's RadControlsDir, not RADControlsDir or RADCONTROLSDIR. Maybe this is your problem?
Tags
WebParts for SharePoint
Asked by
Procent
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Procent
Top achievements
Rank 1
Dev Team
Top achievements
Rank 2
Share this question
or