side-by-side

Manifest issue with IE and activeX application

hi all, I'm facing the following configuration: IE loads c++ activeX (LOADER application that loads c# COM ActiveX (EXECUTOR) that using reflection starts c# UI application (the main application) that uses some legacy c++ COM dlls. I'm trying to avoid registration of these legacy c++ COM (I want to use manifest). But with no success. ...

website intermittently available - application pool 1.1 and 2.0 issue

I was having a problem with my .NET 1.1 website which was hard to track down. The default page would show up but when the user entered credentials, it would just be as if nothing happened and the default page would be re-loaded again, without any error messages (although the code behind is trapping errors and also my Global.asax is catch...

SideBySide error on another computer with MSVC++ 2005 installed

I'm having some strange issues building and running a project on another computer. It's a side-by-side error. Usually the cause is that c++ redistributable is not installed on the machine etc. However in this case the project is compiled on that machine. MSVC++ 2005 is installed, the runtimes should be there (I installed the runtime ...

XBAP uses unmanaged c++ COM server, Side by side deployment issue

Hi I'm facing a the following situation: I created a simple full trust XBAP application that refers to unmanaged c++ COM server (isolated). After deployment I expect that XBAP application will discover the COM server dll that is placed in the same directory, but it is not. I'm getting the following error: Exception has been thrown by ...

How to add manifest to a .NET DLL?

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 ...

Side-By-Side COM Interop with C# and VBA

I'm not talking about calling a VBA COM from C#... the other way around! What I would like to do is call a C# library using VBA in MS Access without registering the DLL. I've been playing around with side-by-side interop for a while without success and it has finally occurred to me that a mdb.manifest is probably not an acceptable repla...

Side by Side error running Qt Creator

On Vista Ultimate (No SP), I installed Qt Creator 1.3 from Nokia, using the Windows Binary installer. When I tried running it, I got a side-by-side error saying: "The Application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail." The Event Viewer Logs showed: "...

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

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 ...

Wordpress Posting News Items Side By Side, Not Stacked

Hi everyone. I am designing a site with wordpress. My index page keeps posting news items side by side, and nomatter how I try to modify my code, it will not place a break between the two. To see what I mean, visit www.acacians.net. Here is the chunk of code in my template that controls the "News Post" portion of the page: <table wi...

Private Unmanaged Side by Side Assembly Problem

We have a large MFC application that uses a number of DLLs. So far we have been using vcredist_x86.exe to install MFC and the CRT into the unmanaged side by side assembly cache (C:\Windows\WinSxS). When MFC/CRT is installed in this way, the application runs (on a clean XP machine). According to the MSDN documentation, you can install MF...

Need insight into how manifest is being generated for C++ program

When I run an executable that I built, I get the following error: The system cannot execute the specified program My immediate thought was that it was a dependency problem with one of the VC8.0 re-distributable DLLs (msvcr80d.dll et al.). We have had a few problems with patched versions of these DLLs affecting our programs. When I...

Programmatically grabbing DLL manifest information with Python or other common scripting language / tool.

Hi, I am having a problem like this one: http://svn.haxx.se/tsvnusers/archive-2008-07/1051.shtml Except that the app is our own (sorry, won't give you confidential details). Although, it is not our fault that SideBySide is so flawed. Anyhow, version X works and version Y bombs right at the start. I am facing the task of walking throug...

XP Deploying issues due to msvcr90.dll trying to load FlsAlloc

I have an application build with VS2008 SP1a (9.0.30729.4148) on Windows 7 x64 that does not want to start under XP. The message is The application failed to initialize properly (0x80000003). Click on OK to terminate the application.. I checked with depends.exe and found that msvcr90.dll does try to load FlsAlloc from KERNEL32.dll - and...

Is possible to make mt.exe embed manifest files correctly in Visual Studio 2008?

I found that mt.exe fails to correctly create and embed manifest files into executables when run inside a VCPROJ. For example the same executable load well on Windows 7 but failed to load on Windows XP. The manifest was embedded and correct. The place where it fails is inside crtlib.c: if (!(*pfnFindActCtxSectionStringW)(0, NULL, ACT...

Problem using ‘useLegacyV2RuntimeActivationPolicy’ & supportedRuntime in an application

Hello, I've modified a couple of different applications' .config file like this: <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup> When I did this for devenv.exe.config (VS 2005 - don't ask :) ), things work great - most of the Visual Studio used .NET 2.0 but I was able to make use...

Is it possible to load an assembly targeting a different .NET runtime version in a new app domain?

Hello, I've an application that is based on .NET 2 runtime. I want to add a little bit of support for .NET 4 but don't want to (in the short term), convert the whole application (which is very large) to target .NET 4. I tried the 'obvious' approach of creating an application .config file, having this: <startup useLegacyV2RuntimeActiv...

Windows Live Writer plugin with .NET 4

Has anyone written a plugin for Windows Live Writer that runs against .NET 4? I've read the .NET 4 introduces side-by-side running, so one part of the app can target .NET x and another part can target .NET 4. I thought WLW would be a good starting point to try this as previously it only supported plugins up to .NET 2. But my .NET 4 pl...

.NET 4 side by side problem

If the host program is compiled with .NET 4, but a referenced dll is .net 3.5. Then the target deploy machine need to install both .net 4 framework and .net 3.5 framework runtime? ...

Can I use manifests to consume a COM server without specifying its version?

Two of our programs use the same COM server (also made by us) with the same class ids. Each program when installing copies the COM server files into its folder and regsvr32s the COM server. The problem is how to install the COM server so that the user can install either one or both of our programs into different folders in any order and...

Can I use manifests to specify an optional dependency on a COM server?

I'd like to use manifests to specify a dependency on a COM server (reg-free COM). The consumer application will mostly work fine without the COM server - only something like 1,7% of its functionality uses the COM server. So with plain old regsvr32 it would start and work fine until the user would do something that would trigger CoCreate...