When you right-click and click Edit on a Health test, a window appears with this error:
The action Exchange.EditOShealthtest returned an unexpected error
The full details of the error are as follows:
Exception:
Could not find a part of the path 'C:\Documents and Settings\<ServiceAccountName>\Local Settings\Temp\1\gc3qh3kx.tmp'.
Call Stack:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace,
WORKAROUND
1. Attempt to navigate to the directory the error is referring to:
'C:\Documents and Settings\<ServiceAccountName>\Local Settings\Temp\1\gc3qh3kx.tmp'.
2. See if the directory above exists.
3. If it doesn't exist, attempt to create the Temp directory, or the "1" folder within the temp directory. In this particular occasion this issue was resolved by creating the "1" folder underneath the temp directory.
4. After you create the directory, close the Management Console and Restart both Spotlight on Messaging Services from services.msc
5. Open the Management Console and attempt to edit a health test. If you have the same problem, contact Quest Support.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center