side-by-side

Side-by-side configuration error (Microsoft.VC80.CRT v8.0.50608.0)

人盡茶涼 提交于 2019-12-01 05:36:45
I have an assembly with the following manifest embedded: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> </assembly> On one of my machines this assembly doesn't work (the assembly fails to load). Opening this in dependency walker gives me the following error message: Error: The Side-by-Side configuration information for "SomeAssembly.dll"

Is there a way for registration free activation of EXE COM components

纵然是瞬间 提交于 2019-12-01 04:56:41
问题 Is there a way to activate a COM component which is an EXE COM application and also it's dependent COM dlls? I want to activate this COM component from .NET application(VS 2005/VS 2008). The path of call is C# application --> invoking out-of-proc exe(this is through COM) and then this out-of-proc invokes few COM dlls 回答1: Reg-free COM does not work for out of process components. ActiveX EXE and ActiveX Document project types cannot be used with Reg-Free COM, as discussed in the sidebar.

Visual Studio 2012 Side by side configuration is incorrect

我是研究僧i 提交于 2019-11-30 11:45:19
When I run Visual Studio 2012 Professional I get a side by side configuration error message. Message: "C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the commande-line sxstrace.exe tool for more detail." Event log: "Activation context generation failed for "C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe". Dependent Assembly coloader80.dll,processorArchitecture="X86",type="win32",version="1.0.0.0" could not be found.

How to add manifest to a .NET DLL?

流过昼夜 提交于 2019-11-30 08:22:47
问题 I have a c# class library project that uses a COM dll registered on the system. I now want to deploy the COM dll as a side-by-side assembly, so I don't have to register it, or interfere with other applications that might use a different version of the dll. I have added app.manifest to the c# project using the add new item menu, but I'm not sure what to do next. In the project properties/application/icon and manifest, the manifest drop down is disabled. I don't know how to get past that. I've

Visual Studio 2012 Side by side configuration is incorrect

Deadly 提交于 2019-11-29 17:42:01
问题 When I run Visual Studio 2012 Professional I get a side by side configuration error message. Message: "C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the commande-line sxstrace.exe tool for more detail." Event log: "Activation context generation failed for "C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe". Dependent

Migrating legacy ASP.NET to MVC 2 (RC): HttpApplication events not firing, User principal is null

被刻印的时光 ゝ 提交于 2019-11-29 15:23:59
Problem I am trying to take an existing ASP.NET web application and manually migrate it over to use MVC 2 (I am currently running the RC). I followed several steps (I'll list in a moment) and seemed to have it working, but then I noticed I can't set the AuthorizeAttribute because User is null on the controller. Then I noticed that when I navigate to an action, none of the HttpApplication's usual lifecycle events are being raised (such as BeginRequest, etc.). I figure that's probably related to why User principal is null. The web host is a local IIS7 instance (on my Vista workstation). I

How to add manifest to a .NET DLL?

橙三吉。 提交于 2019-11-29 06:32:19
I have a c# class library project that uses a COM dll registered on the system. I now want to deploy the COM dll as a side-by-side assembly, so I don't have to register it, or interfere with other applications that might use a different version of the dll. I have added app.manifest to the c# project using the add new item menu, but I'm not sure what to do next. In the project properties/application/icon and manifest, the manifest drop down is disabled. I don't know how to get past that. I've added a manifest file, why is it not in the dropdown list? I have a manifest for the COM dll that works

Which tags are required in the manifest for registration free COM?

▼魔方 西西 提交于 2019-11-28 21:30:07
TL;DR Do all registry entries produced by regsvr32 need to be present in a SxS reg-free-COM manifest and vice versa? I'm trying to get registration free COM going for a third party component. Reading up on the subject, I find that there are several elements mentioned, that can be put into a manifest: From the docs , we can add the following tags to a manifest to describe a COM component: assemblyIdentity - which really just describes the "abstract assembly " as far as I can tell comClass - describes the COM class (IID Interface). It would appear, this is always needed. typelib - when?

Migrating legacy ASP.NET to MVC 2 (RC): HttpApplication events not firing, User principal is null

岁酱吖の 提交于 2019-11-28 08:47:58
问题 Problem I am trying to take an existing ASP.NET web application and manually migrate it over to use MVC 2 (I am currently running the RC). I followed several steps (I'll list in a moment) and seemed to have it working, but then I noticed I can't set the AuthorizeAttribute because User is null on the controller. Then I noticed that when I navigate to an action, none of the HttpApplication's usual lifecycle events are being raised (such as BeginRequest, etc.). I figure that's probably related

Why installing vcredist_x86.exe doesn't fix SideBySide error when I develop an EXE on one machine and run it on another one?

谁说胖子不能爱 提交于 2019-11-28 03:27:55
Issue I wrote a C++ project called 'Foo' using Microsoft Visual Studio 2005 Verison 8.0.50727.762 (SP.050727-7600) on Windows XP Professional Version 2002 Service Pack 3. I built the project into Foo.exe. Then, I copied the file Foo.exe to a Windows Server 2003 Enterprise Edition Service Pack 2. When I tried to run it, it failed with this error, C:\foo.exe The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem. In Event Viewer > System, three events were logged. Event ID: 32; Source: SideBySide Dependent Assembly