Issue
Webstation can't load the menu tree. The following messages appear:
Exception: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Stack Trace: at TAC.Interop.TACOSOI.ITACOSobjectMgr.GetObjectByOid(UInt32 dwOid) at TAC.WebStation.Modules.TreeView.TreeViewPageScript.TreeNodePopulate (Object sender, TreeNodeEventArgs e) at PowerUp.Web.UI.WebTree.TreeView.OnNodePopulate (TreeNodeEventArgs args) at PowerUp.Web.UI.WebTree.TreeView._()
The following errors have occurred. Please correct these errors and/or contact the system administrator. An unexpected exception has occurred: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)) (0x80029c4a) System.Runtime.InteropServices.COMException at TAC.Interop.TACOSOI.TACOSObjectTierMgrClass.GetManager(Guid& riid) at TAC.WebStation.Modules.Alarms.AlarmListPage.GetAlarmsFromServer(TACOSViewObject view) at TAC.WebStation.Modules.Alarms.AlarmListPage.DataBind() at TAC.WebSTation.Modules.Alarms.AlarmListPage.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStatesAfterAsyncPoint)
Product Line
TAC Vista
Environment
- Windows 2008 Server
- TAC Vista 5.1.5 Webstation
- IIS 7.0 or higher
Cause
A webstation function does not have permission to access information from TAC Vista (TACOS.exe).
Resolution
This article assumes that Webstation has been installed according to the instructions in Problems installing Vista Webstation 5.1.5 or newer.
- Check which user is running Internet Information Services (IIS)
- Go to the start-menu and type inetmgr in the search field.
- Once the IIS Manager console is open locate and select Application Pools in the menu tree.
- Right-click on SE ASP.NET v4.0 Classic and select Advanced settings.
- Locate the Process Model\Identity setting and note which user is running the application pool - NetworkService by default.
- Grant the user running the application pool access to TAC Vista Folders
- Locate the ...\Schneider Electric\Tac Vista 5.1.5 folder.
- Right-click on the folder and select Properties.
- Go to the Security tab and select Edit.
- Add the user account network services and grant the account Read & Execute, List Folder Contents and Read Permissions.
Webstation functions should now have access to the required folder and files.