473,837 Members | 1,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with manifest files

mb
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 following:

<?xml version="1.0" encoding="utf-8" standalone="yes "?>
<assembly
xmlns="urn:sche mas-microsoft-com:asm.v1"
manifestVersion ="1.0">
<assemblyIdenti ty
processorArchit ecture="X86"
name="DBat"
type="win32" />
<dependency>
<dependentAssem bly>
<assemblyIdenti ty
type="win32"
name="Microsoft .Windows.Common-Controls"
version="6.0.0. 0"
processorArchit ecture="X86"
publicKeyToken= "6595b64144ccf1 df"
language="*" />
</dependentAssemb ly>
</dependency>
</assembly>
My tool is called "DBat". When I run my application without the
manifest file it runs fine but it obviously does not look like an XP
app except for some components for which I explicitly set the
FlatStyle property to System. If I use the manifest file and attach it
as a resource to the exe file and then run the exe file I get an error
message "The application has failed to start because the application
configuration is incorrect. Reinstalling the application mayfix this
problem."

Has anyone seen something like this? What might be causing this error?
Does my manifest file look correct? Do I need to do anything else to
make it work? I would really appreciate a quick response.

Thanks
mb
Nov 17 '05 #1
0 1331

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

Similar topics

2
18378
by: webster | last post by:
ok im having a go at creating a jar file. i am using cmd to do it. In the folder that all my class and stuff is in i used the command "jar cf Jrum.jar DrumMachine.class play.gif stop.gif hithat.wav snare.wav base.wav cymbal.wav". It appears to have been successful, it made a jar file, but when i click on it i get this message, "Java Virtual Machine Launcher, Failed to load Main-Class manifest attribute from c:\java progs/Jrum.jar" What...
2
2362
by: Murat Tasan | last post by:
hi, i'm having a very odd problem... here is my system: debian linux java: j2sdk 1.4.1_02 everything is running fine, except for one little problem... i have a custom manifest file called manifest.txt: Main-Class: UserInterface
21
4468
by: BlackHawke | last post by:
My name is Nick Soutter, I own a small game development company (www.aepoxgames.net) making our first game (www.andromedaonline.net) in java. I am writing because we are having a very serious problem, and I was hoping someone might have thoughts.
1
8712
by: Santhu | last post by:
What is the difference between METADATA and MANIFEST and where do they get stored? Thank you
1
1853
by: Mateusz [PEYN] Adamus | last post by:
Hi everyone Lately I implemented Updater Block v.2.0 into my app but today I found out that it's not working on Win98. I searched the web and found the HttpDownloader made by Kent Boogaart. I have my app compiled and it worked fine with the BITS (on WinXP). I put the HttpDownloader.dll into my apps directory, modified the app.config and updaterconfiguration.config as shown in readme.html and fired all up.
0
760
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
13856
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
1
7089
by: John Bowman | last post by:
Hi All, I originally sent this to the dotnet.security ng, but no repsonse in 5 days. Hopefully, someone here can explain to me what's going on. I'm fairly new to .NET app security and manifests. I'm working with a test app: "MyApp.exe". Couple Q's: 1) When I turn on the security project setting in VS2005 for "Enable
0
2320
by: stormogulen | last post by:
Hello all, I'm having some problems understanding how the runtime locates assemblies, and I hope you can help me shed some light on it. I'm deploying a web service, which uses some 3rd party dll (FelibFilterLib.dll). The problem is as follows: 1) The webservice is xcopied to the server, and the dll in question (FelibFilterLib) is located in the bin directory of the web service
0
9843
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
9683
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
10577
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...
0
10275
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7811
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
5851
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4476
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4045
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.