Home Search Member List Faq Register Login  
UltimateSpell
UltimateSpell Dictionary on LoadBalancing

Thread Starter: vdbabu   Started: 02-19-2017 12:56 PM   Replies: 8
 Karamasoft Support Forums » General Discussions » UltimateSpell » UltimateSpell Dictionary on LoadBalancing
 Printable Version    « Previous Thread   Next Thread »
  19 Feb 2017, 12:56 PM
vdbabu is not online. Last active: 2/28/2017 3:36:51 PM vdbabu

Not Ranked
Joined on 02-19-2017
Posts 2
UltimateSpell Dictionary on LoadBalancing
Hi,

We are using ultimate spell check product in our application. When a user is uses "Add to Dictionary" feature the ultimate spell check saves the information in the server side custom dictionary and uses it when next time spell check is invoked.

Our application is load balanced on the server side with F5. The new word which was added to dictionary is currently saved only in one server and rest of the servers does not have this information. Because of this when next time user invokes spell check it was not guaranteed that this new word is used.

Can you please tell me is their any option of have the custom dictionary which is in server side can be shared across all the web servers within the ultimate spell check or is their any option by which we can solve this issue like configuring the ultimate spell check to use some client side IE features.

Regards
Babu

  
  19 Feb 2017, 6:42 PM
raja2017 is not online. Last active: 3/5/2017 4:33:35 PM raja2017

Not Ranked
Joined on 02-19-2017
Posts 3
 Re: UltimateSpell Dictionary on LoadBalancing
I am also facing the same issue..
  
  20 Feb 2017, 4:27 PM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: UltimateSpell Dictionary on LoadBalancing
You can set up your include directory in a shared web server and create virtual directory from your load balanced web servers to the one that has the include directory.

Please refer to the following posts:

http://forums.karamasoft.com/ShowPost.aspx?PostID=7958
http://forums.karamasoft.com/ShowPost.aspx?PostID=9502

  
  20 Feb 2017, 8:16 PM
raja2017 is not online. Last active: 3/5/2017 4:33:35 PM raja2017

Not Ranked
Joined on 02-19-2017
Posts 3
Re: UltimateSpell Dictionary on LoadBalancing
Thanks for the response.

We are using ASP.NET MVC version of Spellcheck we are getting below error after we followed the instruction

Copy the UltimateSpellInclude directory from C:\Inetpub\wwwroot\Karamasoft\ASP.NET4.0\UltimateSpell\v3.7\Controls to the root of your web application

Regards,
Raja C

  
  21 Feb 2017, 10:21 PM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: UltimateSpell Dictionary on LoadBalancing
It seems that the virtual directory wasn't set up properly. Did you apply the following steps?

1. Cut UltimateSpellInclude from your web app directory and paste it to the UNC path.

2. Copy the bin folder from C:\Inetpub\wwwroot\Karamasoft\ASP.NET4.0\UltimateSpell\v3.7\Controls\bin into the UltimateSpellInclude directory under your UNC path.

3. In your IIS root ("Default Web Site"), right-click and select "New Virtual Directory" create a virtual directory named UltimateSpellInclude and point to the UNC path and click Next. Select Read and Run Scripts (such as ASP) options and click Next and Finish.

4. In your ASPX pages having UltimateSpell controls, set the IncludePath property of your UltimateSpell controls to /UltimateSpellInclde (note that there is no tilda in front of it).

  
  28 Feb 2017, 3:36 PM
vdbabu is not online. Last active: 2/28/2017 3:36:51 PM vdbabu

Not Ranked
Joined on 02-19-2017
Posts 2
Re: UltimateSpell Dictionary on LoadBalancing
Hi,


We tried what has been specified, it does not work for us. We are using UltimateSpellMVC. Please see the code snippet we are using

@using (Html.BeginForm("ClientAPI", "Samples", FormMethod.Post, new { id = "form1" }))
{
@(Html.UltimateSpellMVC()
.ID("UltimateSpellMVC1")
.Dictionary("en-NZ")
.Language("English")
.CustomDictionary("CustomEnglish")
.IncludeDirectory("/UltimateSpellInclde")
.ShowSpellButton(false)
.Render())
}

Please tell us how we can achieve this functionality.

  
  28 Feb 2017, 6:04 PM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: UltimateSpell Dictionary on LoadBalancing
Not sure if you have typo in your IncludeDirectory (it's missing u in Include) but UltimateSpellMVC should use the same steps as UltimateSpell. Make sure that your include directory is set up properly on your IIS to point to the UNC path.
  
  05 Mar 2017, 4:33 PM
raja2017 is not online. Last active: 3/5/2017 4:33:35 PM raja2017

Not Ranked
Joined on 02-19-2017
Posts 3
Re: UltimateSpell Dictionary on LoadBalancing

Thanks for sharing the information. It worked for us and we could able to use a custom dictionary file across the different servers.

There was an general issue raised, what will happen when multiple users try to add to custom dictionary using "Add to Dictionary" functionality same time.

Does Karmasoft take care of concurrently issue raised due to file sharing and getting file locked.?

  
  07 Mar 2017, 11:31 AM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: UltimateSpell Dictionary on LoadBalancing
UltimateSpell doesn't synchronize access with a lock. If there are concurrent write requests, the first one should win and the subsequent attempts will fail until the write lock is released.
  
 Page 1 of 1 (9 items)
Karamasoft Support Forums » General Discussions » UltimateSpell » UltimateSpell Dictionary on LoadBalancing

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.