Using Rad Toolbox requires Admin privledges

12 posts, 1 answers
  1. George
    George avatar
    105 posts
    Member since:
    Oct 2014

    Posted 21 Nov 2014 Link to this post

    In order to use the Rad toolbox I must run Visual Studio 2013 as Administrator. If I do not run as Administrator the Toolbox Rad items are all disabled. I do not normally run a Administrator for security reasons and needing the run Visual Studio as  Administrator is unacceptable.

    Is there some setting to correct this problem or should I log a Ticket?
  2. Vesko
    Admin
    Vesko avatar
    139 posts

    Posted 24 Nov 2014 Link to this post

    Hello George,

    Thank you for contacting us.

    I first recommend you to reset the Visual Studio toolbox (right-click the toolbox | Reset Toolbox). If it doesn't solve the issue you may need to clean up the toolbox. Here are the steps:

    1. Close all Visual Studio instances.
    2. Open Windows Explorer and navigate to %localappdata%\Microsoft\VisualStudio\[VS version].
    3. Make sure that 'Show hidden files...' option is selected in the Windows Explorer options.
    4. Delete all *.tbd files.
    5. Start Visual Studio and use the Toolbox Configurator (LINK) wizard to set the required controls (note that this step will prompt you to elevate the Visual Studio rights).

    After setting the toolbox you can run the Visual Studio with normal rights.

    If elevating the Visual Studio (just for this operation) is a risk on your side you can omit the last step and set up the requires controls manually (right-click the toolbox | Choose Items...).

    Please let us know if that helps.


    Regards,
    Vesko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. George
    George avatar
    105 posts
    Member since:
    Oct 2014

    Posted 24 Nov 2014 in reply to Vesko Link to this post

    None of the that helped.  Toolbox Configurator wizard shows one page which says Finish and when select reboots asking for the Admin password.

    The problem is that when I select Telerik/UI for ASP.NET AJAX/Launch Toolbox Configurator it restart Visual Studio asking for the Admin password which puts me into Visual Studio as Administrator which I now understand is a different user.  The Toolbox entries are for "Microsoft Visual Studio(Administrator)".  Installing the Toolbox entries as Administrator is wrong.  I must run Visual Studio as Administrator to use the Telerik Toolbox items, an awkward work around.

    As Microsoft Visual Studio(Adminstrator) I had to redo my JustCode variable settings as well.  It is a different Visual Studio user.

    I run Windows 8.1 Pro as a user that does not have Administrator privileges which is cannot change.  

    I believe this is a Telerick bug.

    George
  4. Vesko
    Admin
    Vesko avatar
    139 posts

    Posted 27 Nov 2014 Link to this post

    Hello George,

    We are sorry for the inconvenience. The Toolbox Configurator requires write access to Windows Registry. What about the "manual" approach? Does it solve the issue? Note that in this case the controls do not appear in a Telerik specific group.

    Another think you can do is to use the installer to either repair or install the product. The installer makes toolbox registration. Of course it also requires elevation.

    Regards,
    Vesko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  5. George
    George avatar
    105 posts
    Member since:
    Oct 2014

    Posted 27 Nov 2014 in reply to Vesko Link to this post

    Sorry but I have no idea what you mean by "manual". I require an additional description of what you are suggesting.  

    Using the "installer" means nothing to me either, what installer? I have just used the Telerik Control Panel to get ASP.NET

    Taking a guess I upgraded AJAX ASP.NET from Telerik/UI for AJAX ASP.NET/Upgrade Wizard which had some appropriate options in its wizard and again put and left me in Administrator mode.  When I restarted Visual Studio to get out of Administrator mode magically the Telerik Toolbox controls are now all working. Additionally, the duplicate non working Toolbox items that where always added are now also gone. 


  6. Answer
    Momchil
    Admin
    Momchil avatar
    81 posts

    Posted 01 Dec 2014 Link to this post

    Hi George,

    In our previous answer the "installer" can equally stand for the Telerik Control Panel and the offline MSI installer downloadable through the "Your Account" page on our web site. You can accept the references to the "installation" and "installation process", in the text bellow, as a Control Panel installation, but since the Control Panel actually uses the MSI installers, it's the same.

    Normally the installation process should be run while logged with the user which will be using the controls in order for the controls to be registered in Visual Studio Toolbox for that user. If the user is not Administrator you'll have to provide Administrator account credentials during the installation because it requires elevated permissions, but you should not have to run the Visual Studio as Administrator afterwards. On the first run of the Visual Studio, when the Toolbox window is opened, the Visual Studio takes some time to load the newly installed controls in the Toolbox and when a project's design file is opened the controls should be populated in the Toolbox.

    Please let us know if the issue reappears or if any other questions arise.

    Regards,
    Momchil
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  7. GodoCU
    GodoCU avatar
    2 posts
    Member since:
    Aug 2013

    Posted 22 Jun 2016 in reply to Momchil Link to this post

    We are experiencing the same problem.

    The Visual Studio user is not an admin, so the installation was done using elevated permissions. The normal user cannot see the components in the Toolbox, and when you try to launch the Toolbox Configurator,  a message is displayed asking for admin privileges to overwrite the registries.
    Permissions were given to the user on the specific registries by the administrator, but that didn't help.

     

    Please advise.

  8. Vesko
    Admin
    Vesko avatar
    139 posts

    Posted 23 Jun 2016 Link to this post

    Hello Joshua,

    Could you please confirm that the user has read/write access to these registry keys (if they exist):

    [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\[visual_studio version_number]\ToolboxControlsInstaller]

    [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\[visual_studio version_number]\Packages\{2c298b35-07da-45f1-96a3-be55d91c8d7a}\Toolbox]

    Regards,
    Vesko
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  9. Jeff H.
    Jeff H. avatar
    16 posts
    Member since:
    Jun 2013

    Posted 25 Apr 2018 Link to this post

    Vesko,

    I am having an issue with the Toolbox configurator in Visual Studio 2015 as well.  In the last post dated 1/23/16 you ask if the user has R/W access to the registry. I checked mine and I have R/W access to  [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\] down and the Toolbox Configuration Wizard is still failing. I am not able to run VS 2015 as an admin because I am not allowed admin access on the server. Are there other registry entries I need to check for R/W access?

    Regards,

    Jeff

  10. Vesko
    Admin
    Vesko avatar
    139 posts

    Posted 26 Apr 2018 Link to this post

    Hi Jeff,

    If the user is not an administrator it is expected to be prompted for administrator credentials. Having sad that, the error message from the Toolbox Configurator sometimes is misleading. It could indicate a general error during the toolbox registration. The error message in the Visual Studio output window pane however shows the actual exception (I have attached a screenshot of that). We will really appreciate it if you let us know what the actual error is.

    Because the Toolbox Configurator makes changes to the Windows Registry the regular user has to run Visual Studio as an administrator to set up the toolbox. Another option is to setup the toolbox manually.

    Regards,
    Vesko
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  11. Jeff H.
    Jeff H. avatar
    16 posts
    Member since:
    Jun 2013

    Posted 26 Apr 2018 in reply to Vesko Link to this post

    Vesko,

    What registry access is the Toolbox Configurator trying to update?  If I knew that I could fix it.  Also manually adding the toolbox controls does not create separate toolboxes. It puts them all into one toolbox. Do you have an easy way to group them into their associated toolboxes?

    Regards,

    Jeff

  12. Vesko
    Admin
    Vesko avatar
    139 posts

    Posted 27 Apr 2018 Link to this post

    Hi Jeff,

    First I want to clarify that the toolbox Window Registry hive is valid for Visual Studio 2015 or earlier. The required registry is [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0Exp\ToolboxControlsInstaller]. If you need more information about that registry key and the sub-keys please initiate a private support ticket.

    There is no way to automatically organize the controls in separate categories using just the Visual Studio Toolbox. We use the registry for that purpose. The controls in the toolbox, however, can be organized in tabs which is described in the the article.

    On the other side, Visual Studio 2017 does not use the registry for the toolbox at all. Each instance of Visual Studio 2017 has its own privateregistry.bin file which is used as a registry hive. There is no a straightforward way to manipulate this file.


    Regards,
    Vesko
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top