We are intermittently seeing the following exception shortly after an App Pool recycle in an ASP.NET application: System.Configuration.ConfigurationErrorsException: Could not load file or assembly 'Microsoft.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) ---> System.IO.FileLoadException: Could not load file or [...] read more
I am trying to load an Assembly into a restricted AppDomain. If I do not specify any restrictions, the Assembly will load correctly: var permissionSet = new PermissionSet(System.Security.Permissions.PermissionState.Unrestricted); AppDomain targetAppDomain = AppDomain.CreateDomain("LockedDomain" + Guid.NewGuid().ToString("N"),null,domainSetup,permissionSet,null); var instance = (IRemoteFilterClass) targetAppDomain.CreateInstanceFromAndUnwrap(tempAssemblyPath, "CompiledCode.CompiledClass"); Howevere I want to lock down the created AppDomain as [...] read more
I get following error while running my winform project, though all the reference are added in the project.. Does anybody has solution for it Could not load file or assembly 'UltraControl, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) read more
When i am running the report, it is supposed to access a custom assembly (which is not signed), But i am getting the below error. Failed to load expression host assembly. Details: Could not load file or assembly "xxxxxxx, Version=6.0.0.1, Culture=neutral, PublicKeyToken=null" or one of its dependencies. Failed to grant [...] read more
We recently upgraded our report server to 2016 and everything worked great except for the reports that contain barcodes. I tried going back through the same article I used the first time we started using barcodes but so far I have not had any luck. I am getting this error: [...] read more
I just create a VSTO second edition project for Word AddIn and build the Setup project. After installed, the error was detected: Could not load file or assembly 'WordAddIn1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) ************** Exception Text [...] read more
I am encountering a strange build issue in .NET 3.5. The compiler is crashing when it attempts to build a Web Deployment Project. > C:\Program > Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(531,9): > error MSB6006: "aspnet_compiler.exe" exited with code -532459699. Which leads to: > Could not load file or assembly 'aspnet_compiler, Version=2.0.0.0, > Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [...] read more
Intermittently we'll get errors like these from our .NET 3.5 web applications: Exception: System.Configuration.ConfigurationErrorsException: Could not load file or assembly 'itextsharp, Version=4.1.2.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) (C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\web.config line 59) ---> System.IO.FileLoadException: Could not load file or assembly [...] read more
I am developing a simple Outlook 2003 add-in using VSTO 2008. Everything works fine on development environment. But when I try to install the addin it gives following load error. I think there is some security related issue. Please help me in resolving this issue. Could not load file or [...] read more
I am receiving the following exception trying to browse a medium trust ASP.NET MVC application (using Linq-to-SQL) on Cassini 3.5.0.2: Could not load file or assembly 'Cassini, Version=3.5.0.2, Culture=neutral, PublicKeyToken=da0fefd60d522a7d' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) with an inner exception: Execution [...] read more
I have a .Net 3.5 application compiled in VS2008 that when run after a Debug compile gives me the following error: Could not load file or assembly 'MyProgram, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) The same program when [...] read more