Automating Netoffice

Sep 16, 2013 at 10:12 PM
Edited Sep 16, 2013 at 10:30 PM
Yes, I know MS does not like this nor supports it but...I would like to do so.

In user mode my code works fine, but when running as a windows service the following line of code returns null. How determine the error that causing it to return as null?

Word.Document newDocument = wordApplication.Documents.Open(tempFile);

I am hoping to load up a document and use this to convert it to text for downstream parsing. But this returns null. No exception. And I cannot find any errors in the event log.

[Update] I put the debug console on and it says "Failed to Resolve Assembly" but I have noticed that in the user mode and it does not seem to stop it.
Coordinator
Sep 17, 2013 at 11:17 AM
this means newDocument is null? which assembly failed to resolve?
can i see the complete console log?
Sep 17, 2013 at 2:55 PM
So I am running this in application that leads me loads DLLS, essentially and run them in App Domain. The Debug log is pretty large so this is the first portion. Any insights appreciated. Do I need to change the DCOM Config?
           [0]  "NetOffice.Factory.Initialize() DeepLevel:True" string
    [1] "Try to resolve Assembly"   string
    [2] "Try to resolve Assembly"   string
    [3] "Failed to resolve Assembly"    string
    [4] "Failed to resolve Assembly"    string
    [5] "Failed to resolve Assembly"    string
    [6] "Failed to resolve Assembly"    string
    [7] "Failed to resolve Assembly"    string
    [8] "Detect NetOffice assembly WordApi."    string
    [9] "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [10]    "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [11]    "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [12]    "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [13]    "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [14]    "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [15]    "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [16]    "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [17]    "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [18]    "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [19]    "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [20]    "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [21]    "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [22]    "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [23]    "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [24]    "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [25]    "Detect NetOffice assembly OfficeApi."  string
    [26]    "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [27]    "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [28]    "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [29]    "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [30]    "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [31]    "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [32]    "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [33]    "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e"  string
    [34]    "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [35]    "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [36]    "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [37]    "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [38]    "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [39]    "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [40]    "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [41]    "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [42]    "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [43]    "Detect NetOffice assembly VBIDEApi."   string
    [44]    "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [45]    "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [46]    "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [47]    "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [48]    "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047"   string
    [49]    "IFactoryInfo:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047" string
    [50]    "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [51]    "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [52]    "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [53]    "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [54]    "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [55]    "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [56]    "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [57]    "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [58]    "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [59]    "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [60]    "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [61]    "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [62]    "Detect NetOffice assembly OfficeApi."  string
    [63]    "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [64]    "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [65]    "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [66]    "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [67]    "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [68]    "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [69]    "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [70]    "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e"  string
    [71]    "IFactoryInfo:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e"    string
    [72]    "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [73]    "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [74]    "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [75]    "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [76]    "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [77]    "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [78]    "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [79]    "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [80]    "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [81]    "Detect NetOffice assembly VBIDEApi."   string
    [82]    "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [83]    "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [84]    "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [85]    "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [86]    "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047"   string
    [87]    "IFactoryInfo:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047" string
    [88]    "IFactoryInfo:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047"  string
    [89]    "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [90]    "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [91]    "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [92]    "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [93]    "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [94]    "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [95]    "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [96]    "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [97]    "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [98]    "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [99]    "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [100]   "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [101]   "NetOffice.Factory.Initialize() passed" string
    [102]   "NetOffice.Factory.Initialize() DeepLevel:True" string
    [103]   "Try to resolve Assembly"   string
    [104]   "Try to resolve Assembly"   string
    [105]   "Failed to resolve Assembly"    string
    [106]   "Failed to resolve Assembly"    string
    [107]   "Failed to resolve Assembly"    string
    [108]   "Failed to resolve Assembly"    string
    [109]   "Failed to resolve Assembly"    string
    [110]   "Detect NetOffice assembly WordApi."    string
    [111]   "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [112]   "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [113]   "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089"    string
    [114]   "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [115]   "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [116]   "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [117]   "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [118]   "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [119]   "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [120]   "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [121]   "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [122]   "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [123]   "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [124]   "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [125]   "Attribute:System.Reflection.AssemblyTitleAttribute"    string
Sep 17, 2013 at 2:56 PM
2nd portion
    [120]   "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [121]   "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [122]   "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [123]   "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [124]   "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [125]   "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [126]   "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [127]   "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [128]   "Detect NetOffice assembly OfficeApi."  string
    [129]   "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [130]   "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [131]   "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [132]   "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [133]   "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [134]   "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [135]   "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [136]   "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e"  string
    [137]   "IFactoryInfo:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e"    string
    [138]   "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [139]   "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [140]   "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [141]   "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [142]   "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [143]   "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [144]   "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [145]   "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [146]   "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [147]   "Detect NetOffice assembly VBIDEApi."   string
    [148]   "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [149]   "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [150]   "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [151]   "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [152]   "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047"   string
    [153]   "IFactoryInfo:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047" string
    [154]   "IFactoryInfo:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047"  string
    [155]   "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [156]   "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [157]   "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [158]   "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [159]   "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [160]   "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [161]   "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [162]   "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [163]   "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [164]   "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [165]   "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [166]   "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [167]   "Detect NetOffice assembly OfficeApi."  string
    [168]   "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [169]   "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [170]   "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [171]   "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [172]   "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [173]   "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [174]   "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [175]   "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e"  string
    [176]   "IFactoryInfo:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e"    string
    [177]   "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [178]   "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [179]   "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [180]   "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [181]   "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [182]   "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [183]   "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [184]   "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [185]   "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [186]   "Detect NetOffice assembly VBIDEApi."   string
    [187]   "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [188]   "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [189]   "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [190]   "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [191]   "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047"   string
    [192]   "IFactoryInfo:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047" string
    [193]   "IFactoryInfo:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047:VBIDEApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=931cec8882205047"  string
    [194]   "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [195]   "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [196]   "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [197]   "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [198]   "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [199]   "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [200]   "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [201]   "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [202]   "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [203]   "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
    [204]   "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [205]   "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [206]   "Detect NetOffice assembly OfficeApi."  string
    [207]   "Attribute:System.Runtime.InteropServices.ImportedFromTypeLibAttribute" string
    [208]   "Attribute:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" string
    [209]   "Attribute:System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute"  string
    [210]   "Attribute:System.Reflection.AssemblyTitleAttribute"    string
    [211]   "Attribute:System.Reflection.AssemblyFileVersionAttribute"  string
    [212]   "Attribute:System.Runtime.InteropServices.GuidAttribute"    string
    [213]   "Attribute:NetOffice.NetOfficeAssemblyAttribute"    string
    [214]   "IFactoryInfo:WordApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e"  string
    [215]   "IFactoryInfo:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e:OfficeApi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a39beb0835c43c8e"    string
    [216]   "Attribute:System.Runtime.Versioning.TargetFrameworkAttribute"  string
    [217]   "Attribute:System.Diagnostics.DebuggableAttribute"  string
    [218]   "Attribute:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute"   string
    [219]   "Attribute:System.Reflection.AssemblyDescriptionAttribute"  string
    [220]   "Attribute:System.Reflection.AssemblyConfigurationAttribute"    string
    [221]   "Attribute:System.Reflection.AssemblyCompanyAttribute"  string
    [222]   "Attribute:System.Reflection.AssemblyProductAttribute"  string
    [223]   "Attribute:System.Reflection.AssemblyCopyrightAttribute"    string
    [224]   "Attribute:System.Reflection.AssemblyTrademarkAttribute"    string
Sep 17, 2013 at 3:13 PM
If i create simple dummy call and put into a basic thread versus an application domain I get the following:
 Attempt has been made to use a COM object that does not have a backing class factory.
I just tried that morning to see if I get closer to what is going on. The logs from above are from an App Domain implementation.
Coordinator
Sep 17, 2013 at 9:06 PM
" Attempt has been made to use a COM object that does not have a backing class factory."
this message means the original memory instance(in word application memoryi) behind the com proxy is dead. not sure why...
i want add the beta release NetOffice 1.6.1 in this week and create a concept test "use NetOffice in system service"
you can help me and send a me a simplified project(remove private code) to analyze the problem to: public[dot]sebastian[at]web.de
i want help you as fast as possible before i create a new release.
i see also the current debugconsole is not very helpful. sorry is a very old feature. as i start with netoffice this output was helpful for me but i see its not for each other. NO 1.6.1 includes much more options for diagnostics. :) (external console observer, ipc debug channels and many more)