question
stringlengths
19
6.88k
answer
stringlengths
38
33.3k
Problem Statement: The knowledge base article describes the various alarm capabilities within Aspen Tank and Operations Manager.
Solution: Aspen Tank and Operations Manager has three types of standard, built-in alarms. 1. 90% Target - This alarm is raised for a movement when the accrued mass quantity reaches 90% of the scheduled quantity. 2. Unauthorized Mov - This alarm is raised for a tank when the volume increases or decreases, but there is n...
Problem Statement: Aspen AtOMS cannot create a movement when the control element is an instrument. The instrument has been associated to the pipe part of the movement. The node instrument detail shows the instrument, but the screen in AtOMS does not. This Knowledge Base article shows how to overcome this problem.
Solution: The reason why AtOMS cannot create a movement when the control element is an instrument is that lineups in AtOMS start with the same DBINDEX (10000) as the standard Advisor DBINDEX. TheSolution to the problem is to run a query to change the DBINDEX of AtOMS Lineups to begin with a number a lot higher than the...
Problem Statement: When a movement is not linked to an order, column ORDER_ID is 0 AND all movements with ORDER_ID=0 appear in the window 'Attach Movements to order' because Atoms will retrieve from the database and display in the form all of the movements not assigned to orders (ORDER_ID=0). Then, when there are too m...
Solution: Please download and review the attached MS Word document which contain full explanation of the problem and provides queries that resolve the issue. Keywords: OK error References: None
Problem Statement: Having problems with Aspen Production Execution Manager CompileProc command - Connection refused message.
Solution: Can you do a basic test of eBRS/Apache connection? From the flags.m2r_cfg file you can concatenate together a string to test the Apache communication. Look at these four lines, and then put together a URL like the one below, and test it: # Synchronized timestamp from servlet - if not defined timestamp is ...
Problem Statement: After a new install of Aspen AtOMS client, it throws the following error message AtOMS Client Error connecting to the AtOMS Monitor. Please contact System Administrator. Refresh interval of the display was set to 5 min. Error=463. Desc= class not registered on local machine
Solution: This error might be caused by a missing component due to a dll not being registered properly during the installation. Re-registering the AtOMSServerDbLib.dll and AtOMSMonitorps.dll ('..\Program Files\AspenTech\AtOMS'), as shown below, should help resolving the aforementioned error: 1. Open a command prom...
Problem Statement: When you open the Tank summary view from the Aspen Tank and Operations Manager Client aka AtOMS client it displays different statuses for the tanks. What are these statuses and what do they mean to the user?
Solution: Aspen Tank and Operations Manager ( AtOMS) has three “Real Time Status Indicators” for the tanks. They are - Static - Up and - Down “Static” status means that the tank is currently not involved in any of the operations. “Up” status means that the tank is currently receiving some material ...
Problem Statement: Order status for each order is held as an integer code in the STATUS column of the EBR_ORDER table. However the integer order status 6 in EBR_ORDER shows several different statuses in the MOC Orderes module. So what is the definition for each integer representing an order state? Why do some EBR_ORDER...
Solution: is written because occasionally Aspen eBRS administrators want to gather information by reading Aspen eBRS tables directly. Keep in mind that Aspen eBRS tables can never be written to from external applications, unless those applications use Aspen eBRS API functions to do the writing. Any modification of data...
Problem Statement: How can I specify the password in a program accessing the API (for example, a SOAP client) so that it doesn't expire?
Solution: The Version 6.0 API manual incorrectly states that user accounts used for API access can be set in such a way that their password does not expire. However, that information is incorrect. The account must be active (inactive accounts will generate an error if used for API access), and by design a password can ...
Problem Statement: Aspen Production Execution Manager fails to connect, or displays an error dialog filled with repeated failure to initialize the web service messages:
Solution: There are a couple of configuration points the Production Execution Manager Administrator depends on: 1. List Nodename in Config Module. Using Aspen Production Execution Manager Administrator (i.e. backup and restore activity) is an auditable event. Therefore the node where the Administrator is started from n...
Problem Statement: Error in Aspen Oil Movement System (AtOMS) when default Unit of Measure (UOM) is not defined: -464125941. Automation error Source=(modAtPM.GetBaseUOM) What does it mean and how to resolve it?
Solution: AtOMS shows this error message when creating a new movement: The error originates from Aspen Enterprise Server (EMS), but it is not very well handled in AtOMS. From EMS, this call generates an exception: AdvisorModelObj.GetBaseUOMFromUOMType(T1, UomType) This call is in AtOMSClient.exe in modAtPM.GetB...
Problem Statement: Aspen AtOMS pops up the following error message when trying to create a new movement: This knowledge base article explains how to resolve this error message.
Solution: First make sure that Aspen Framework (AFW) security for Aspen AtOMS is configured properly: ? The AFW Application Name should be: Aspen Oil Movement Shipping The Group should be: UserInterface The Securable Object should be: Create You can check security permissions in AtOMSClient GUI, as shown belo...
Problem Statement: Occasionally during setup, the error: AEBRS Setup Error: Unable to find JDK 1.4.0_01 JavaHome Might occur during one of the last installation steps.
Solution: This error occurs if, after installing the JDK environment, the installation process cannot successfully reference that environment. To resolve the issue, check the Environment Variables on the system, and make sure that JAVA_HOME is defined. To do this, right-click on My Computer | Properties | Advanced | En...
Problem Statement: In Versions earlier than 2006.5, the editor control for the Basic Phase Table component: had a limit of 20 rows: Each row in the Editor defines the information for a column in the table the user will see. Is it possible to have more than 20 rows in the Editor?
Solution: Via CQ00204778, implemented in the latest Version 2006.5 Cumulative Patch, and therefore all later versions of Aspen Production Execution Manager, it is possible to increase the number of available rows in the Editor, and therefore the number of columns in the table presented to the user. This is done by addi...
Problem Statement: Occasionally when validating a screen, an error message with the following text is displayed: OutOfMemoryError or java.lang.reflect.invocation.target exception errors
Solution: By default, the Java environment uses 64 Megabytes of your system's available memory. However sometimes that is not enough. By design, AeBRS takes a screen capture of every BP screen at validation time. This is stored in the screenshot report to provide a detailed record of all actions that take place. For th...
Problem Statement: Error message Session Could not be identified when trying to access http://localhost/AeBRS for client.
Solution: When clients try to visit the Aspen Production Execution Manager (formerly Aspen eBRS) website, either the short or fully qualified nodename of that PC needs to exist in the Workstation table in the Config module on the Production Execution Manager server. Which version of the name (short or fully qualified) ...
Problem Statement: A powerful feature of Aspen eBRS is the ability to edit the Control Recipe. This can be useful when: ? ...
Solution: Production orders in Aspen eBRS are based on certified (i.e. read-only) objects. When new orders are created a copy of the Certified RPL is created for that particular order. This copy is then referred to as the Control Recipe. The Aspen eBRS Administrator, or another user with proper security permissions con...
Problem Statement: eBRS Version 2006 and later include a new Installer tool to finish eBRS configuration after running the Database Wizard. This tool takes care of not only initializing the eBRS Database connection, but also populates the Security database with the eBRS Roles and Permissions. When running the installer...
Solution: For the Aspen eBRSInstaller program, debug output is written to the Installer\debug directory, typically found here: C:\Program Files\AspenTech\AeBRS\Installer\debug For better security in Version 2006.5 and later, all debug files are written to All Users, so the location would be: C:\Documents and Sett...
Problem Statement: When the user updates strapping tables in Advisor with new calibrations, older data is being overwritten by the new data in the strapping tables, and calculations based on the old strapping tables can no longer be repeated.
Solution: Users should not delete old strapping tables or overwrite them with newer data, as calculations using the older data and tables may need to be re-run. Instead of overwriting the existing strapping tables with new calibrations, the user should simply add the new strapping tables into Advisor (with different na...
Problem Statement: This
Solution: illustrates which database table in the Aspen Operations Reconciliation and Accounting database contains the product states, types and classes.Solution GCOFEDST is the table in Aspen Operations Reconciliation and Accounting database that contains the configuration information for all products (feedstock) in t...
Problem Statement: What relational databases does V7.2 of Aspen Operations Reconciliation and Accounting (AORA, formerly called Aspen Advisor) support?
Solution: AORA is an ODBC-compliant database application, which means it will support any relational database that is compliant to the Open Database Connectivity (ODBC) standard. The newest release which is V7.2 has been specifically tested and supported when using any of the following database versions with the approp...
Problem Statement: Can Advisor perform flow compensation on raw flowmeter readings? Where is the best place to perform flowmeter compensation?
Solution: Flow compensation usually can be performed at many levels in the plant information system. Compensation for actual flowing conditions (temperature, pressure, density) can be done at the meter level, in the distributed control system (DCS), in the plant historian, and in Advisor itself. Flow compensation must ...
Problem Statement: Is there a batch command that selects a particular zone for processing?
Solution: The SETMODELZONE command will select a previously defined Group Zone within Advisor. The selected zone will then be used for any successive batch commands. Syntax: SETMODELZONE zonename; where zonename is the name (tag) of the zone to be used in processing. NOTES: The SETMODELZONE command must precede the O...
Problem Statement: Following are the Reconciliations statuses that are available under Expert System Preferences 'Not Saved', 'Preliminary', 'Intermediate', 'Complete', 'Finalized' and 'Locked' This
Solution: explains the purpose of above mentioned Reconciliation status.Solution 'Not Saved' appears by default before the save command is run during the process of Initialize, Reconcile, and Save (IRS) sequence. 'Preliminary' status is shown after expert results are saved. 'Intermediate', 'Complete' and 'Finalized' ar...
Problem Statement: When should a default product be assigned to a configured pipe in an Advisor model and when is it used?
Solution: The default product for a pipe should be assigned in the Details tab of the pipe object. The default pipe product is used when creating new readings for the pipe. This is the default for that reading when it is created. It is also used to determine the product default properties of a pipe, if it gets to that ...
Problem Statement: An installation of Aspen Operations Reconciliation and Accounting results in a file called IIEQUA32.dll being placed in A A C:\ProgramFiles\CommonFiles\AspenTechShared Another three files called IIEQUA32_US,A A IIEQUA32_M15A andA IIEQUA32_M20A are also installed in A A A A A A ...\AspenTech\Advisor\M...
Solution: Via Windows Explorer rename the file IIEQUA32.dll in the C:\ProgramFiles\CommonFiles\AspenTechShared to such as iiequa32_orig.dll Copy the required 'measurements' dll from A ...\AspenTech\Advisor\MeasurementsA A A A toA A A C:\ProgramFiles\CommonFiles\AspenTechShared Rename the copied file to IIEQUA32.dll Key...
Problem Statement: How to set up an ODBC connection to the Aspen Operations Reconciliation and Accounting Model (AORA)?
Solution: Following are the Steps on how to set up an ODBC connection 1. Download the models to your Local Computer. Go to Data Sources ( ODBC) through Start -->Programs -->Control Panel --> Administration Tools. Using the ODBC data source create a new DSN ( System DSN or User DSN based on your profile in the Computer....
Problem Statement: After the initial install, when opening MOC, the error message BPC User Not Correct displays. After dismissing the message, the application continues to open successfully.
Solution: This happens because the eBRS application expects to find a BPC program on the network to connect to. If you have not installed BPC, it is necessary to open: c:\program files\aspentech\aebrs\cfg_source\flags.m2r_cfg Search for CDM Change CDM_RESOURCE_ENABLE=1 to 0 Close and save, then run CODIFY_ALL.CMD from ...
Problem Statement: On a correctly configured system, an XML query or other API-based routine that was working OK starts failing. The only error indicated in the log file is a NullPointerException error.
Solution: When this problem occurs (the underlying cause is the Server not having enough memory), the NullPointerException error message appears in the client debug files (MOC\debug\xxxxx.dbg). This happens because the server does not have enough memory to hold the data it is processing (for example the results of an X...
Problem Statement: Depending on the environment, a policy may exist to avoid writing any data files to the C drive, reserving it only to hold actual program files. In that case, how can writing debug files to the default location: C:\Documents and Settings\All Users\Application Data\AspenTech\AeBRS be avoided?
Solution: This default path is defined by the INSTALL_PATH key, at the top of the config.m2r_cfg file. Edit the path to direct all APEM debug to the desired drive and location. After editing the path, save the changes, and run codify_all.cmd. It will be necessary to restart any MOC sessions and/or Apache Web Server to ...
Problem Statement: Starting from V7.2 Aspen Production Execution Manager (APEM) includes New debugger for phase and script execution in Design Editor
Solution: APEM V7.2 now includes debugging capability enabled for phase and script execution from inside the Design Editor. The debugger includes the following capabilities: ? Breakpoint definition and single step execution. Variable value watch and triggering execution stop on value change. The debugger en...
Problem Statement: Timestamps in Aspen Production Execution Manager are always held internally in UTC format, and then converted to the local timezone when displayed. However if times from an external source (for example an XML file) are already in UTC format, how can you make sure Production Execution Manager treats t...
Solution: The key is the tz parameter in the STR2DATE function, which allows you to designate the time zone that should apply to a particular value. Here are the function parameters as shown in the Design Keywords: convert conversion transform timezone References: Guide: DATE STR2DATE (STRING strdate, STRING format, ST...
Problem Statement: When upgrading an Aspen Production Execution Manager from a previous version to V7.1, any customization in the external_db.m2r_cfg file will be lost. This is also the type of error that may not be apparent immediately after upgrade. The failure to contact the external database will likely only be see...
Solution: If a backup of the file itself (or the cfg_source directory) was not made before the upgrade, it will be necessary to recover a copy of the original file from backup media. Keep in mind this installation error is only a problem if in fact this file has been modified to define connection information to an exte...
Problem Statement: Overview of new features that were incorporated in V7.2 Aspen Production Execution Manager ( formerly called AeBRS)
Solution: The V7.2 version of Aspen Production Execution Manager contains several major new or re-designed features, and many other improvements that bolster robustness, usability, and performance. See the Release Notes for details. New Script Debugger Aspen Production Execution Manager V7.2 now includes debugging ca...
Problem Statement: This knowledge base article provides a list of error codes returned by the Aspen AtOMS AdvConnect interface.
Solution: Error Description 0 SUCCESS -199 INISETC returned 0 -198 DaInitialize returned 0 -197 DaAddServer: Error Number 0 -196 DaAddServer returned 0 (no server) -195 Cannot get server information -194 Server is not connected -193 Text field not in server database -192 Value field not in server database -191 Average ...
Problem Statement: Clicking on PFC chart symbol on the toolbar when using Open Order Tracking for an active order produces the message: The RPL has no design
Solution: An easy workaround is to use the workstation view to execute the Basic Phase. To correct the problem permanently follow the instructions below. 'The RPL has no design' message means the .CHO object is missing. To fix the problem, select the order in the Order module and click the Designer button. This t...
Problem Statement: During Basic Phase Execution, an E4125 Reload error is displayed on the user's screen. In the MOC debug file lines like this appear: E4125(Reload) at m2r.DataModel.m2rDataModel.checkDBUpdateRowCount(m2rDataModel.java:2504) at m2r.DataModel.m2rDataModel.getExternalRow(m2rDataModel.java:2462) at m2r.Da...
Solution: This error typically occurs when attempting to insert high precision numbers into the RDB. APEM creates a checksum to validate data that is committed to the RDB. Once committed the data is immediately read back from the RDB, and the checksum held in memory is compared to a new checksum generated from the data...
Problem Statement: How can one get a data record (tag) from the Aspen InfoPlus.21 database into Aspen AtOMS?
Solution: Open AtOMSAdmin and go to Node Instrument: INSTRUMENT NAME is really the INSTRUMENT_TAG field of the database. Even though it appears as a list one can type in anything in that field. The list is there to get all instruments from Advisor but all one needs to be concerned about are two things: Specify the ...
Problem Statement: Sometimes, when activating a movement for a new tank, the movement will remain in the Starting state, instead of Active state, and the following error is received in the AtOMS Monitor log file: 2007-01-31 16:46:42 2320 0x1 AtOMSMonitor.UpdateMovementEventsInfo1 Error 0x80004005 performing some Calc...
Solution: If you look closely at the monitor log, the error code is 0x80004005. Then a little further down you can see the GetTankVolumeEx Parameters and see: TankID = 0 InstrID = 0 This entry is INVALID and will cause EMS to return said error. It is IMPERATIVE that the AtOMS configuration contain a valid TankID or I...
Problem Statement: This knowledge base article explains why the AspenTech Oil Movement System (AtOMS) interface to Aspen Advisor may crash when processing data for a particular day.
Solution: The AtOMS interface to Aspen Advisor (atoms2advisor.exe) may terminate unexpectedly if it encounters data that it does not expect. Examples of data that may cause atoms2advisor.exe to terminate unexpectedly are: 1. Extremely large data values (e.g.,1000000000000) 2. Negative values for cases in wh...
Problem Statement: This Knowledge Base article provides an answer to the following question: What does a circled white or yellow number (2) mean next to an active movement as seen in the Aspen AtOMS Client tool shown below?
Solution: The circled number (2) means that there is a condition called double movement. A double movement occurs when the node selected to measure the movement (remember the control element, source, destination or lineup?) has two active movements at the same time. For example, you have a movement from a manifold to a...
Problem Statement: Can Aspen AtOMS use tags defined by two different Definition Records for Instrument Tag configuration?
Solution: Yes!. Aspen Tank and Operations Manager allows you to configure multiple definitions for Aspen InfoPlus.21 tag configuration. For example, You can use IP_Analogdef for Plant data and PMCRealLabDef for LIMS data. AtOMS reads tag values from Aspen InfoPlus21 tags using tag name only, not by definition famil...
Problem Statement: What is the meaning of an Informational message while importing data from AtOMS to Advisor using AtOMS2Advisor.exe interface?
Solution: AtOMS2Advisor is an Interface to import AtOMS Movements and Inventories in to Advisor Model. While importing the data, the following informational message would appear, if Advisor Connect is set to manual mode. The above message indicates, AtOMS data is successfully imported to Advisor Import table. Since...
Problem Statement: This
Solution: describes the process that goes behind a movement in Aspen Tank Operations Manager (formerly called AtOMS) going from STARTING to ACTIVE status.Solution A movement goes from ISSUED to STARTING by a command from AtOMS Client. The monitor is not involved. At every scan cycle of the Movement Monitor (Activation ...
Problem Statement: The Aspen AtOMS Client Application will not Launch on a Windows Vista machine if the user is not configured as a Domain Administrator in the AFW Security for AtOMS.
Solution: Steps to be completed to properly implement AFW Security on Windows Vista machines with Domain Users: 1. Configure the AFW Security Server with all the required Roles and Users by synchronizing the AFW with the Active Directory to get all the required Domain Users added as part of the AFW Security for A...
Problem Statement: This knowledge base article explains why the following error can be returned by AtOMS or Aspen Enterprise Server.
Solution: This error indicates that Oracle was unable to insert any more records in the database. After the DBA extended the size of the tablespace Oracle was back online, but Aspen Enterprise Server (AtES) had to be fixed because it does not recover automatically from Oracle errors. To do this, use the Aspen Enterpris...
Problem Statement: After a Version 7.0 install, the error Establishing BPC Connection. Please review your BPC configuration. is encountered.
Solution: This is because the customer does not have a properly configured BPC connection. If the intent is to use BPC, then install the BPC component and configure according to the Documentation provided. If you will not be using BPC, then do the following: Open flags.m2r_cfg. Change the value from 1 to 0 for this fl...
Problem Statement: In many Aspen eBRS systems, orders are always in process. So when a Basic Phase Library (BPL), Recipe (Recipe Procedure Language, RPL) or Master Recipe (MR) is edited, and a new version created (making the old one Obsolete), what impact does that have on active orders in the system? Does it mean new ...
Solution: A key item is this flag, found in flags.m2r_cfg, shown here with its default value: EFFECTIVE_RECIPE_VERSION=0 This default value means the effective period of two versions of an RPL can overlap. If the flag is set to 1, when a new version of an RPL is Certified, the expiration date is written automatical...
Problem Statement: Tables with many rows in MOC can provoke an Out of Memory error if opened without a filter.
Solution: The first troubleshooting step for this issue is to make sure you have enough memory available for the Config module. Even if you have followed the advice inSolution 114292 to make more memory available for MOC (or for the eBRS server, 116637) the memory available for the eBRS Config, Audit and Templates modu...
Problem Statement: Development of efficient, reusable eBRS code and applications is helped by having best practices shared among those working in the environment. This Knowledgebase Article is a repository to gather and share those best practices.
Solution: Aspen Services organization has made available an eBRS Best Practices document (PDF attached) with recommended development guidelines. Keywords: None References: None
Problem Statement: Orders are in an executing state and can't be deleted. Typically this might occur after logging out of a workstation.
Solution: If the problem is associated with an existing workstation: 1. Close and reopen the MOC. 2. Log in and as soon as the MOC comes up, go into the orders module and cancel the order. Note: Don't try to open the order or it will get locked up again. If the problem is associated with a workstation that is no lo...
Problem Statement: Troubleshooting and General Usage Tips for Process Explorer trends displayed in eBRS Basic Phases
Solution: 1. Basic Phase with an APEX trend hangs on execution: This is typically a Version 2004.2 problem. Some specific files needed to support display of Process Explorer trends in eBRS basic phases are missing from the initial installation. Install the latest cumulative patch for Version 2004.2 to resolve this issu...
Problem Statement: This knowledge base article describes whether or not is it possible to delete an existing user profile from Aspen eBRS.
Solution: Profiles can be deleted except for the case when audit trail data has been associated with the profile. If audit trail data has been associated with the profile the profile cannot be deleted even if no users currently belong to the profile. Keywords: message deletion References: None
Problem Statement: When trying to change the MOC user (after successful startup of MOC), or execute a stored procedure against the eBRS API, the following error is written to either the MOC debug file in the former case, or the API Server debug file in the latter case: 14:40:51: Diagnose = Invalid username or password....
Solution: Verify that the machine running AeBRS is part of a domain, not a workgroup. Keywords: References: None
Problem Statement: What does an icon with a red circle and a white bar in the middle for the AtOMS movements indicate?
Solution: This RED sign in the Atoms Client next to the Active Movements indicates that there are some instruments associated with the movements that have BAD status in Historian, such as Aspen InfoPlus.21. In order to check why the status is BAD we have to get the full error code that is causing this condition. For th...
Problem Statement: Aspen AtOMS2Advisor is an interface that imports Movements and Tank inventory to Advisor application on a daily basis. By default, this interface displays Tank attributes in Fractional Gauges and this
Solution: explains how to change the displays to Levels. Solution To change the display to Levels please go to File--> Preferences and set Fraction to '0'. Then close and reopen the Screen. Now you can see the Tank attributes in Levels. Keywords: atoms2advisor fraction level References: None
Problem Statement: This knowledge base article provides a list of Aspen AtOMS error codes for the Tank Monitor and the Event Monitor.
Solution: Descriptor ErrCode Description ERR_UNKNOWN 0x84570001 Unknown ERR_TIMERFAST 0x84570002 Timer too fast ERR_ACTIVATING 0x84570003 Error Activating Movement ERR_READING_LINE_TANK 0x84570004 Error Reading Line_Tank in AtOMS_Lineup table ERR_BADDBLIB 0x84570005 AtOMSServerDBLib version error ERR_BAD_MOVEMENT_STATE...
Problem Statement: When creating a new movement from AtOMS client after a V7.2 fresh installation or upgrade, a user sometimes sees the following errors on both server and client machines: -2147467259. External Component has thrown an exception. Source= Aspentech.MSC.AORA.Model.Wrapper (modAtPM.GetBaseUOM) Clicking...
Solution: These errors are causes if some units of measure (UOM's) are missing in the dependant Aspen Operations Reconciliation and Accounting (AORA) model. In order to add the UOM's, login to the AORA model and from the GUI go to 1. Configure --> Global --> Units Of Measure --> Add 2. Add the default UOM fo...
Problem Statement: Configuring the Lightweight Adapter for communication between eBRS and Batch.21 is straightforward, but there can be several configuration issues that keep correct communication from happening. This
Solution: provides a troubleshooting checklist if there is a communication problem. Solution If communication is not happening, check these possible causes. The checklist is arranged from most likely to least likely cause: 1. Verify that you have unique topics defined for LWA communication. A default installation of ...
Problem Statement: While using Aspen Production Execution Manager, this Error is displayed on the screen: Exception: java.lang.reflect.InvocationTargetException Checking the debug, entries like this are seen: 13:47:56: Exception java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccess...
Solution: This error can occur if LWA_SERVICE_ENABLE is set to 1 on a system which in fact is not communicating with a Aspen Production Execution Manager system. To resolve it, go to config.m2r_cfg on the server, search for the flag and set it to 0. Afterward execute codify_all.cmd in the same directory. Restart MOC, a...
Problem Statement: You are presented with this warning message during windows startup process: Server certificate is not present in your trusted store. Do you want to trust the certificate?
Solution: Even though the warning says the certificate has expired, the problem is a false alarm from Symantec Endpoint Protection. If you have it installed and running on the same server as Aspen Production Execution Manager's (APEM's) Tomcat is installed, you may have Tomcat running on port 4338. Follow the instructi...
Problem Statement: After successfully launching the MOC Thick Client, a user got the following error when attempting to start the Order Tracking module (from the MOC debug file): 13:34:07: Exception java.lang.NoClassDefFoundError: org/apache/soap/rpc/Parameter at Notifier.SOAPSubscribe.buildParams(clientNotifier.java...
Solution: A NoClassDefFoundError happens when the execution environment cannot find the jar file the executing code is looking for. In this case there is a failure to find soap.jar. The AeBRS.CMD file contains a reference to all jar files that should be needed during AeBRS operation. To find out what the problem is wit...
Problem Statement: In the MOC or API debug files you see the error message Exception Server.api.chkVMRuntimeServer$APIException: E654:API session is not active
Solution: This message means that the workstation name is not in the MOC Tables is not present or does not match the WORKSTATION_NAME key located in the CONFIG.M2R_CFG. 1.        Open the file CONFIG.M2R_CFG located c:\Program files (X86)\AspenTech\AeBRS\cfg_source\ 2.        Check for the key WORKS...
Problem Statement: What are some tips and advice about working with the table control that go beyond the printed documentation?
Solution: The eBRS table control is often the most effective way to present information to the operator. ThisSolution is a place to post information about the real-world experience of working with tables. Hopefully you will pick up something useful from thisSolution. Please use the Feedback button to add your own advic...
Problem Statement: How does eBRS determine the timestamp source? What standard is used for the timestamp information?
Solution: Older eBRS versions had configuration options that allowed using the local timestamp on the client running MOC. However all supported eBRS versions now require that the timestamp be taken from the Apache Server. This is set by default, at installation time. This eliminates the variability that could occur in ...
Problem Statement: On systems with large RPL's (hundreds of Basic Phases), and many workstations, customers may seek to implement specific steps which enhance performance. One parameter which increases how quickly the system processes the RPL is the CONDITION_EVALUATION_PERIOD flag, which has a default value of 10 ...
Solution: To increase the condition evaluation frequency, open the flags.m2r_cfg file on the eBRS server (typically found along this path): C:\Program Files\AspenTech\AeBRS\cfg_source and add the CONDITION_EVALUATION_PERIOD flag. Since this is an internal, undocumented flag, consider adding an explanatory note like thi...
Problem Statement: An error with the AMS Version 2004.2 release media means that important configuration files will be overwritten by the upgrade process, and some incorrect jar files are added to the Apache directory. Please follow the steps in this Article together with the eBRS 2004.2 Installation Guide to ensure yo...
Solution: 1. Before installing AMS Media Installer for AeBRS 2004.2, create a back up of all configuration files (these are files with the extension m2r_cfg). These files are located in the directory: C:\Program Files\AspenTech\AeBRS\cfg_source 2. Execute AMS Media Installer for AeBRS 2004.2 following the guidelines de...
Problem Statement: How to determine which Temporary Tables are generated and used when executing selected Aspen Operation Reconciliation and Accounting (AORA) Reports, or when creating Custom Reports from the Standard Crystal Reports? REASONS FOR ASKING: We are modifying some of AORA's Standard Report Files to build ou...
Solution: IMPORTANT: Please read entirely all instructions and notes provided below before proceeding with the documented Temporary Table determinationSolution procedures. The procedure required to View and/or See and Test specifically which Temporary Table or Tables get created for each Standard Report or Custom Repor...
Problem Statement: What can one adjust if the Reporter shows other components but not the parent component?
Solution: ThisSolution is quite simple. Go to File | Preferences | Display and set the ''Number of Parent Levels'' field to zero. This tells the reporter to report ALL components (the parent level is the lowest level). A common mistake is to set this field to 1 which shows all levels EXCEPT the parent level. Keywords: ...
Problem Statement: When a new Aspen Advisor model is created, what is the default username and password?
Solution: When a new Aspen Advisor model is created, the default username is 'superuser' and the password is 'superuser'. This default password should be changed after the first time the model is opened. Aspen DBTools can be used to modify the password by opening up Aspen DBTools => File => Change password. You can als...
Problem Statement: After installation of Aspen Advisor, the following errors are noticed when one attempts to run the expert system. AionDS/PC: Setup table not found - NLS.AES Error Starting the expert system - Error #19217 Error starting session for document
Solution: These errors indicate that the path to the expert system has not been defined correctly. Make sure that one has the correct path to the expert system. Do this as follows: Log in to Advisor as superuser or an equivalent. Go to File | Preferences and select the Expert tab. The Expert Path should point to the Ex...
Problem Statement: Aspen Advisor can be used to track product composition in tanks. If product tracking was not initially set up when the model was created, it can be added to the model later. A start date must be select to begin track the products in the tank, it is best to select the start of a month to do this.
Solution: As an example, tracking is going to begin April 1st and the model is using Fractional Gauges for the tanks. The first step is to manually initialize the product compositions in the tanks on March 31st. Open the model in the Advisor GUI and change the time to March 31. Initialize the composition readings in th...
Problem Statement: Where is the density of air stored in Advisor? Can the default value for the density of air be modified?
Solution: The air density is stored in the OLOCONFG table. There is no way to modify the air density through the Advisor GUI, however, the air density value in OLOCONFG can be modified through a SQL script or by manually changing the value in the OLOCONFG table. Keywords: References: None
Problem Statement: The Advisor simulator has two strategies for simulating properties to the next accounting day. This article describes how to configure individual properties to be simulated by the linear blend algorithm or be updated from readings.
Solution: You can simulate physical properties, components, and product components for all tanks and streams defined in an Advisor database model by using the Simulator tool. The Update from readings strategy simply propagates today's physical property, components, and/or product component values forward to the next ac...
Problem Statement: You get the Error E4147 message from a MOC debug , Config Debug or popup Error message from MOC. Sample 1. This sample from the MOC debug file 05:27:24: DataModel.chkDMBatchRecord$Step.EBR_RECORD_STEP_47.Invalid record signature:ID_ORDER=-1335578485,ID_RECORD_STEP=-1335527345,ID_STEP=0,STEP_REP=1,S...
Solution: - This message refers to the the APEM database which may have not been compiled correctly , corruption or tampering of the DB records. - string characters invalid for DB ? e.g., accented characters,... - precision problems with numbers ? no APEM tables has floating point numbers: th...
Problem Statement: By default the MOC client will create a debug file and can take up Hard Disk Space on server or Client machines.
Solution: You can purge the debug files by adding a Flag/Key in the config.m2r_cfg file located in C:\Program Files (x86)\AspenTech\AeBRS\ folder. This key will remove debug files at set amount of days. If you wish to keep the debug files then you will need to use a script or batch file to move the log files to a repos...
Problem Statement: When attempting to run MOC you receive the message: AFW tools test page loads fine, indicating it's not a connectivity issue and other workstations are able to run MOC without any problems. Then if you try to refresh the cache in AFW Security Client tool, you receive this error:
Solution: Most likely the local cache is corrupt and needs to be recreated. Delete the contents of this folder: C:\Documents and Settings\All Users\Application Data\Aspentech\AFW Then proceed to restart Aspen Security Client service. You should be able to open MOC now. Keywords: MOC run-time error refresh cache afw...
Problem Statement: In V7.3 and earlier under some rare circumstances a deadlock may occur, causing multiple MOC clients to freeze.
Solution: This has only been reported on APEM systems that use SQL Server as their RDB. To avoid this issue, set the following flag in the SQL Server specific configuration file, db_mcsql.m2r_cfg, for each client: AVOID_DB_SELECT_IN_TRANSACTION=1 Future versions of APEM should be enhanced to include this flag setti...
Problem Statement: To help attain/maintain good performance in an Aspen Production Execution Manager (APEM) database that has been in production for some years, it is a good idea to archive and then delete order activity from the system. It is a three-step process, (1) mark orders with archive status, then (2) create a...
Solution: The information removed from the database is essentially everything that was added to the external archive package: 1. Control Recipe. That is a copy of the RPL that was made at the time the order was created. The RPL contains the entire structure of the order. That instance of the RPL is essential to alway...
Problem Statement: In the Workstation module in MOC users may only want to see order phases that are in the 'Ready for execution' status. By default you cannot filter statuses so you will see all phases of all orders you have selected.
Solution: To resolve this and see only 'Ready for execution' you will need to add a flag to the server. Follow these steps to make changes to all clients. 1. On the APEM server open the flags.M2r_cfg file with Notepad. This is typically located in c:\Program files(x86)\AspenTech\AeBRS\cfg_source 2....
Problem Statement: When you upgrade a Aspen Production Execution Manager 2004, 2004.2, 2004.2.8 and 2006.0 to a Version 8.5 database or Version 8.7 database you get the error message An internal error occured within Wizard.dll.Error: Error HRESULT E_FAIL has been return from a com component and Aspen Production Execut...
Solution: This error will occur when selecting versions 2004, 2004.2, 2004.2.8 and 2006.0 to Version 8.5 or 8.7 using the Aspen Database upgrade wizard and then trying to upgrade database. You will see two error messages as show below. To resolve this issue you will need to edit the XML file called Producti...
Problem Statement: When upgrading a Aspen Production Execution Manager database with the AeBRSInstaller tool you get the error 'PROC design compiler terminated;.
Solution: This error refers to a BPL (Basic Phase Library) that is failing to find one of the defined scripts or the specific script is present but the compiler fails to compile the script. The migration process can complete although will show this error. You can view the error messages in more detail by looking at t...
Problem Statement: When attempting to open http://WEB21SERVER/Aspentech/OrderManagement you receive the following error message: HTTP Error 404.2 - Not Found The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server.
Solution: First make sure you have the right components installed in accordance with kb#129413 - How to properly configure IIS in Windows 2008. If the installed features are correct, open IIS Manager, click on the server name and open the ISAPI and CGI Restrictions. Now make sure the ASP.NET 4.0 feature is set to A...
Problem Statement: In Version 2006 and later the AeBRS Installer takes care of configuring and verifying communication with Apache Tomcat, creating the Security structure in Aspen Local Security, and initializing communication between the eBRS API and the Relational Database. If any failure is encountered when the inst...
Solution: 1. Check AFW Tools to make sure the URL path is pointing to the right security server (pointing to the wrong or non-existent server can result in the chkusernotuser message being recorded to the MOC debug file: http://DOBEASE4/AspenTech/AFW/Security/pfwauthz.asp This path for example expects a securit...
Problem Statement: By default Aspen Production Execution Manager (APEM) message dialogs, such as MESSAGE(), ERROR_MESSAGE() and CONFIRM() only allow one line of plain text. Is it possible to have a more useful, multi-line display?
Solution: Within APEM itself there is no provision to send anything other than a plain text string to an APEM message dialog. However because the APEM coding environment itself is built in Java, it inherits some Java functionality. By embedding simple HTML in the string sent to MESSAGE(), some formatting is possible. T...
Problem Statement: When Aspen eBRS flags are set so that communication happens via IIS (see KB Article 121383 for more details) there may be connection problems. This
Solution: will record different problems and reSolutions related to Aspen eBRS / Aspen Batch.21 communication using IIS. Solution If IIS communication method fails, try using the Aspen Batch.21 Web Service test utility to submit the XML manually. KB Article 119035 has details on using the test utility. If there is a co...
Problem Statement: Does eBRS have hard-coded limitations? For planning an eBRS
Solution: it is useful to know if the product itself contains any limitations to the recipes, Basic Phases, tables, etc. Solution Like many Aspen Manufacturing Suite products, Aspen eBRS does not contain hard-coded limits. The expandability of the product in terms of Recipe complexity, Basic Phases, User Tables, etc. i...
Problem Statement: If the Apache server is not running, condition evaluation does not happen, an Aspen eBRS clients cannot progress past whatever Basic Phase they are processing at the time the server goes offline. The Watchdog is a process that pings the server during normal client operation, verifying availability. S...
Solution: The primary Watchdog test is to see if the Apache server responds in any fashion. This is the basic existence-of-connection test (by default set to 60 seconds): WATCHDOG_PERIOD=60 This is the basic watchdog flag and, if you turn it to 0 you are disabling all watchdog warnings. If WATCHDOG_PERIOD is set ...
Problem Statement: Are there plans to integrate the Aspen Production Execution Manager (APEM) audit module into Aspen Audit & Compliance Manager?
Solution: Beginning in V7.1, while the internal auditing component of APEM remains present (with no current plans to remove it), it is possible to also publish the APEM audit information to Aspen Audit & Compliance (AACM.) The feature itself is optional. It allows customers who already use AACM for their other auditing...
Problem Statement: For customers in timezones affected by the recent change in U.S. Daylight Saving Time rules, it is necessary to update the Java environment which eBRS depends on. This enables eBRS to correctly handle the change in the day when the spring forward and fall back time shifts happen in 2007.
Solution: The following steps should be applied to all versions of Aspen eBRS 6.0.1 and later. Note versions older than version 6 were delivered with JDK prior to version 1.4.0 for which access to TZUpdater need to be contracted from Sun Support. 1. Stop Apache tomcat server and any AeBRS modules. 2. Apply Microsof...
Problem Statement: What are the different communication methods to read/write data between Aspen Production Execution Manager (APEM) and Aspen Production Record Manager (APRM)? What are the advantages/disadvantages of each?
Solution: Starting with V7.2, APRM has an ODBC driver. This allows Batch data to be queried from APEM code using SQL-type SELECT * FROM * WHERE syntax. The initial V7.2 release is read-only. For V7.3, the plan is to enable writes via the same ODBC driver. Once writes are enabled, the easiest communication method be...
Problem Statement: Access to eBRS is managed through Windows user accounts. But when running the Database Wizard a Database account name AEBRS is created. What is this account for?
Solution: The AeBRS account is the account that AeBRS itself uses for access to the relational database. Keywords: References: None
Problem Statement: For programming, a non-proportional font has advantages. It can especially improve readability when a line contains both single and double-quotes. Courier is the new default in Aspen Production Execution Manager V7.1: On the other hand, non-proportional fonts take up more space for the same numbe...
Solution: Aspen Production Execution Manager changed the default font to Courier, favoring readability over saving space. However, the previous default font, Arial, can still be used, by commenting out this key in flags.m2r_cfg: SOURCE_TABLE_EDITOR_FONT = Courier New, 0, 14 After commenting out the line with a numb...
Problem Statement: Well designed RPLs are driven by parameterization. What are the character limits for the various parameters?
Solution: Up until Version 2006.5, some parameters were limited to 256 characters: chkDMElemParam chkDMMastRecipParamRaw However in Version 2006.5 and later those RPL parameters, and all others allow 2000 characters: EBR_RPL_ELEMENT_PARAM EBR_MASTER_RECIPE_PARAM EBR_ORDRPL_ELEM_PARAM Keywords: dimension maximum a...
Problem Statement: When creating external archive packages in Aspen Production Execution Manager using the Administrator tool, the archive file created will automatically be placed in the following folder: C:\Documents and Settings\All Users\Application Data\AspenTech\AeBRS\BR_ARCHIVE Can that destination be changed?
Solution: The folder destination is defined by the ARCHIVE_ROOT key, which is internal to Aspen Production Execution Manager. To give it a value other than the default specified above, define the key in a Aspen Production Execution Manager configuration file (like path.m2r_cfg or flags.m2r_cfg.) If writing an API progr...
Problem Statement: When using SQL Server, the default DB_URL line that defines the connection and connection properties is as follows in Aspen Production Execution Manager (formerly eBRS) Version 2006 and later: DB_URL = jdbc:sqlserver://{0}:{2};databaseName={1} This setting is found in the db_mcsql.m2r_cfg file, t...
Solution: Modifying the line like this: DB_URL = jdbc:sqlserver://{0}:{2};DatabaseName={1};SelectMethod=cursor;SendStringParametersAsUnicode=false allows indexes to be used, which in some cases gives a significant performance gain. (Keep in mind that the above DB_URL is all one line; depending on your web browser y...
Problem Statement: Sometimes an Aspen Production Execution Manager (formerly Aspen eBRS) order may go to a Cancelled by Phase status: Once in this status, no Basic Phases are available for execution. Why does an order go to this status? How can the order be reactivated?
Solution: When an order goes to Cancelled by Phase status, it can be for the following reasons: 1. Switching off the PC without exiting the Basic Phase currently executing on the screen. 2. The Java environment or Windows itself has a failure, and the PC needs to be rebooted. 3. An operator executing a Phase has ...
Problem Statement: When using the Print Design option within the Designer: the output will typically be directed to HTML (using Internet Explorer) or PDF (using Adobe Acrobat.) Internet Explorer automatically formats the columns of code in a table with auto-wrap enabled, so regardless of the width, it displays corr...
Solution: There are a couple of approaches to resolving the PDF printing problem: 1. Perhaps the most straightforward is send output to Internet Explorer, and then choose File, Print, and send output to a third-party PDF generator, like CutePDF for example. 2. It is also possible to leave the output flag set to PDF for...
Problem Statement: Debug key settings are read on startup by both the MOC clients, and also by the Apache server. For a MOC client, changing debug keys does not have such a great impact, since only the client needs to be restarted. But enabling and disabling debug keys for troubleshooting server issues is a bigger prob...
Solution: CQ00321586, introduced in the 2006.5.2 patch, allows changing Apache debug keys without the need to restart Apache. The new key controlling this feature can be added to a Production Execution Manager config file to take advantage of it. Here is an example entry added to flags.m2r_cfg: # CQ00321586 is availa...
Problem Statement: In older versions of Aspen Production Execution Manager (APEM), parameter editing happens in a flat table format, even though parameters themselves exist at multiple levels of the RPL, and so are therefore hierarchical. Old Editor: How can parameters be presented and edited in an easier, more i...
Solution: 1. V7.2 introduces the new Hierarchical parameter editor which presents data grouped logically, displayed like a hierarchy: 2. When you define a range, it is displayed in a drop down list so a user cannot select a wrong value: 3. Range list can now be set from queries (e.g.: mMDM, User Tables?) AFW an...
Problem Statement: SetOrderParamDetails exists, but what about GetOrderParamDetails?
Solution: A function like GetOrderParamDetails has not been created. However as a work-around, to obtain a list of order parameter expressions, the following query will work: SELECT * from EBR_ORDRPL_ELEM_PARAM where ID_ORDER=(SELECT ID_ORDER from EBR_ORDER where CODE = 'CM' and REPETITION_NO=1) and ID_ELEMENT=0 pr...