You are trying to install ITMS on a new server. SIM (Symantec Installation Manager) is trying to run the installation configuration files but it fails. Messages in the NS logs show errors like "error CVT1108: cannot open D:\TEMP\RES9078.tmp for writing". After this type of errors appear in the logs the installation finishes as a failed one displaying a long error entry in a popup window.
The Windows Event Viewer logs included the following:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 4/19/2018 10:10:13 AM
Event time (UTC): 4/19/2018 2:10:13 PM
Event ID: e64a0ac413f841e8be61bd26fec1c833
Event sequence: 3
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/Altiris/NS/Agent-3-131686206134997156
Trust level: Full
Application Virtual Path: /Altiris/NS/Agent
Application Path: D:\Program Files\Altiris\Notification Server\AgentWeb\Agent\
Process information:
Process ID: 11532
Process name: w3wp.exe
Account name: IIS APPPOOL\Symantec Agent AppPool
Exception information:
Exception type: HttpCompileException
Exception message: (0): error CVT1108: cannot open D:\TEMP\RES9078.tmp for writing
at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
at System.Web.Compilation.BuildManager.CompileGlobalAsax()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Compilation.BuildManager.CallAppInitializeMethod()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
Request information:
Request URL: https://SMP01.example.com:443/Altiris/NS/Agent/GetClientPolicies.aspx
Request path: /Altiris/NS/Agent/GetClientPolicies.aspx
User host address: 10.16.xx.xx
User:
Is authenticated: False
Authentication Type:
Thread account name: domain\smp_dws
Thread information:
Thread ID: 6
Thread account name: domain\smp_dws
Is impersonating: False
Stack trace: at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
at System.Web.Compilation.BuildManager.CompileGlobalAsax()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Compilation.BuildManager.CallAppInitializeMethod()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
Failure 1 during product configure:(exception: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<!DOCTYPE html>
<html>
<head>
<title>Compilation Error</title>
<meta name="viewport" content="width=device-width" />
<style> .wolkenCSSDKf .wolkenCSSI1KqaKDU body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} .wolkenCSSDKf .wolkenCSSI1KqaKDU p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} .wolkenCSSDKf .wolkenCSSI1KqaKDU b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} .wolkenCSSDKf .wolkenCSSI1KqaKDU H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } .wolkenCSSDKf .wolkenCSSI1KqaKDU H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } .wolkenCSSDKf .wolkenCSSI1KqaKDU pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt} .wolkenCSSDKf .wolkenCSSI1KqaKDU .marker {font-weight: bold; color: black;text-decoration: none;} .wolkenCSSDKf .wolkenCSSI1KqaKDU .version {color: gray;} .wolkenCSSDKf .wolkenCSSI1KqaKDU .error {margin-bottom: 10px;} .wolkenCSSDKf .wolkenCSSI1KqaKDU .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } .wolkenCSSDKf .wolkenCSSI1KqaKDU @media screen and (max-width: 639px) { pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; } .wolkenCSSDKf .wolkenCSSI1KqaKDU } .wolkenCSSDKf .wolkenCSSI1KqaKDU @media screen and (max-width: 479px) { pre { width: 280px; } .wolkenCSSDKf .wolkenCSSI1KqaKDU } </style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/Altiris/NS' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Compilation Error</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
<br><br>
<b> Compiler Error Message: </b>CVT1108: cannot open D:\TEMP\RESD0F4.tmp for writing<br><br>
<b>Source Error:</b><br><br>
<table width=100% bgcolor="#ffffcc">
<tr><td>
</td></tr>
<tr>
<td>
<code><pre>
[No relevant source lines]</pre></code>
</td>
</tr>
</table>
<br>
<b>Source File:</b>
<b>Line:</b> 0
<br><br>
<br><div class="expandable" onclick="OnToggleTOCLevel1('compilerOutputDiv')">Show Detailed Compiler Output:</div>
<div id="compilerOutputDiv" style="display: none;">
<br><table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.Protocols\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.Protocols.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\altiris_ns\c691364b\62a2b684\assembly\dl3\f5effcf0\00555af0_699fd201\Interop.IWshRuntimeLibrary.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.Common.UI\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.Common.UI.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.Profiling\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.Profiling.dll" /R:"C:\Windows\assembly\GAC\Microsoft.Web.UI.WebControls\1.0.2.226__31bf3856ad364e35\Microsoft.Web.UI.WebControls.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.NS\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.NS.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\altiris_ns\c691364b\62a2b684\assembly\dl3\52d16d63\0095780b_699fd201\Altiris.Web.NS.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.Common\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.Common.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.GroupCommunications\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.GroupCommunications.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Security\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Security.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.RegularExpressions\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.NS.StandardItems\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.NS.StandardItems.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.NS.UI\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.NS.UI.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.Resource.UI\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.Resource.UI.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.Database\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.Database.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.Interop\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.Interop.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.WebControls\v4.0_8.1.4528.0__a98f6369edef8f57\Altiris.WebControls.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.NS.Replication.Hierarchy\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.NS.Replication.Hierarchy.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Messaging\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Messaging.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration.Install\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.Install.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\ComponentArt.Web.UI\v4.0_2015.1.4528.0__7166f3805b99f388\ComponentArt.Web.UI.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.NS.Replication\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.NS.Replication.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Altiris.Resource\v4.0_8.1.4528.0__d516cb311cfb6e4f\Altiris.Resource.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /out:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\altiris_ns\c691364b\62a2b684\App_global.asax.l4tanwhe.dll" /debug- /optimize+ /w:4 /nowarn:1659;1699;1701;612;618 /d:DEBUG;TRACE /warnaserror+ /nowarn:0618 /warnaserror- "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\altiris_ns\c691364b\62a2b684\App_global.asax.l4tanwhe.0.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\altiris_ns\c691364b\62a2b684\App_global.asax.l4tanwhe.1.cs"
CVTRES : fatal error CVT1108: cannot open D:\TEMP\RESD0F4.tmp for writing
Microsoft (R) Visual C# Compiler version 4.7.2053.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
error CS1583: 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\altiris_ns\c691364b\62a2b684\CSC969816724D1E4180A8ADA17FE1F8C27C.TMP' is not a valid Win32 resource file
</pre></code>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
function OnToggleTOCLevel1(level2ID)
{
var elemLevel2 = document.getElementById(level2ID);
if (elemLevel2.style.display == 'none')
{
elemLevel2.style.display = '';
}
else {
elemLevel2.style.display = 'none';
}
}
</script>
<br><br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2623.0
</font>
</body>
</html>
<!--
[HttpCompileException]: (0): error CVT1108: cannot open D:\TEMP\RESD0F4.tmp for writing
at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
at System.Web.Compilation.BuildManager.CompileGlobalAsax()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Compilation.BuildManager.CallAppInitializeMethod()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
[HttpException]: (0): error CVT1108: cannot open D:\TEMP\RESD0F4.tmp for writing
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
-->
--.). Trying again in 20 seconds....
-----------------------------------------------------------------------------------------------------
Date: 4/19/2018 10:05:02 AM, Tick Count: 168087843 (1.22:41:27.8430000), Size: 12.80 KB
Process: SymantecInstallationManager (7500), Thread ID: 21, Module: SymantecInstallationManager.exe
Priority: 4, Source: Symantec.Installation.ConfigureNS.task_Completed
ITMS 8.x
This issue was caused for the lack of rights in the TEMP folder used on the system.
The folder being accessed didn't have the proper rights. In this case it was not able to access the folder called "D:\TEMP", and we usually use "C:\Windows\Temp". The permissions between this D:\TEMP and the C:\Windows\Temp were different. It was missing IIS_IUSRS and CREATOR-OWNER.
Add IIS_IUSRS and CREATOR-OWNER permissions and give users at least Read and Write rights (Read & Execute, List folder contents, Read, Write) and try again running a repair on the installed Config files using SIM (Symantec Installation Manager).
Check the environment variables (Control Panel\System and Security\System\Advanced System Settings\Environment Variables) and see this has been changed with TEMP and TMP references pointing to the D:\TEMP.