title: Could not load file or assembly stdole
body: <p>Just installed VS2015 side by side with VS2010...</p>
  
  <p>Application in issue was built using VS2010 (set to use .Net 4.0) (not migrated to VS2015) worked fine on my machine, put it on server and fell over in a heap...
  stdole was the issue...</p>
  
  <p>In the error Windows Logs > Applications there was an exception:</p>
  
  <pre><code>Exception information: 
  Exception type: ConfigurationErrorsException 
  Exception message: Could not load file or assembly 'stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
     at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
     at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
     at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
     at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
     at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
     at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean&amp; isRefAssemblyLoaded)
     at System.Web.Compilation.BuildManager.ExecutePreAppStart()
     at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
  
  Could not load file or assembly 'stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
     at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
     at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
     at     System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection)
     at System.Reflection.Assembly.Load(String assemblyString)
     at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
  
  Could not load file or assembly 'stdole' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
  
  Stack trace:    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
     at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
     at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
     at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
     at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
     at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean&amp; isRefAssemblyLoaded)
     at System.Web.Compilation.BuildManager.ExecutePreAppStart()
     at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
  </code></pre>
  
  <p>Looked at reference to stdole and it was to the GAC and to a Version: 2.0.0.0</p>
  
  <p>The bitness of nothing has changed.</p>
  
  <p>Where on earth has this error come from?</p>