Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 
No ratings
Kb-Sync
Collaborator III

Applies To


Product(s): Archer
Version(s): All Versions
Primary Deployment: On Premises

Description


When attempting to map a Package (Administration menu > Application Builder > Install Packages > Open the package > Click on Map), it fails and just spins until timeout (for approximately 5 minutes, depending on the IIS timeout settings of the environment).
0EMVM000009ts93.png0EMVM000009ts93.png
The below errors are found in the w3wp logs (for 6.15 versions):
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
    <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
        <EventID>0</EventID>
        <Type>3</Type>
        <SubType Name="Error">0</SubType>
        <Level>2</Level>
        <TimeCreated SystemTime="2024-09-04T12:29:11.2371675Z" />
        <Source Name="Archer.NET" />
        <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" />
        <Execution ProcessName="w3wp" ProcessID="8428" ThreadID="14" />
        <AssemblyVersion>6.15.200.10416</AssemblyVersion>
        <Channel />
        <Computer>Server Name</Computer>
    </System>
    <ApplicationData>
        <TraceData>
            <DataItem>
                <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>Archer.NET</TraceIdentifier>
                    <UserId>2</UserId>
                    <Description>Internal Error in InitiatePackageMapping</Description>
                    <AppDomain>/LM/W3SVC/1/ROOT/Archer/api-2-133699264794753634</AppDomain>
                    <Exception>
                        <ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                        <Message>Internal Error in InitiatePackageMapping</Message>
                        <Source />
                        <StackTrace />
                        <InnerException>
                            <ExceptionType>System.Threading.ThreadAbortException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                            <Message>Thread was being aborted.</Message>
                            <Source>ChilkatDotNet47</Source>
                            <StackTrace>   at ClsZipEntry.Inflate(ClsZipEntry* , DataBuffer* , ProgressEvent* )
   at Chilkat.ZipEntry.Inflate()
   at ArcherTech.Kernel.Brokers.Packaging.Generate.IO.ChilkatPackageEntry.ChilkatEntryStream..ctor(IList`1 entryZipParts, FileAccess access, Func`1 newZipEntry)
   at ArcherTech.Kernel.Brokers.Packaging.Generate.IO.ChilkatPackageEntry.GetStreamCore(FileMode mode, FileAccess access)
   at ArcherTech.Kernel.Brokers.Packaging.Generate.EntryConsumers.PackageArcherSchema.GetReader()
   at ArcherTech.Kernel.Brokers.Packaging.Install.PackageSchemaConverter.ReadSchemaMetadata()
   at ArcherTech.Kernel.Brokers.Packaging.Install.PackageSchemaConverter.LoadSchemaCache()
   at ArcherTech.Kernel.Brokers.Packaging.PackageBroker.SystemMatchPackage(Int32 mapperSessionId, PackageTree`1 packageMapperTree)
   at ArcherTech.Kernel.Brokers.Packaging.PackageBroker.&lt;&gt;c__DisplayClass55_1.&lt;InitiatePackageMapping&gt;b__1()</StackTrace>
                        </InnerException>
                    </Exception>
                </TraceRecord>
            </DataItem>
        </TraceData>
    </ApplicationData>
</E2ETraceEvent>
The below errors are found in the w3wp logs (for older versions, prior to 6.15):
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
  <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
    <EventID>0</EventID>
    <Type>3</Type>
    <SubType Name="Error">0</SubType>
    <Level>2</Level>
    <TimeCreated SystemTime="2023-06-15T20:37:20.6545884Z" />
    <Source Name="Archer.NET" />
    <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" />
    <Execution ProcessName="w3wp" ProcessID="2348" ThreadID="20" />
    <AssemblyVersion>xxxxxxxxxx</AssemblyVersion>
    <Channel />
    <Computer>Server Name</Computer>
  </System>
  <ApplicationData>
    <TraceData>
      <DataItem>
        <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
          <TraceIdentifier>Archer.NET</TraceIdentifier>
          <UserId>2606</UserId>
          <Description>Internal Error in InitiatePackageMapping</Description>
          <AppDomain>/LM/W3SVC/1/ROOT/api-2-133313349944823375</AppDomain>
          <Exception>
            <ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
            <Message>Internal Error in InitiatePackageMapping</Message>
            <Source />
            <StackTrace />
            <InnerException>
              <ExceptionType>System.Threading.ThreadAbortException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
              <Message>Thread was being aborted.</Message>
              <Source>mscorlib</Source>
              <StackTrace>  at System.Runtime.Serialization.FormatterServices.nativeGetUninitializedObject(RuntimeType type)
  at ReadValuesListValueDefinitionFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )
  at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
  at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract&amp; dataContract)
  at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
  at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
  at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
  at ArcherTech.Kernel.Brokers.Packaging.Install.PackageSchemaConverter.Deserialize[T](String data)
  at ArcherTech.Kernel.Brokers.Packaging.Install.PackageSchemaConverter.ReadSchemaMetadata()
  at ArcherTech.Kernel.Brokers.Packaging.Install.PackageSchemaConverter.LoadSchemaCache()
  at ArcherTech.Kernel.Brokers.Packaging.PackageBroker.SystemMatchPackage(Int32 mapperSessionId, PackageTree`1 packageMapperTree)
  at ArcherTech.Kernel.Brokers.Packaging.PackageBroker.&lt;&gt;c__DisplayClass55_1.&lt;InitiatePackageMapping&gt;b__1()</StackTrace>
            </InnerException>
          </Exception>
        </TraceRecord>
      </DataItem>
    </TraceData>
  </ApplicationData>
</E2ETraceEvent>

Cause


This might occur due to the value of the Private Memory Limit setting of the Archer Application Pool in IIS, where that value can be limiting causing the timeout.

Resolution


The value of the Private Memory Limit setting is recommended to be set to 0, which is the default value.
Follow the steps below to apply this:
1. Log onto an Archer Web server and open IIS.
2. In the left pane, expand the server name and click on Application Pools.
3. Click on the Archer Application Pool.
4. Then click on Advanced Settings in the right pane.
5. In the Advanced Settings window, scroll down to the Recycling section.
6. Next to Private Memory Limit (KB), set the value to 0.
Note: Alternatively, the Private Memory Limit (KB) value can be raised and set to a higher value, if needed. There is no definite recommendation for this value and it should be determined by the client, depending on their environment.
0EMVM000009u1yj.png0EMVM000009u1yj.png
7. Reset IIS by running the below command in a Command Prompt (as an administrator):
iisreset
Note: The above checks and steps should be performed on all Web servers.

Version history
Last update:
‎2024-09-26 08:21 AM
Updated by: