Find by ID:
Go
[Log in | Register]
Home
Support Center Home
Categories (Beta)
Report Issue
Report a Bug
Make a Suggestion
Ask a Question
Security
Log in
Register
Forgot Password
Support Center Stats

Issue Reports
Total: 43356
Active: 394
Processed: 42962

Suggestions
Total: 17800
Active: 505
Processed: 17295

Questions
Total: 98451
Active: 73
Processed: 98378

1851 Knowledge Base Articles

1108 Code Central Examples

Powered by Developer Express AJAX-Enabled ASP.NET components

This website is powered by Developer Express ASP.NET technologies including the ASPxMenu, ASPxNavBar, ASPxTabControl, ASPxSiteMapControl, ASPxPopupControl and the ASPxGridView and Editors Suite.
Database connectivity is via eXpressPersistent Objects.

View Issue

Question Details: Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))

ID: Q20232
Problem Type: Question
Opened By:
Reviewed by DevExpress: Yes
Status:
Processed
Resolution:
Duplicate (Issue B91796)
Modified On: 3/11/2008 6:27:11 PM
Product Group: .NET
Product: Refactor! Free (VB.NET)
Version: Latest
Operating System: Windows Vista
IDE: Microsoft Visual Studio 2008
Categories: n/a
Log in to Track Changes or Edit
Description
Discussion (beta)

Created by at 9/6/2007 10:19:02 PM

I installed your trial version. Then I selected "Load DevExpress . . ." from the Tools menu in Orcas. Immediately, the following message box appeared:

"Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))"

Any thoughts?

Reviewed by Developer Express Team at 9/7/2007 9:52:43 AM

Processed (Insufficient Information) by Developer Express Team at 9/7/2007 3:43:34 PM

Hi Stephen,

It looks like you have incompatible assemblies on your machine, which causes this issue. I suggest that you use the following clean-install instructions to fix your installation:

1. Uninstall the products (CodeRush, Refactor & DXCore);
2. Search for any remaining DevExpress.CodeRush~, DevExpress.DXCore~ or DevExpress.Refactor~ DLLs located on your hard drive including your GAC (<Windows root>\Assembly) and delete any if found;
3. Backup your user settings located in the "<Document and Settings>\[YourUserName]\Application Data\CodeRush for VS .NET" folder and delete it.
4. Delete the following Registry Keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Developer Express\CodeRush for VS
HKEY_CURRENT_USER\SOFTWARE\Developer Express\CodeRush for VS

HKEY_CLASSES_ROOT\CLSID\{7EB58660-96F1-49CF-B8AF-F47152B8CE29}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\{VSVersion}\AddIns\CodeRush
HKEY_LOCAL_MACHINE\SOFTWARE\Software\Microsoft\Visual Studio\{VSVersion}\Addins\CodeRush
HKEY_CURRENT_USER\SOFTWARE\Software\Microsoft\Visual Studio\{VSVersion}\Addins\CodeRush
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\{VSVersion}\Packages\{13041012-50AF-4d13-A1E1-4978B21E49CD}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\{VSVersion}\Packages\{BD359A86-BF88-4c4e-A7D2-6CDDA36C3B79}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\{VSVersion}\Packages\{02BD4ECB-C032-4ced-B3C1-51AD29309225}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\{VSVersion}\InstalledProducts\DXCore
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\{VSVersion}\InstalledProducts\Refactor!

where VSVersion is your VS version

5. Delete the DevExpressTools.Addin file from

<Documents and Settings>\All Users\Application Data\Microsoft\MsEnvShared\Addins

and/or

<Documents and Settings>\[YourUserName]\Application Data\Microsoft\MsEnvShared\Addins

(BTW, you can't use DXCore/CodeRush Evaluation currently published on our web site with the latest Refactor! for VB.NET. If you want to use them, please let me know.)

If this doesn't help, please do two more things:

1. First run the following command line from the command prompt and post the resulting file here:

dir /s devexpress* >c:\Result.txt

2. Second, use the instructions from http://diditwith.net/PermaLink,guid,a7ab5b1b-9171-4c7b-8439-8a459651e078.aspx to debug the issue. It may give a call stack, which we can use for further investigation.

Finally, please specify whether you have any 3rd-party VS IDE add-ins, and whether you are using any 3rd-party realtime system (antiviral/antispyware) protection tools.

Thanks,
Max

Processed (Duplicate) by Developer Express Team at 3/11/2008 6:27:10 PM