473,503 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

appSettings configuration section error

I have a form (frmHelp) with a helpProvider on it. I have set the keyword for
the text box on this form as dynamic (frmHelp.textBox1.HelpKeyword). I
created a inherited form from frmHelp called frmInherited. When I try to open
this new form in design mode, I get the following error:
An error occurred while loading the document. Fix the error, and then try
loading the document again. The error message follows:

An exception occurred while trying to create an instance of
DynamicHelp.frmHelp. The exception was "The key
'frmHelp.textBox1.HelpKeyword' does not exist in the appSettings
configuration section."

The key does exist in the app.config file. I check multiple times. What am I
doing wrong?

Thanks,
Susan
Nov 16 '05 #1
2 3738
hi,
this may not what you want. But i need to know one thing. Whether you are
using any key name in your application which is not in app.config file.
some declaration you have to explicitly need to do after inheriting.

if it is possible send me you code.
Nov 16 '05 #2
Hi Susan,

Can you give me any information on where you found out that you can't
inherit from a form with dynamic properties and what your solution was? I'm
running into the exact same problem in almost the same way, however, I am
able to build and run the application. I'm just not able to see the derived
form in design mode.

Thanks,

Carlo.

"Susan" wrote:
Turns out you can't inherit from a form with dynamic properties so I created
my own method to create the dynamicness I needed. Thank you.

"Sreejith S S Nair" wrote:
hi,
this may not what you want. But i need to know one thing. Whether you are
using any key name in your application which is not in app.config file.
some declaration you have to explicitly need to do after inheriting.

if it is possible send me you code.

Nov 16 '05 #3

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

Similar topics

2
420
by: lobrys | last post by:
Hello everybody! Ma question est simple : Est il possible de supprimer la section appSettings en memoire pour se baser de nouveau sur le fichier de config. Resumé bref de ce que je veux...
2
15445
by: hazz | last post by:
I have spent more time than I care to admit trying to track down a very subtle error. Here is my app's xx.exe.config file. <?xml version="1.0" encoding="utf-8" ?> <configuration>...
2
3360
by: Alpha | last post by:
I'm getting the following error message when I run my C# Window Application from other PC (not my development machine). Can someone tell me how to correct this appSettings Configuration problem?...
3
4871
by: Celebrate | last post by:
My application works fine when I run it locally but when I transfer it to our NEW Windows 2003 Web Edition server, I get a strange error. I've isolated the problem to when I issue a...
2
9570
by: Fuehner | last post by:
Everyone-- I installed the .NET 2.0 framework on a server that also has version 1.1 installed. A few of my applications override the "appSettings" section in the web.config with a custom config...
9
2350
by: Antonio Ooi | last post by:
Hi, I have the following appSettings in my app.config file: <appSettings> <!-- Some comments here --> <add key="MyKey1" value="1"/>
6
5373
by: Nick | last post by:
Hi there, I have a Windows Service application that has a load of settings defined, I can access these using My.Settings. I would like to pass the NameValueCollection of the settings to...
1
1447
by: =?Utf-8?B?THVib21pcg==?= | last post by:
Hi, I have a custom settings in <appSettingssection in the web.config. I need to modify this section from the C# exe application (NOT asp.net) web.config: <appSettings> <add key="MyKeyName"...
8
8962
by: shapper | last post by:
Hello, I am getting the AppSettings section as follows: AppSettingsSection appSettingSection = (AppSettingsSection)ConfigurationManager.GetSection("appSettings"); However, I am getting the...
0
7198
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
7072
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...
0
7271
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,...
1
6979
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...
0
7449
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...
0
5570
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
4666
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...
0
3160
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...
1
730
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.