cancel
Showing results for 
Search instead for 
Did you mean: 

When trying to create a Document Composition letter in Workflow in the Web Client, receiving the following message in Event Viewer: "Could not open marco storage."

Josh_Gregorek
Champ in-the-making
Champ in-the-making

Three new Citrix Servers were created for a Citrix farm.  On these three servers, when a non-administrator user logs in, when trying to create a Document Composition letter in Workflow in the Web Client, receiving the following message in Event Viewer: "Could not open marco storage."

Event Type: Information
Event Source: Hyland.Interop
Event Category: None
Event ID: 0
Date:  12/14/2010
Time:  10:40:57 AM
User:  N/A
Computer: PAPPTRMV19
Description:
InvokeMethod (Name: CreateDocumentFormLetterFromPropertyString) threw an exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800A175D): Could not open macro storage.
   --- End of inner exception stack trace ---
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
   at Hyland.Core.Composition.Word.LBObject.InvokeMethod(String methodName, Object[] paramz)
   at Hyland.Core.Composition.Word.WordLB.NewDocument()
   at Hyland.Core.Composition.Word.Expansion.ExpandTextFields.handleInternal(ContextData cd)
   at Hyland.Core.Composition.Word.Expansion.AbstractExpansionHandler.Handle(ContextData data)
   at Hyland.Core.Composition.Word.Expansion.AbstractExpansionHandler.Handle(ContextData data)
   at Hyland.Core.Composition.Word.Expander.expand(ContextData data)
   at Hyland.Core.Composition.Word.ExpansionBase.Compose(ContextData data)
   at Hyland.Core.Composition.Driver.Driver.expand(Expander expander, TemporaryFile filePath, ExpansionContext ec, Int64 templateId)
   at Hyland.Core.Composition.Driver.Driver.processExpansion(ExpansionContext expansionContext)
   at Hyland.Core.Composition.Driver.Driver.CreateDocumentFormLetterFromPropertyString(String propString)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

Event Type: Information
Event Source: Hyland.Desktop
Event Category: None
Event ID: 0
Date:  12/14/2010
Time:  10:16:13 AM
User:  N/A
Computer: PAPPTRMV19
Description:
Hyland.Desktop.ComServiceHost encountered an unexpected error:

System.ComponentModel.Win32Exception: Access is denied
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.Kill()
   at Hyland.Desktop.ComServiceHost.Program.Main(String[] args)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

-Three new servers were created.
-The error only happens on the 3 servers.
-If an administrator logs in, everything works fine.
-If a non-admin logs in, the error occurs.
-When running the ad hoc task, it does not open the document and the above errors show up in Event Viewer.
-Tried having the customer run Diagnostic Console, but nothing appears to be logged to the Diagnostic Console.
-Customer mentioned that it worked yesterday with a standard user but the only thing he changed on the server was to hand out virtual IP addresses and rebooted the server.
-Does this occur in the Test system?  No, it works, but they are not going through the Citrix Farm in test, so it's not a valid test.
-Are Macros disabled in Microsoft Word -> Tools -> Marcos -> Security?  The setting is set to High.
     -Tried setting it to low, but received the same results.
-Is there only a single Web Server that all the Citrix Servers are pointing to?  Yes.
-Using Microsoft Office 2003.
-Found a few Google links about this issue:
     -http://support.microsoft.com/kb/224338
     -http://forums.asp.net/t/1060493.aspx
     -http://support.microsoft.com/kb/247028
-Tried deleting the Normal.dot file (located in C:\Documents and settings\<user name>\Application Data\Microsoft\Templates), but received the same results.
-Is the Web Server a Trusted Site?  No, and it's not on the other servers either.
     -Tried making it a Trusted Site but received the same results.

-Suggested logging directly into the Citrix server as the test user.
     -Customer logged into her workstation as a Test user and it worked successfully.
     -Logging into the Citrix Server directly as this user caused the same problem.

 

1 REPLY 1

Josh_Gregorek
Champ in-the-making
Champ in-the-making

Microsoft Office was pointing the following files to the profile of the user that did the install.  This caused an access denied for standard users as they don't have permission to view others local profiles.

The path that the locked files were located is in the profile of the user:

    \%username%\WINDOWS\system\opa11.dat

    \%username%\WINDOWS\system\stdole2.tlb

In this case, the full path was O:\thin client profiles\%username%\WINDOWS\system\opa11.dat

Once the profile of the user that performed the installation of Microsoft Office was deleted, the issue no longer occurred.