This is a migrated thread and some comments may be shown as answers.

Error while creating Radcontrols winforms application

9 Answers 130 Views
Visual Studio Extensions
This is a migrated thread and some comments may be shown as answers.
Ajith Nair
Top achievements
Rank 1
Ajith Nair asked on 22 Jun 2011, 02:35 PM

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.

9 Answers, 1 is accepted

Sort by
0
Chavdar Dimitrov
Telerik team
answered on 22 Jun 2011, 03:28 PM
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.
0
Ed
Top achievements
Rank 1
answered on 25 Jul 2011, 05:00 PM

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

0
Erjan Gavalji
Telerik team
answered on 25 Jul 2011, 05:13 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

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!

0
Ed
Top achievements
Rank 1
answered on 25 Jul 2011, 05:30 PM
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
0
Nikolay
Telerik team
answered on 27 Jul 2011, 03:16 PM
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!

0
Ed
Top achievements
Rank 1
answered on 28 Jul 2011, 01:56 PM
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

0
Nikolay
Telerik team
answered on 28 Jul 2011, 02:37 PM
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!

0
Brad
Top achievements
Rank 1
answered on 07 Sep 2011, 06:05 AM
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
0
Ed
Top achievements
Rank 1
answered on 07 Sep 2011, 05:11 PM
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
Tags
Visual Studio Extensions
Asked by
Ajith Nair
Top achievements
Rank 1
Answers by
Chavdar Dimitrov
Telerik team
Ed
Top achievements
Rank 1
Erjan Gavalji
Telerik team
Nikolay
Telerik team
Brad
Top achievements
Rank 1
Share this question
or