Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Illegal Characters in path - RapidSpell Web ASP.NET - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
avsln
#1 Posted : Saturday, February 15, 2014 5:03:37 AM
Rank: Member

Groups: Registered

Joined: 2/12/2014
Posts: 20
I am trying to use a UNC path or a regular path in my javascript for my user dictionary.

Code:

rapidSpell.setParameterValue('default', 'UserDictionaryFile', '\\BTSIALT645\install\naddepalli-dictionary.txt');
rapidSpell.setParameterValue('default', 'UserDictionaryFile', 'c:\install\naddepalli-dictionary.txt');


However, when I run the spellchecker, I get an error saying illegal characters in path.

When I remove all the path information and just use the file name it works but stores my user dictionary in the folder C:\Windows\system32\inetsrv

I would like to be able to store my user dictionary in a file share so that it can be accessible through a load share environment.

Can you please let me know what I am doing wrong.
harry
#2 Posted : Saturday, February 15, 2014 5:45:42 AM
Rank: Member

Groups: Registered

Joined: 4/22/2006
Posts: 216
Yes, you have to remember that \ is special in Javascript. So escape it like this and it should work

\\\\BTSIALT645\\install\\naddepalli-dictionary.txt

and don't forget to give permission to the IIS user (IIS_IUSR usually for IIS7) to read/write there.

-Harry
-Harry
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.