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

Rad Ribbon Bar causes VB to crash

4 Answers 80 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 19 May 2008, 09:29 AM
I'm using the RadRibbonBar with VB 2008.net express edition. I've followed the extra steps to get the ribbon bar to appear in the toolbox and everything seems to be OK. However, recently I find that when I create a new project the ribbon bar works fine until I save the project. Then the application won't start - nothing has changed since the last test other than saving the project. I've tried this out several times, changing different things, and have shown fairly conclusively that it is the saving of the project that causes the problem.

My test case was to create a new project, add the ribbon bar to the form, run the program. All fine. Save the project, run the program. Failed. All default names were left alone, no changes were made to the ribbon bar or the form.

This is the error that I get:

InvalidOperationException was unhandled

An error occurred creating the form. See Exception.InnerException for details.  The error is: That assembly does not allow partially trusted callers.

What can I do to fix this? Any suggestions greatfully received.

Thanks,
Martin.

4 Answers, 1 is accepted

Sort by
0
Martin
Top achievements
Rank 1
answered on 20 May 2008, 10:06 AM
I have an update to this post. I decided to uninstall both the Telerik controls and VB 2008 and start again.

Now I notice that a standard windows form created in the IDE and run is fine but when I save it and try running it again the title bar says 'Trusted - Form 1 - <machine name>'.

I still have no idea where to start looking to fix this but feel that it could be related.
0
Nikolay
Telerik team
answered on 21 May 2008, 09:18 AM
Hi Martin,

It seems that you there is an issue with permissions.

I recommend checking the following:

  • Check your user account - is it an administrator or an ordinary user.
  • Check the rights of the folder where you are developing your project. I suggest trying to develop it in the My Documents folder and checking if the problem persist.
  • Ensure that Visual Studio and our controls are installed using the administrative account.

I hope this helps. If you have additional questions, do not hesitate to contact me.

Greetings,

Nikolay
the Telerik team


Instantly find answers to your questions at the new Telerik Support Center
0
Martin
Top achievements
Rank 1
answered on 21 May 2008, 09:37 AM
Thanks for the reply. I've just managed to work out the cause of my problems - or at least a way around the problems!

I am an administrative user on the PC, VB and the telerik software was installed using administrative rights. However, the problem seems to be that my installation of VB defaults to being a non-trusted application. To turn this off open the project properties, go to the Security tab and turn on the ClickOnce security settings and I've then selected 'This is a full trust application'.

Now everything works properly.

Regards,
Martin.
0
Accepted
Nikolay
Telerik team
answered on 21 May 2008, 11:12 AM
Hello Martin,

Thank you for sharing your approach on this matter.

I am glad to hear that the issue is resolved.

If you have additional questions, feel free to contact me.

Sincerely yours,
Nikolay
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
RibbonBar
Asked by
Martin
Top achievements
Rank 1
Answers by
Martin
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or