Unable to import and refresh doccentric schema with Dotnet Assembly

0
Nithin Ramakrishnan posted this 4 weeks ago

Hi,

I am getting an error "The chosen file is locked, is not a valid .NET assembly or one of its dependencies could not be loaded" while trying to reference a .Net assembly from doccentric addin from microsoft word. I am using version 6.1. It was working fine and suddenly started showing this error.

Any assistance can provide would be greatly appreciated.

Thanks Nithin

Last edited 4 weeks ago

3 Posts
3 Points
6 Comments
Order By: Standard | Newest | Votes
0
jles posted this 4 weeks ago

Hi Nithin,

Thank you for reporting the issue. Could you please tell me: is this a .NET Framework, .NET Standard or .NET Core assembly?

Thanks, Jure

134 Posts
261 Points
0
Nithin Ramakrishnan posted this 4 weeks ago

Hi Jure, This in .NET Framework version 4.7.2

Thanks Nithin

3 Posts
3 Points
0
jles posted this 4 weeks ago

Hi Nithin,

.NET Framework assemblies should work, since the Add-In itself is .NET Framework. It could be connected with dependencies. Could it be possible that the Add-In does not have rights to access the target location? Or, are you accessing a network drive? Try to access the assembly from a local disk location.

Could you also try to remember what has changed in your environment from the last time when this was still working fine? It would be great if you have a chance to try to reproduce this issue in any other machine.

If nothing works, could you please send me the DLL so that we try to reproduce the issue on our end?

Regards, Jure

134 Posts
261 Points
0
Nithin Ramakrishnan posted this 4 weeks ago

Jure, Actually it works in some of my colleagues machine, but some facing the same locking issue. we are accessing it from local path itself which contain all dependencies. we couldn't figure out what is the issue. when we tried to import different assembly, its works fine. only causing this issue for that particular assembly.

Thanks Nithin

3 Posts
3 Points
0
jles posted this 4 weeks ago

Nithin,

It is really hard to say what is going on.

  • Is there a chance for you to find the difference between these environments? Perhaps different versions of .NET Framework?
  • Can you try to load these assemblies on the machine where you are experiencing this issue from a folder that the Add-In has read permissions? Could you also run Word as Admin and try to reproduce the issue?
  • Has anything changed recently in your company IT-wise? Like changed security policy, etc?

Thanks, Jure

134 Posts
261 Points
0
jles posted this 2 weeks ago

Hi Nithin,

You haven't got back. Did you solve this problem on your own? Let me know.

Thanks, Jure

134 Posts
261 Points

Our 50242 members have posted 299 times in 88 discussions