Advertisement

01.26.2006 at 08:36AM PST, ID: 21711425
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Error - "side-by-side configuration" on Win XP
Tags: side, error, configuration
I have an MFC app (Visual Studio 2005).
It runs perfectly on a Win 2000 test PC.
On a Win XP test PC I get an error referring to "side-by-side configuration information"

Basically the app won't start on XP.  Using depends I get a bit more info referring to the above problem


I'm stumped.  I can't find what this side-by-side configuration is in help.
Ideas as to what is going wrong and more importantly how to fix it?
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: AndyAinscow
Solution Provided By: AndyAinscow
Participating Experts: 1
Solution Grade: A
Views: 388
Translate:
Loading Advertisement...
01.26.2006 at 10:05AM PST, ID: 15797625

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.26.2006 at 10:06AM PST, ID: 15797631

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.26.2006 at 10:28AM PST, ID: 15797861

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.26.2006 at 10:37AM PST, ID: 15797945

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.26.2006 at 11:24AM PST, ID: 15798424

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.26.2006 at 12:04PM PST, ID: 15798839

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.26.2006 at 11:39PM PST, ID: 15802806

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.27.2006 at 05:40AM PST, ID: 15804555

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.27.2006 at 06:23AM PST, ID: 15804870

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.27.2006 at 07:12AM PST, ID: 15805254

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.27.2006 at 08:32PM PST, ID: 15810935

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.27.2006 at 11:41PM PST, ID: 15811350

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.01.2006 at 01:17AM PST, ID: 15841622

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.01.2006 at 05:16AM PST, ID: 15842792

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.03.2006 at 07:40AM PST, ID: 15864292

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.06.2006 at 05:22AM PST, ID: 15882357

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.27.2006 at 02:09AM PST, ID: 16053992

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.23.2006 at 10:51AM PST, ID: 16272716

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.27.2006 at 04:35AM PST, ID: 16299593

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
01.26.2006 at 10:05AM PST, ID: 15797625
from event log.

Generate Activation Context failed.
 
01.26.2006 at 10:06AM PST, ID: 15797631
specifically error
ERROR_SXS_CANT_GEN_ACTCTX
 
01.26.2006 at 10:28AM PST, ID: 15797861

Rank: Guru

Set "NO" to "Embed Manifest" setting in "Input and Output" section of "Manifest Tool".
Take a look at this
http://channel9.msdn.com/ShowPost.aspx?PostID=23261
 
01.26.2006 at 10:37AM PST, ID: 15797945
To try to simplify matters (actual app has a number of dll's / threads ...) I have created a simple dialog based app to test.
That fails with the same error.

I have done as you suggested and now have a different error (with the simple dlg based app).
Application failed to initialise properly (0x80000003).  Click OK to terminate the application.
 
01.26.2006 at 11:24AM PST, ID: 15798424
I think I have found it.
I need to distribute some more (VC runtime / MFC runtime manifest?) files (things like the VC80.CRT directory contents - depends.exe didn't flag them as missing).
Just copying that directory and the app will run correctly with the Embed Manifest set to yes.  (Set embed manifest to no and it fails - maybe in that instance I would need to distribute the manifest file for the app as well).
Accepted Solution
 
01.26.2006 at 12:04PM PST, ID: 15798839

Rank: Guru

Interesting. I thought your issue more matched with the discussion in that link.

I am surprised depends.exe missed them.
 
01.26.2006 at 11:39PM PST, ID: 15802806
I've got to do some more testing today.
The link looks relevant, I'm surprised that it didn't work in my case as it apparently did in that link for the *same* error.
 
01.27.2006 at 05:40AM PST, ID: 15804555
I've tried it now with XP + SP2 and the installation works.  I was just missing the .manifest files for the MFC/MSVCRT components in the installation.
 
01.27.2006 at 06:23AM PST, ID: 15804870

Rank: Guru

I am just wondering if this has to do something with the application packaging. I understand that the following steps are required when building the setup for side by side assemblies.

Creating an Installation for a Side-by-Side (Win32) Assembly

A Side-by-Side (Win32) Assembly usually consists of a single Side-by-Side Portable Executable (.EXE, .DLL, .OCX, etc …) and its accompanying .MANIFEST file. Side-by-Side components only operate Side-by-Side on Windows XP, so you must take special care to author your installation to work on down-level platforms if you intend to support them. Side-by-Side components can be configured to be installed isolated to the application or to the Global Assembly Cache.

These are the steps required to create a component for a Side-by-Side Assembly:

Step 1:
Create a new project or open your currently existing project in InstallShield Developer 7.0
Note: Be sure to create an Install Condition in your Product Properties if your Side-by-Side components don’t support down-level platforms.

Step 2:
In the Setup Design view, create a component to hold your side-by-side assembly.

Step 3:
Add all the files belonging to the assembly to the component’s file list.
Note: If you don’t set a key file, InstallShield will automatically set the .MANIFEST file as the key file in the next step.

Step 4:
In the Advance Settings of the component right-click on the Assembly node and select “New .Win32 Assembly”

Step 5:
After selecting the Win32 Assembly node examine the properties. You’ll see that your .MANIFEST file has automatically been selected as the Manifest file.
Note: If you plan to target down-level platforms, be sure to include all the COM data that is part of your assembly in the COM Registration section of the component’s Advanced Settings view. You can also use InstallShield’s “extract COM information at build” or “component wizard” functionality to automatically extract the required COM data for down-level platforms. Note that on Windows XP this information will be ignored and the manifest data will be used instead.

Step 6:
Select whether you want the Assembly to be installed to the Global Assembly Cache or not by setting the “Global Cache” property.
Note: Your Assembly must be properly signed in order to be correctly installed into the Global Assembly Cache. See the Windows Platform SDK for more information.

Step 7:
Set the Name, Type, and Version properties. These values must be copied exactly as they appear in the assembly manifest. If your assembly contains other properties, you may add them by clicking on the last row of the property list for your assembly.

 
01.27.2006 at 07:12AM PST, ID: 15805254
I'll have to study this.

(I didn't even realise I was creating a side-by-side app.  I have gone from VS 6 -> VS 2005 and just did what I would normally do for an MFC based app.)
 
01.27.2006 at 08:32PM PST, ID: 15810935
A request to delete this question has been asked in the Community Support TA.
If there are no objections from the participating experts this question will be deleted/refund points in 4 days by myself or another moderator.

kb
Experts Exchange Moderator
 
01.27.2006 at 11:41PM PST, ID: 15811350
Please wait - I posted that request prior to the last comment from lakshman_ce
 
02.01.2006 at 01:17AM PST, ID: 15841622
Sorry for the delay - I've been out of the office for a couple of days.
I'll try to find time to study/comment soon.
 
02.01.2006 at 05:16AM PST, ID: 15842792

Rank: Guru

Take your own time. :)
 
02.03.2006 at 07:40AM PST, ID: 15864292
I've read your comment.  I think it is a little off topic but could be interesting.
(Actually I will be using Wise installer.)

I am still puzzled by this side by side configuration.  Specifically what it is.  I hadn't met this until this error appeared.  (I have just upgraded from VS6 to VS 2005).

With Visual Studio 6 one would install an app (C:\program files\MyApp\Foo.exe) and supporting MFC dlls go into the system directory.  That could result in problems during installation (no write access to system dir) and/or other apps breaking (overwriting of dll by another version - the socalled dll hell).

As I understand it the MFC support dll's are not now considered system files so one *should* install them into the same directory as the app.

So a question.
Is the installation of the support dlls into the application directory a 'side by side configuration' wheras the dlls into the system directory is not ?
 
02.06.2006 at 05:22AM PST, ID: 15882357

Rank: Guru

>>Is the installation of the support dlls into the application directory a 'side by side configuration' wheras the dlls into the >>system directory is not ?

If specific version of support dlls are needed for the application,these can be installed along with the application in app directory and it can use application isolation method for these dlls so that it wouldn't matter to the version installed in the system directory.

Side by side configuration issues might raise even if the dlls go into application directory but not isolated.


Guidelines for creating side by side assemblies is at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sbscs/setup/guidelines_for_creating_side_by_side_assemblies.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sbscs/setup/should_you_provide_a_shared_component_as_a_side_by_side_assembly.asp

 
02.27.2006 at 02:09AM PST, ID: 16053992
I've requested this to be PAQ'd.
I think the solution to the probelm I found is worth keeping.

The links re Guidelines for creating side by side assemblies is at
I don't require a side by side assembly - it is a 'simple' app not to be used by other components/apps.
 
03.23.2006 at 10:51AM PST, ID: 16272716
A request has been made to delete or close this question; if there are no objections within four days, the request will be granted.

EXPERTS: Please leave your thoughts on the disposition of this question here.

Recommendation: PAQ/refund

Netminder
Site Admin
 
03.27.2006 at 04:35AM PST, ID: 16299593
PAQ'd and 500 points refunded

AnnieMod
Cleanup Admin
 
 
20080236-EE-VQP-29