If you add the user account to the local Administrators group or Power Users group, IntelliSense works in Visual J++ as expected. IntelliSense does work in other Microsoft Visual Studio applications, such as Microsoft Visual C++, Microsoft Visual Basic, and Microsoft Visual InterDev.
- On the Start menu, click Run, and then type regedt32 to start Registry Editor.
- Locate the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Classpath\Classes key. Notice that the value of [Package database] key looks like C:\DOCUME~1\<User1>\LOCALS~1\Temp\cpm1.tmp, where User1 is the name of the user who installed Visual J++.
In Visual J++, IntelliSense uses the Cpm1.tmp file and cannot access it unless the user has the appropriate permissions on that folder.
- In Windows Explorer, browse to the folder from step 2, and set the security permissions to Full Control for all Visual J++ users. To do this, follow these steps:
- Right-click the folder, and then click Properties.
- In the Properties dialog box, click the Security tab.
- In the Name list, click the appropriate user name(s). In the Permissions list, make sure that the Full Control check box is selected.
Steps to Reproduce Behavior
- Log on as a user in the Administrators group, and install Visual J++.
- Create a new user account in the Users group.
- Log on as the new user, and then start Visual J++. IntelliSense does not work.
Artikelnummer: 285779 – Letzte Überarbeitung: 14.02.2017 – Revision: 1