Plugin Not Running On Some Computers

Plugin Not Running On Some Computers

structure1EKNKU
Enthusiast Enthusiast
333 Views
1 Reply
Message 1 of 2

Plugin Not Running On Some Computers

structure1EKNKU
Enthusiast
Enthusiast

Hi.

 

I have a plugin written in C# which is given to the end-users as a ZIP with *.dll, *.addin, and some config files depending on the plugin itself. On some computers (about 5% of the users with no clear difference between other users, I mean: they use the same versions of Revits as the others, the same versions of Windows, etc.) there is a problem while launching Revit after copying the plugin files to the proper directory (I am not citing word by word because it's originally in Polish):

 

The Revit program is unable to run the external application.

 

System.IO.FileLoadException

 

Either the file or one of its dependencies may not be loaded. Exception: HRESULT: 0x80131515

 

I cannot reproduce this error on my machine and I have no idea how to handle it. Please help!

0 Likes
334 Views
1 Reply
Reply (1)
Message 2 of 2

Mohamed_Arshad
Advisor
Advisor

HI @structure1EKNKU 

 

     This is load exception error, you need to unblock the dll once you extracted .Zip file. Kindly refer the below link to unblock the files.

 

URL : https://www.limilabs.com/blog/unblock-dll-file 

 

Hope this will helps 🙂

 


Mohamed Arshad K
Software Developer (CAD & BIM)

0 Likes