Could not load file or assembly or one of its dependencies. Access is denied

Add-in Express™ Support Service
That's what is more important than anything else

Could not load file or assembly or one of its dependencies. Access is denied
Excel addin cannot load 3d party UI library during startup 
Sergey Chizh




Posts: 73
Joined: 2012-10-23
Good morning!
We have a problem with one of our customers, who are using Terminal server.
Conditions:
1. AddIn is installed per Machine
2. All users have Read, Read & Execute permissions on folder , where AddIn is installed.
3. Administrator has Full Permissions to the folder

When user (not Administrator) start Excel and press "New workbook", he gets an exception message (See picture)
https://www.dropbox.com/s/uub7636scd4dy36/Screenshot.png?dl=0
When user closes Excel and starts again, this time exception is not shown.

When Administrator does the same steps, AddId starts as expected.

Do you have any idea why it happens? Windows security issue? Apparently it started occurring suddenly, and we haven't introduced any changes up until that date (no patch or upgrade).
Thank you!
Posted 19 Mar, 2015 03:45:48 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Sergey,

The screenshot mentions a specific DLL. You can check if the end user is able to access this DLL. You can write a small program to check this. I suppose this relates to deploying this DLL (or dependent DLLs). Did you change the way you deploy it (them) recently?


Andrei Smolin
Add-in Express Team Leader
Posted 19 Mar, 2015 06:36:26 Top
Sergey Chizh




Posts: 73
Joined: 2012-10-23
Hello Andrei,

OK, I'll write test application and let you know the result.
No, the way we deploy it is unchanged for many years and as I wrote before it worked, but then stopped without our intervention.
Posted 19 Mar, 2015 06:58:04 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
I'd also check if they've changed something in the environment in which the add-in runs.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Mar, 2015 07:06:18 Top