Troubleshooting Spell Checker setup


If after setup Spell Checker does not appear in the Tools menu, try the following



  1. Try installing add-in as administrator. Setup needs to register COM components so it needs access to Local Machine registry key. You may want to save MSI file to disk first and then run it.

  2. Try registering component manually by running regsvr32 vsspellchecker.dll from the command line in the installation folder.

  3. Verify that Add-in appears in the registry. Here are screenshots of the VS 2005 add-in registration:










Comments (28)

  1. Following Visual Studio 2008 release I update my Spell Shecker add-in to make work with VS 2008 as well

  2. Spell checker for HTML, ASP.NET, JScript, VB, C#, CSS and C++ for Visual Studio 2005 and 2008 より Visual Studio 2005, 2008 のアドインで、英語のスペルチェックをしてくれるプラグインの紹介がされています。 Visual Studio 2005 Add-in download Visual Studio 2008 Add-in download

  3. LesB says:

    Hello,

    I recently installed the VSSpellChecker, and it seems to be correct, and I am seeing the icon in the tools.  The problem I am having is that every time I run the tool, I do not get any results (even when I misspell words intentionally).  All I keep getting is the warning "Warning 2 Object reference not set to an instance of an object. 0 0"

    I get this error 144 times.

    Thank you in advance for any assistance.

    Les

  4. "Object reference not set to an instance of an object" is typically result of an exception in managed code. Spell Checker add-in is 100% native C++, as is most of the VS IDE, so the error is not coming directly from the add-in. However, may be something is missing in the Office setup? Do you have Word 2003 or Word 2007 installed?

  5. LesB says:

    Running word 2003 and vs2005 Pro.

  6. Tom James says:

    I recently installed the VSSpellChecker, and it seems to be correct, and I am seeing the icon in the tools.  The problem I am having is that every time I run the tool, I do not get any results (even when I misspell words intentionally).  I am running word 2003 and vs2005 Pro

    When I run it the first time, it takes a couple of seconds. Then each time after it finishes in less than a second.

  7. Ali says:

    Hi

    I’ve done steps 1 and 2, and my registry matches what you have shown, but it still doesn’t show up in the Tools menu. Any suggestions?

  8. Ali: does Tools | Add-In Manager display it?

    Les: does it show the error as many times as there are misspelled words?

    I’d like to debug both issues, feel free to ping me at mikhaila-at-microsoft-dot-com.

  9. LesB says:

    Mikhail,

    It does not show any of the misspelled words.  It does not even show the misspelled words that I have added in.  Just 144 instances of "Warning # Object reference not set to an instance of an object. 0 0"  It does not take me to any line of code where the warning is being referenced from.

    As a test, I added an additional 15 spelling errors in the code, still getting the same 144 warnings.

    Les

  10. Ali says:

    Hi

    VS 2005 Express eddition does not have Add-In Manager in Tools. The closest thing it has is Tools | External Tools, and the Spell Checker doesn’t show up there.

  11. Ali: Spell Checker does not work with Express, Express editions are not extensible, they cannot have add-ins, sorry.

  12. Eliyahu says:

    Spelling works ok from the Tools menu. I dropped also the spelling icon on the toolbar but it remains inactive all the time.

  13. Josh says:

    Hi,

    I’m having trouble installing this plugin.  It shows up under the tools menu, but it never finds any misspelled words.  I tried using the sentence from the example, still nothing.  I see no output at all.  I just installed on VS2005 (not express).

  14. Ali says:

    Hi,

    Thanks, and sorry. It was my fault, I didn’t notice ‘except Express’ in your main page.

  15. John says:

    I don’t see either the spell checker add-in in VS2008 or VS2005.  It also isn’t in either add-in manager.

    When trying to register either dll, I get the following:

    "location of file" was loaded, but the DllInstall entry point was not found.

    This file can not be registered."

    This is on a Windows Server 2003 VPC.

    Thanks,

    John

  16. Amy Bolden says:

    I too am having trouble getting this add-in to work. I have run the registry command and it now shows up under my tools, but it doesn’t do anything.  I checked the registry entries, but they don’t look the same as the images above, but I don’t know how to fix them.  I do not have an AddIns folder under ComputerHKEY_CURRENT_USERSoftwareMicrosoftVisualStudio8.0.

    I would love to use this tool and recommend it to all my co-workers, but I can’t until I can get it to work myself.

    Thanks,

    Amy Bolden

  17. Amy – which version of Office you have installed? Does spell checking work in Word normally?

  18. Bug fixes: <param>Text</param> was not handled correctly. Comments in <% %> blocks

  19. zy says:

    it doesn’t supports chinese version.

  20. Zy – do you mean Chinese VS, Chinese Windows or Chinese spell check? I am not Office supports Chinese spell check… Did you install Office multilanguage pack?

  21. hahahut says:

    Hi! Thanks for this nice tool. However, after  installing the add-in for my vs2008, I could not find it from "Tools". I run my visual studio as administrator. I have checked registry and the key has been added correctly (just like your screenshot). And it is shown in Tools/add-in manager. Any suggestion what might go wrong? Thanks!

  22. Clint Chapman says:

    Does this work with a trial version of Word 2007?  I’m trying it with VS 2008 and it shows up in the add-in manager but not in the tools menu.

    Clint

  23. Nathan says:

    I installed the spell checker for visual studio 2005 but it does NOT show up in the Tools menu.  It does show up in the Add-in Manager.  I checked the registry and it looks correct.

  24. Bryan says:

    No Joy. VS2008/MS Office 2007/Vista

    Its listed in the Add-in Manager but not in the Tools Menu.

    Going only from the info you show in your Registry pics I see the following differences:

    1 – in CompHKEY_CLASSES_ROOTCLSID{xxx…xx} I am missing the "Programmable" key.

    2 – in CompHKEY_CURRENT_USERSoftwareMicrosoftVisualStudio9.0AddInsSpellChecker2008.Connect

    the "CommandPreload" value is 2 in your pic and  1 in my install.

  25. Bryan says:

    Update:

    I ran regsvr32 vsspellchecker.dll in the install dir and Joy! It is now in the Tools menu and runs.

    Also note that the "Programmable" key that I mentioned was missing in my previous comment is now in the registry.

    Note, that if you try the regsvr32 command in vista it will fail with UAC on, unless you open the command window in Start-Accessories by right clicking on Command Prompt and selecting run as administrator.

    Is there a reason why it doesn’t run all the time? Or better yet when ever a file is compiled?

  26. Bryan says:

    Ok, apparently my previous comment didn’t make it so from memory:

    I installed with no Joy. It was in the Add-in Manager but not the Tools menu. I have VistaVS2008Office 2007.

    The registry looked the same as the pics but for 2 items.

    The HKEY_CLASSES_ROOTCLSID{}Programmable key was missing.

    The HKEY_CURRENT_USER…VisualStudio9.0AddInsSpellChecker2008.connectCommandPreload key value was 1 rather than 2.