469,573 Members | 1,706 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,573 developers. It's quick & easy.

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:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
processorArchitecture="X86"
name="DBat"
type="win32" />
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*" />
</dependentAssembly>
</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 1156

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by webster | last post: by
2 posts views Thread by Murat Tasan | last post: by
21 posts views Thread by BlackHawke | last post: by
1 post views Thread by Santhu | last post: by
1 post views Thread by Mateusz [PEYN] Adamus | last post: by
reply views Thread by mb | last post: by
2 posts views Thread by Bill Nguyen | last post: by
1 post views Thread by John Bowman | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.