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

.dll not found exception on execution server

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Doga Ercan
Top achievements
Rank 1
Doga Ercan asked on 17 Feb 2012, 09:21 AM
Hi,

I submit a test list to scheduling server, and get following exception:

----------------------------------------------------
Overall Result: Fail
System.Exception: Exception loading assembly with path C:\Program Files (x86)\comparis.ch\TestLibraries\Comparis.Framework2.UnitTesting.dll. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Comparis.Framework2.UnitTesting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at System.UnitySerializationHolder.GetRealObject(StreamingContext context)


   at System.AppDomain.Load(AssemblyName assemblyRef)
   at ArtOfTest.WebAii.Design.Execution.TestAppLoader.LoadRefAssemblies(IList`1 references)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.Design.Execution.TestAppLoader.LoadRefAssemblies(IList`1 references)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'16.02.2012 09:28:07' - Overall Result: Fail
'16.02.2012 09:28:07' - Duration: [0 min: 0 sec: 62 msec]
------------------------------------------------------------

Indeed mentioned .dll is there in the right path and scheduling was worked before. After getting this exception, whenever I submit a new test list to scheduling server, it gives following error in scheduling logs:
----------------------------------------
Machine is busy executing other tests!
----------------------------------------

Unless I reboot the server, I get the above message and after rebooting the server, I get first exception and then above message again afterwards.

Do you have any idea what could be the reason of not finding .dll in that path although it is there.

Thanks

Ercan

1 Answer, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 22 Feb 2012, 02:17 PM
Hi Doga Ercan,

I'm sorry you are experiencing this problem. This a known issue with our previous official release 2011.2.1117. It's already fixed in our current SP2 release. You can download it from your Telerik account here: Public URL . Note that the Execution server and your main machine must have the same version of Test Studio, so you need to upgrade them both.

Please, let me know if the issue persist after upgrading to the new release.

Greetings,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Doga Ercan
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or