Page 1 of 1

Receiving an unhandled Exception (Migration 2.3 to 3.0)

Posted: Tue Apr 26, 2011 2:20 pm
by riccardo
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?

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

Posted: Wed Apr 27, 2011 8:45 am
by Support Team
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

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

Posted: Wed Apr 27, 2011 10:09 am
by riccardo
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?

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

Posted: Wed Apr 27, 2011 10:20 am
by Support Team
Hi,
riccardo wrote:Where can I upload the project?
I've sent you the access data per mail.

Regards,
Peter
Ranorex Team