473,699 Members | 2,145 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 753

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

Similar topics

2
18373
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
2352
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
4433
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.
2
1701
by: David Fraser | last post by:
Hi Does anyone else find it annoying that the sdist command for distutils relies on MANIFEST.in and MANIFEST files? I would really like to be able to do everything in the setup script ; if I don't, the MANIFEST files get created automatically (with warnings) and any new scripts added are forgotten. Any alternative approaches to this?
1
8697
by: Santhu | last post by:
What is the difference between METADATA and MANIFEST and where do they get stored? Thank you
1
1846
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
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
13843
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
7083
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
2316
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
8706
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
8630
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
9055
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
7786
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...
0
4391
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...
0
4638
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3075
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
2364
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2016
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.