473,698 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Manifest related error on windows xp sp2 machine


Hi.

I got the following error while running an exe made in visual studio 2k5c++
(all native unmanaged)

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Error!

Program: D:\Otengo\dlls\ winproj.exe

R6034

An application has made an attempt to load the C runtime library without
using a manifest.
This is an unsupported way to load Visual C++ DLLs. You need to modify your
application to build with a manifest.
For more information, see the "Visual C++ Libraries as Shared Side-by-Side
Assemblies" topic in the product documentation.

(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------

The machine I'm trying to run this on is a windows XP with sp2.

At first I was running this application as a "release" exe with the required
dlls, but the application was crashing. Then I tried to run a debug version
and got the error mentioned above. How do I solve this problem?

Regards,

-Ab.
Mar 9 '06 #1
7 6167
>I got the following error while running an exe made in visual studio 2k5c++
(all native unmanaged)

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Error!

Program: D:\Otengo\dlls\ winproj.exe

R6034


http://msdn2.microsoft.com/en-us/library/ms235560.aspx

Under your VC installation directory, you may find:

%ProgramFiles%\ Microsoft Visual Studio 8\VC\redist

and beneath that directories appropriate for your platform.

Copy the appropriate Microsoft.VC80. DebugCRT sub-directory to the
place where your application is so that you get a directory like this:

c:\....\YourApp Dir\Microsoft.V C80.DebugCRT

... and do the same for any other dependent DLLs (MFC maybe)

and then your debug application should run.

Dave
Mar 9 '06 #2
And what about the release application? My main purpose is to run the
"release" build app.

Ab.

"David Lowndes" <Da****@example .invalid> wrote in message
news:j6******** *************** *********@4ax.c om...
I got the following error while running an exe made in visual studio 2k5c++(all native unmanaged)

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Error!

Program: D:\Otengo\dlls\ winproj.exe

R6034


http://msdn2.microsoft.com/en-us/library/ms235560.aspx

Under your VC installation directory, you may find:

%ProgramFiles%\ Microsoft Visual Studio 8\VC\redist

and beneath that directories appropriate for your platform.

Copy the appropriate Microsoft.VC80. DebugCRT sub-directory to the
place where your application is so that you get a directory like this:

c:\....\YourApp Dir\Microsoft.V C80.DebugCRT

.. and do the same for any other dependent DLLs (MFC maybe)

and then your debug application should run.

Dave

Mar 10 '06 #3
> And what about the release application? My main purpose is to run the
"release" build app.


with release build you will have to distribute the release runtime dlls or
link against the static runtime libraries.
there is an article about runtime distribution over here:
http://www.codeproject.com/cpp/vcredists_x86.asp

--

Kind regards,
Bruno.
br************* *********@hotma il.com
Remove only "_nos_pam"
Mar 10 '06 #4
I guess VC\redist\x86\M icrosoft.VC80.C RT will help right ?

Ab.

"Abubakar" <em**********@y ahoo.com> wrote in message
news:O7******** ******@tk2msftn gp13.phx.gbl...
And what about the release application? My main purpose is to run the
"release" build app.

Ab.

"David Lowndes" <Da****@example .invalid> wrote in message
news:j6******** *************** *********@4ax.c om...
I got the following error while running an exe made in visual studio 2k5c++(all native unmanaged)

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Error!

Program: D:\Otengo\dlls\ winproj.exe

R6034


http://msdn2.microsoft.com/en-us/library/ms235560.aspx

Under your VC installation directory, you may find:

%ProgramFiles%\ Microsoft Visual Studio 8\VC\redist

and beneath that directories appropriate for your platform.

Copy the appropriate Microsoft.VC80. DebugCRT sub-directory to the
place where your application is so that you get a directory like this:

c:\....\YourApp Dir\Microsoft.V C80.DebugCRT

.. and do the same for any other dependent DLLs (MFC maybe)

and then your debug application should run.

Dave


Mar 10 '06 #5
I place these folders there for debug application and it doesnt run.

Ab.

"David Lowndes" <Da****@example .invalid> wrote in message
news:j6******** *************** *********@4ax.c om...
I got the following error while running an exe made in visual studio 2k5c++(all native unmanaged)

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Error!

Program: D:\Otengo\dlls\ winproj.exe

R6034


http://msdn2.microsoft.com/en-us/library/ms235560.aspx

Under your VC installation directory, you may find:

%ProgramFiles%\ Microsoft Visual Studio 8\VC\redist

and beneath that directories appropriate for your platform.

Copy the appropriate Microsoft.VC80. DebugCRT sub-directory to the
place where your application is so that you get a directory like this:

c:\....\YourApp Dir\Microsoft.V C80.DebugCRT

.. and do the same for any other dependent DLLs (MFC maybe)

and then your debug application should run.

Dave

Mar 10 '06 #6
>I place these folders there for debug application and it doesnt run.

"Doesn't run" isn't very informative.

Do you get any errors messages now?

Dave
Mar 10 '06 #7
Hey the problem is solved. The folder copy that you suggested worked! (Just
so it can help someone in the future I'm writing here what I did):

Dev Environment: I'm running an application that uses WTL for gui, and I'm
building (developing) on visual c++ 2005 (all unmanaged/native) on windows
2000 sp4.

Now I have a fresh "release" build. My "exe" depends on (check through
depends.exe):
1 - cpplib.dll (this is my own dll)
2 - msvcp80.dll
3 - msvcr80.dll

My test machine1 is a new install of windows xp with sp2. The vs.net
installation has never been run on that machine.
I create a new folder (lets call it "testdir") and copy winproj.exe (my
application that I want to test) and cpplib.dll to it. Next I goto:
\Microsoft Visual Studio 8\VC\redist\Deb ug_NonRedist\x8 6\
and copy "Microsoft.VC80 .DebugCRT" folder to the folder "testdir". So now my
folder hierarchy look like following:
? cpplib.dll
? winproj.exe
?
????Microsoft.V C80.CRT
Microsoft.VC80. CRT.manifest
msvcm80.dll
msvcp80.dll
msvcr80.dll

Now I try to run the winproj.exe and it runs just fine!
Now I want to try this on another test machine that has a never installed
visual studio on it and is running windows 2000. I copy the same folder
hierarchy and the run the exe but it fails to run. Now I change the folder
hierarchy a little bit. What I do is copy every file in the same folder as
my exe file, so the manifest and the dlls and the exe are all at the same
location. Now i try to run the exe and it runs. This hierarchy now also runs
on windows xp. So I have one dsitributeable and any one can xcopy it and
run.

Regards n thanks,

-Ab.
"David Lowndes" <Da****@example .invalid> wrote in message
news:ec******** *************** *********@4ax.c om...
I place these folders there for debug application and it doesnt run.


"Doesn't run" isn't very informative.

Do you get any errors messages now?

Dave

Mar 13 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
6293
by: Nick Malik | last post by:
Instead of posting a problem, I will post a solution to a problem that I've seen posted many times. One which I just hit and solved. I've been using signed assemblies (have to... they are called by Biztalk over a COM Interop layer). Along the way, I changed one of the assemblies that my system depends on, and started getting the following error: General Information
3
3231
by: Jonathan Payne | last post by:
Hi, I am interested in adding a manifest file to the resources for a MFC application. When I create an AppWizard MFC app with a manifest file it adds the following lines to the .rc file: #ifdef _UNICODE IDR_MANIFEST RT_MANIFEST "res\\TestManifest4.manifest"
0
1326
by: mb | last post by:
Hi I am working on a small helper tool to our main application. The tool uses SQLDMO to connect to the SQL Server 2000 database and allows us to cofigure the users who are allowed to use our main application and some other tasks. It is a .Net app developed in C# on Windows XP. I wanted to use visual styles to make this application look like an XP app. For doing that I need to use a manifest file. The manifest file looks like the...
2
1624
by: paulg | last post by:
I ran into a minor problem trying to deploy a .NET project. The project interfaces with a database on a server, and works fine from my local machine. Anyhow I get an (assembly not found) error. I copied over the aspx files along with the bin directory that contains the dlls. Wondering if I need to copy the web.config file over as well? I think at run time you basically just have webform.aspx and a temp.dll files that provides output...
3
1844
by: Brian Henry | last post by:
I get an error with .NET 2.0 saying the manifest file is invalid for my archatecture (x86-64bit) it is the same one i used on my old machine x86-32bit, but it is set up for the 6.0 controls in 32bit only...so i cant set the files to compile to "any cpu" i have to set it to "x86" only... if at any cpu if fails to start at a manifest error (and im not going to use the app framework this is a converted app that is huge and doesn't need...
3
2383
by: RossettoeCioccolato | last post by:
Is there a brief tutorial somewhere on how to use the VC8 linker to generate a manifest for an isolated application with a dependency section for an arbitrary dll? There are some implementation details that I don't understand. Supposing I want to bind my application to a specific version of kernel32.dll using a hash, for example? What hash is used? Is it the hash generated by the CryptCATAdmin* functions or just a simple hash of the...
0
1986
by: =?Utf-8?B?SmFtZXM=?= | last post by:
I'm stuck with the following error... Does anyone know how to correct the reference? I've not idea why it is referencing 'Copy of...' Server Error in '/Client1' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file
0
1385
by: JB | last post by:
I have an ASP project written years ago that I have recently started to try and update. It was written by someone who used to work here before me, and the source code I have is in a major mess. There is just one (of many) DLL file that once I recompile I get the error mentioned above. The located assembly's manifest definition with name '.....' does not match the assembly reference (see snippet for full detail).
2
5138
by: Febria | last post by:
Dear, all... I have some problem with my application. I used UltraWebGrid component in my web application. Unfortunately, when I tried to run the web, the error page displayed: The located assembly's manifest definition with name 'Infragistics.WebUI.UltraWebGrid.v3' does not match the assembly reference. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for...
0
8671
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8598
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9152
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9016
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5858
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2321
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.