Error while creating Radcontrols winforms application

10 posts, 0 answers
  1. Ajith Nair
    Ajith Nair avatar
    11 posts
    Member since:
    Oct 2012

    Posted 22 Jun 2011 Link to this post


    Hi,

    I am getting an error while creating a new Radcontrols winforms application.
    Below is the error.

    Error: this template attempted to load an untrusted component 'Telerik.WinControls.VSPackage, Version=2010.2.713.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4'.  For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

    Can anybody explain me why this happening and how to resolve the problem.


    Thank you.
  2. Chavdar Dimitrov
    Admin
    Chavdar Dimitrov avatar
    104 posts

    Posted 22 Jun 2011 Link to this post

    Hi Ajith,

    Sorry for the troubles.

    To help with a solution we will need some more of the characteristics of your environment. Could you please provide us some more information about:
    • What version of Visual Studio do you use?
    • Is this your first attempt to create a Telerik project, i.e. is this a new installation or an old one?
    • Did you perform any specific action, e.g. installation of other version of the RadControls?
    • Did you install RadControls for WinForms v 2011.1.11.419, or did you install the Q2 2010 one?

    Thanks in advance!

    P.S. We always recommend the usage of our latest version as it contains new features and has the known problems solved.

    Regards,
    Chavdar
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ed
    Ed avatar
    11 posts
    Member since:
    Jun 2011

    Posted 25 Jul 2011 Link to this post

    Hello,

    I am experiencing the same issue above except that the version I am using is 2010.3.1109.0 (2010-Q3). I am getting “project creation failed” message in the status bar of VS2008 when I try to create a new Telerik Windows application. I am also having another issue where a project that includes Telerik controls does not display forms and user controls properly in the designer view. The Telerik controls display as icons at the bottom of the designer view. I suspect the two issues may be related. Any help regarding my issues will be appreciated. My development machine’s OS is Windows Server 2003.

     


    Regards,

    Ed Katebi

    ekatebi@bit9.com

    617-393-7400 x482

  5. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 25 Jul 2011 Link to this post

    Hi Ed,

    I would suggest that you upgrade the Telerik WinForms VSExtensions to their latest version. It automatically deploys the design time assembly to the GAC when the Upgrade wizard run, hence I hope both the problems will get solved.

    Please, try the following steps:

    1) Backup your project just in case
    2) Remove the reference to the Telerik assemblies from your project (note their list for reference)
    3) Close all Visual Studio instances
    4) Use Windows Explorer to check the following two folders for Telerik subfolders and delete them:
        %localappdata%\Microsoft\VisualStudio\10.0\Extensions
         [VisualStudioInstallDir]\Common7\IDE\Extensions
    5) Visit the Visual Studio Online Gallery and download the Telerik WinForms VSExtensions to a folder of your choice
    6) Start a Visual Studio 2010 Command Prompt As Administrator and navigate to the folder you downloaded the VSIX file to
    7) Run the following command:
        vsixinstaller /a [TelerikWebUIVSIX_FileName.vsix]
    9) Start Visual Studio and load your project
    10) Right-click your project in Solution Explorer, use the RadControls for WinForms -> Convert to Telerik Application menu item and follow the wizard to add the references to the selected RadControls distribution (version).

    Please, perform steps 6) -> 8) for any other Telerik VSExtensions you would need to have.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  6. Ed
    Ed avatar
    11 posts
    Member since:
    Jun 2011

    Posted 25 Jul 2011 Link to this post

    Thanks for the quick reply Erjan. My project uses Visual Studio 2008 and also the Telerik release used by the project is 2010-Q3. Would you confim that the instructions and the links above will work for my environment?

    Also, The utility "vsixinstaller", in step 7 above, is not recognized on my machine and was not found under "windows" or "program files" folders. Would you point me as where might be able to download it?

    Regards,
    Ed
  7. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 27 Jul 2011 Link to this post

    Hi Ed,

    Please find the answer to this question in the support ticket that you have in Your Account. The title of this ticket is: VSIX support for Visual Studio 2008.

    I hope this helps.

    Regards,
    Nikolay
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  8. Ed
    Ed avatar
    11 posts
    Member since:
    Jun 2011

    Posted 28 Jul 2011 Link to this post

    I am not able to locate the ticket titled: "VSIX support for Visual Studio 2008" so I am continuing my conversation here for my issue.

    In the following instruction given to me yesterday, step 10 where I am supposed to see a context menu "RadControls for WinForms -> Convert to Telerik Application" is not available or visible. Please advise if there is solution or a work around.

    Also as before, I am unable to create a Telerik Windows application. Error: this template attempted to load an untrusted component. 'Telerik.WinControls.VSPackage, ...

     

     

    From: Forums | telerik [mailto:NoReply@telerik.com]
    Sent: Monday, July 25, 2011 12:14 PM
    To: Edward Katebi
    Subject: RE: Forum -- Error while creating Radcontrols winforms application

     

    Please, do not reply to this e-mail.

    A new reply has been posted to a thread in your watchlist.

    Click here to post a reply or unsubscribe from this thread. .

    From: Telerik Admin
    Date: 7/25/2011 12:13:45 PM

    Hi Ed,

    I would suggest that you upgrade the Telerik WinForms VSExtensions to their latest version. It automatically deploys the design time assembly to the GAC when the Upgrade wizard run, hence I hope both the problems will get solved.

    Please, try the following steps:

    1) Backup your project just in case
    2) Remove the reference to the Telerik assemblies from your project (note their list for reference)
    3) Close all Visual Studio instances
    4) Use Windows Explorer to check the following two folders for Telerik subfolders and delete them:
        %localappdata%\Microsoft\VisualStudio\10.0\Extensions
         [VisualStudioInstallDir]\Common7\IDE\Extensions
    5) Visit the Visual Studio Online Gallery and download the Telerik WinForms VSExtensions to a folder of your choice
    6) Start a Visual Studio 2010 Command Prompt As Administrator and navigate to the folder you downloaded the VSIX file to
    7) Run the following command:
        vsixinstaller /a [TelerikWebUIVSIX_FileName.vsix]
    9) Start Visual Studio and load your project
    10) Right-click your project in Solution Explorer, use the RadControls for WinForms -> Convert to Telerik Application menu item and follow the wizard to add the references to the selected RadControls distribution (version).

    Please, perform steps 6) -> 8) for any other Telerik VSExtensions you would need to have.

    Kind regards,
    Erjan Gavalji
    the Telerik team

  9. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 28 Jul 2011 Link to this post

    Hi Ed,

    Please note that you should log in your Telerik account in order to be able to review your tickets. After you log in, you should go to Your Account and then to the list of support tickets.

    Please refer to the attached images that ouline the steps given.

    Kind regards,
    Nikolay
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  10. Brad
    Brad avatar
    1 posts
    Member since:
    Aug 2011

    Posted 07 Sep 2011 Link to this post

    I'm having the same issue Ed is seeing with regard to the Visual Studio designer.  I'm unable to see anything but the toolbox icons on the designer page.  I am also using Visual Studio 2008 with Telerik RadControls for WinForms.   Any help on this would be appreciated.

    Thanks,

    Brad DuBois
  11. Ed
    Ed avatar
    11 posts
    Member since:
    Jun 2011

    Posted 07 Sep 2011 Link to this post

    As I recall, my issue got resolved once I matched the version of the Telerik plugin package with the version of the library references for my project. So if you go to your project's reference folder and locate a Telerik DLL and right click on it and get the exact version. For me it was Q2 2010. And then get the plugin version that matches it.

    Good Luck,
    Ed
Back to Top
UI for WinForms is Visual Studio 2017 Ready