Hello,
I have a TestList that passes consistently when running thru the WebUI application, but fails when using my local PC as an execution server. Five out of eight test failed. The error on the failed test was similar to this:
'12/7/2010 5:04:42 PM' - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: That assembly does not allow partially trusted callers.
at FT_ACache_Run_Me_First..ctor()
The action that failed was:
LinkDemand
The assembly or AppDomain that failed was:
TestProject1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
The Zone of the assembly that failed was:
Intranet
The Url of the assembly that failed was:
file://fl27fil03/groups/test/CSRNG Automated TestProject1/Results/Non SR Tests - 129362366518254813/bin/TestProject1.DLL
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'12/7/2010 5:04:42 PM' - Test completed!
In the attachment, you can see the TestList failed twice at 4:49pm and 5:04pm. These were scheduled test runs. I ran the test list manually at 4:52 to verify it would work. It passed.
Any help you can provide is appreciated.
thanks,
maria.
I have a TestList that passes consistently when running thru the WebUI application, but fails when using my local PC as an execution server. Five out of eight test failed. The error on the failed test was similar to this:
'12/7/2010 5:04:42 PM' - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: That assembly does not allow partially trusted callers.
at FT_ACache_Run_Me_First..ctor()
The action that failed was:
LinkDemand
The assembly or AppDomain that failed was:
TestProject1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
The Zone of the assembly that failed was:
Intranet
The Url of the assembly that failed was:
file://fl27fil03/groups/test/CSRNG Automated TestProject1/Results/Non SR Tests - 129362366518254813/bin/TestProject1.DLL
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'12/7/2010 5:04:42 PM' - Test completed!
In the attachment, you can see the TestList failed twice at 4:49pm and 5:04pm. These were scheduled test runs. I ran the test list manually at 4:52 to verify it would work. It passed.
Any help you can provide is appreciated.
thanks,
maria.