Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Program looking for *.resources.(dll|exe) files with no apparent reason

$
0
0

Hello all,

 I have an .NET executable that loads some .NET assemblies using reflection. It works fine most of the time, but at one of our clients, whose users connect to the same machine via Citrix, it fails to start with the following exception: "Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0...' failed."

When starting it on the machine directly, everything is OK.

While investigating the issue, their admin intercepted QueryOpen and CreateFile operations on our program's behalf with <assembly>.resources.dll
<assembly>.resources.exe, where <assembly> is one of the libraties our program accesses via reflection.

 It was quite a surprize for me because neither of these files are present at the client. They are not generated during build, so it was in that log that I saw them for the first time. We do not use any localization or generate satellite assemblies...

Do you have an idea as to why the program is looking for these files?



Viewing all articles
Browse latest Browse all 1710

Trending Articles