Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

New Post: Remote Registration of NetOffice Assemblies

$
0
0
Hi!

I'm currently developing a word add in, which by now runs perfectly in my local environment! Since I need to deploy this for multiple users, my created assemblies and all needed NO assemblies are placed on a fileserver, parallel to another application that contains some files, that I need (configuration files for servers and more). It's also necessary to know, that an excel instance is created after calling specific methods from inside word.

The problem is, the add in should be registered on a terminal server which is not the file server mentioned above! Currently it runs perfectly until the point excel starts. Actually excel runs fine and opens the file that I want to, but when the following code is going to be processed the software crashes with the message: "Worksheet not found in loaded assemblies."
foreach (NetOffice.ExcelApi._Worksheet sheet in excelWorkbook.Worksheets)
Again if the add in is registered localy, everything runs fine! The funny part is... it already worked with remote registration and after the last weekend, something changed. Maybe Windows Updates did things? The question is now if there's any setting/configuration/permission, that could trigger that issue or - which would be worse - specific code elements haven't been registered correctly.

The only useful information that I could find so far is related to this topic: http://netoffice3.rssing.com/chan-15397442/all_p32.html#item631
"Worksheet not found in loaded NetOffice Assemblies"
Sounds like a reference problem. NO cant' find the loaded ExcelApi.dll in the current AppDomain. I need to know your NetOffice version and operating system version to reproduce the problem. (op-system in test and failed prod system) BTW: make sure the solution is not loaded from a network ressource(forbidden in .NET default policies)
Any suggestions to determine issues? : (

Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>