Receiving an unhandled Exception (Migration 2.3 to 3.0)

Bug reports.
riccardo
Posts: 30
Joined: Wed Apr 28, 2010 10:37 pm

Receiving an unhandled Exception (Migration 2.3 to 3.0)

Post by riccardo » Tue Apr 26, 2011 2:20 pm

I migrated a project as described. Now when adding new recordings, or also when changing some stuff I always receive an unhandled Exception

Code: Select all

System.TypeInitializationException: Der Typeninitialisierer für "MCP_333.Testcases.Offerte_Negativ_Uebersicht" hat eine Ausnahme verursacht. ---> System.TypeInitializationException: Der Typeninitialisierer für "MCP_333.MCP_333Repository" hat eine Ausnahme verursacht. ---> System.Security.SecurityException: Die Assembly lässt keine Aufrufer zu, die nicht voll vertrauenswürdig sind.
   at Temp1623F67.RecordingRunner.Run in c:\TEMP\qlyrhyc8.0.cs:line 21
   at Temp1623F67.RecordingRunner.Main in c:\TEMP\qlyrhyc8.0.cs:line 16
Any Idea what needs to be changed here?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Receiving an unhandled Exception (Migration 2.3 to 3.0)

Post by Support Team » Wed Apr 27, 2011 8:45 am

Hi Riccardo,

Would it be possible to send us your project or upload it on our FTP? According to your exception, it seems like you have not enough privileges. Are you starting your application and Ranorex as administrator?

Regards,
Peter
Ranorex Team

riccardo
Posts: 30
Joined: Wed Apr 28, 2010 10:37 pm

Re: Receiving an unhandled Exception (Migration 2.3 to 3.0)

Post by riccardo » Wed Apr 27, 2011 10:09 am

Yes I do start it as administrator. Funny is, if I start the Test within the Testsuite, it works fine. If I start the test itself, it fails...

Where can I upload the project?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Receiving an unhandled Exception (Migration 2.3 to 3.0)

Post by Support Team » Wed Apr 27, 2011 10:20 am

Hi,
riccardo wrote:Where can I upload the project?
I've sent you the access data per mail.

Regards,
Peter
Ranorex Team