473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Manifest / resource file conflict?

http://support.microsoft.com/default...b;en-us;329014

Adding the code at this URL results in an error message:

An unhandled exception of type
'System.Resource.MissingManifestResourceException' occurred in mscorlib.dll

Additional information: Could not find any resources appropriate for the
specified culture 9or the neutral culture) in the given assembly. Make sure
"WebBrowser.resources" was correctly embedded or linked into assembly
"[ProductName]".
baseName: WebBrowser locationInfo:
[product namespace].WebBrowser resource file name:
WebBrowser.Resources assembly: [ProductName], Version=2.0.2.27499,
Culture=neutral, PublicKeyToken=null

Note that "WebBrowser" above refers to my UserControl which contains an IE
web browser control, and "[ProductName]" refers to the EXE name (I changed
it here).

I don't know where this error comes from, but if it helps to clarify I do
have a standard manifest file in place for the EXE in which this control
(containing the IE WebBrowser control) is compiled, for the Windows XP look
and feel.

Any ideas?

Jon


Nov 15 '05 #1
7 6856
It looks like the code wants to load a satelite resource for localized
culture and it doesn't find the one it excepts to find.

( From the helpfile - "The exception thrown if the main assembly does not
contain the resources for the neutral culture, and they are required
because of a missing appropriate satellite assembly." )

Are you running a non english system?, non english internet explorer? non
english framework?

Then again
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #2
>> Are you running a non english system?, non english internet explorer? non
english framework?

No. All english.

I'm lost.

Jon
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:oprxpe7avjhntkfz@localhost...
It looks like the code wants to load a satelite resource for localized
culture and it doesn't find the one it excepts to find.

( From the helpfile - "The exception thrown if the main assembly does not
contain the resources for the neutral culture, and they are required
because of a missing appropriate satellite assembly." )

Are you running a non english system?, non english internet explorer? non
english framework?

Then again
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #3
occurs in my usercontrol:

this.cmdBack.Image =
((System.Drawing.Image)(resources.GetObject("cmdBa ck.Image")));

Jon

"Jon Davis" <jo*@REMOVE.ME.PLEASE.jondavis.net> wrote in message
news:eg**************@tk2msftngp13.phx.gbl...
http://support.microsoft.com/default...b;en-us;329014

Adding the code at this URL results in an error message:

An unhandled exception of type
'System.Resource.MissingManifestResourceException' occurred in mscorlib.dll
Additional information: Could not find any resources appropriate for the
specified culture 9or the neutral culture) in the given assembly. Make sure "WebBrowser.resources" was correctly embedded or linked into assembly
"[ProductName]".
baseName: WebBrowser locationInfo:
[product namespace].WebBrowser resource file name:
WebBrowser.Resources assembly: [ProductName], Version=2.0.2.27499,
Culture=neutral, PublicKeyToken=null

Note that "WebBrowser" above refers to my UserControl which contains an IE
web browser control, and "[ProductName]" refers to the EXE name (I changed
it here).

I don't know where this error comes from, but if it helps to clarify I do
have a standard manifest file in place for the EXE in which this control
(containing the IE WebBrowser control) is compiled, for the Windows XP look and feel.

Any ideas?

Jon

Nov 15 '05 #4
Are you using cultureinfo somewhere? Or some windows form missing some
info or whatnot?

Can't say I'm familiar with the error, I only did some testing with
satelite assemblies and setting different cultures using cultureinfo and
ResourceManager.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #5
Oh yeah, it seems to be missing the image. What is "resources"?

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #6
> this.cmdBack.Image =
((System.Drawing.Image)(resources.GetObject("cmdBa ck.Image")));

... this is IDE-generated code. cmdBack.Image is a bitmap image saved to the
control. The .resx file should perhaps contain this data (??).

The resource is there. The error message only occurs when the code at the
URL is added:

http://support.microsoft.com/default...b;en-us;329014

Jon
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:oprxpg49o1hntkfz@localhost...
Oh yeah, it seems to be missing the image. What is "resources"?

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Nov 15 '05 #7
Anyone have any ideas?

"Jon Davis" <jo*@REMOVE.ME.PLEASE.jondavis.net> wrote in message
news:eQ**************@TK2MSFTNGP12.phx.gbl...
this.cmdBack.Image = ((System.Drawing.Image)(resources.GetObject("cmdBa ck.Image")));

.. this is IDE-generated code. cmdBack.Image is a bitmap image saved to

the control. The .resx file should perhaps contain this data (??).

The resource is there. The error message only occurs when the code at the
URL is added:

http://support.microsoft.com/default...b;en-us;329014

Jon
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:oprxpg49o1hntkfz@localhost...
Oh yeah, it seems to be missing the image. What is "resources"?

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


Nov 15 '05 #8

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

Similar topics

1
by: JPRoot | last post by:
Hi I have a problem with the development environment I have a DLL (jproot.dll) versionned 1.9.0.33 that I have shipped to my customer My customer made a DLL (cust.dll, versionned 1.2.3.4)...
5
by: anthony.duerr | last post by:
I have encountered a problem (most certainly a .NET bug), that, for the life of me, I cannot figure out how to work around. Using Visual Studio 2003, with enabled XP Visual Styles. There are...
3
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: ...
7
by: Lars Netzel | last post by:
How can I make my application use the XP style without having to add the extra file called manifest file together with the exe? best regards/ Lars Netzel
11
by: RossettoeCioccolato | last post by:
Is there any way to coax the VC8 linker into generating an application manifest with a trust level section suitable for an administrative application? Or do I have to add this manually each time...
14
by: _iycrd | last post by:
After several frustrating attempts to wrap a native DLL w a C++/CLI DLL, I finally got an assembly to compile, only to find a *runtime* error. The app comes up fine. Test dialog displays. ...
1
by: Steve Teeples | last post by:
Can an application manifest document be added to a C# application? If so, can it be done from within the IDE of Visual Studio 2005? I want to customize my application's security level...
1
by: Bern McCarty | last post by:
I know how with VC8 you embed your linker generated manifest into an exe with a resource ID of #1 and into a dll with resource ID #2. But what do you do with the linker generated manifest for a...
0
xarzu
by: xarzu | last post by:
Getting a C# program with a manifest file to run in the debugger ---------------------------------------------------------------- How do I declare a manifest file in the Visual Studio IDE for C#...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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,...
0
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...

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.