System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Failed to obtain a temporary file name to save the working file to. ---> System.IO.IOException: The directory name is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.Path.GetTempFileName()
at NETTest.TestsBase.CompareImageOutput(String baselineImageID)
--- End of inner exception stack trace ---
at NETTest.TestsBase.CompareImageOutput(String baselineImageID)
at NETTest.MedicalImageProcessing.PerformTests(String myUniqueID, ImageClass daImage, Int32 bitDepth, ParameterMedPhotometricInterpretation daPhotometricInterpretation, ParameterMEDRescaleSlope daMEDRescaleSlope, ParameterMEDRescaleIntercept daMEDRescaleIntercept, Double daMEDWindowCenter, Double daMEDWindowWidth, ParameterMEDCompareLUT daMEDCompareLUT, ParameterMEDModalityLUTEnabled daMedModalityLUTEnabled, ParameterMEDValuesOfInterestLUTEnabled daMedValuesOfInterestLUTEnabled)
at NETTest.MedicalImageProcessing.TestValid12bitMedical(ImageClass daImage, ParameterMedPhotometricInterpretation daPhotometricInterpretation, ParameterMEDRescaleSlope daMEDRescaleSlope, ParameterMEDRescaleIntercept daMEDRescaleIntercept, ParameterMedWindowCenter12bit daMEDWindowCenter, ParameterMedWindowWidth12bit daMEDWindowWidth, ParameterMEDCompareLUT daMEDCompareLUT, ParameterMEDModalityLUTEnabled daMedModalityLUTEnabled, ParameterMEDValuesOfInterestLUTEnabled daMedValuesOfInterestLUTEnabled)
--- End of inner exception stack trace ---
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
at NETTest.formMain.RunATest(Object[] testset)
also... this one i don't get text for -
An unhandled exception ('System.Security.SecurityException') occured in IXDotNetTestSuite.exe
after selecting a debugger it shows:
An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll
Additional information: Stack walk modifier must be reverted before another modification of the same type can be performed.