Knowledgebase Home Page  >  RapidSpell Web ASP.NET  >  Troubleshooting
Search the Knowledge Base
I get an error "Request for the permission of type System.Web.AspNetHostingPermission...", how can this be fixed?
https://keyoti.com/kb/Default.aspx?ToDo=view&questId=61&catId=58

Options

Print this page
Email this to a friend

If you are experiencing this problem, please try adding our DLLs to your GAC.

gacutil /i Keyoti.RapidSpellWeb.dll

gacutil /i Keyoti.RapidSpellMDict.dll

 

 

 These commands must be run in the same directory as the RapidSpell Web

 DLLs, and the gacutil location will need to be on your path. To avoid

 add the gacutil location to your path, you can copy the gacutil.exe

 file from your .NET framework installation directory (eg. C:\Program

 Files\Microsoft.NET\SDK\v1.1\Bin) to the same directory as the RapidSpell

 DLLs and then run the commands.

Then reopen Visual Studio and try again - if the problem persists, please contact support@keyoti.com.

 

Note:

 To use DLLs that are in the GAC only, you need to specify a full reference in the ASPX page,

ie. You have
 
 <%@ Register TagPrefix="rapidspellweb" Namespace="Keyoti.RapidSpell" Assembly="Keyoti.RapidSpellWeb" %>
 
it needs to be
 
 <%@ Register TagPrefix="rapidspellweb" Namespace="Keyoti.RapidSpell" Assembly="Keyoti.RapidSpellWeb, Version=3.1.1.0, Culture=neutral, PublicKeyToken=58d9fd2e9ec4dc0e" %>
 
you should change to the exact version number against the DLL version you are using.
 
 

Related Questions:

Attachments:

No attachments were found.