Using Rad Toolbox requires Admin privledges

8 posts, 1 answers
  1. George
    George avatar
    73 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
    97 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. UI for ASP.NET Ajax is Ready for VS 2017
  4. George
    George avatar
    73 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
  5. Vesko
    Admin
    Vesko avatar
    97 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.

     
  6. George
    George avatar
    73 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. 


  7. Answer
    Momchil
    Admin
    Momchil avatar
    58 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.

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

    Posted 22 Jun 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.

  9. Vesko
    Admin
    Vesko avatar
    97 posts

    Posted 23 Jun 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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017