hi all!
i'm trying to define a custom config section like described in the
online help of VS2005:
<configuration>
<configSections>
<section name="sampleSection"
type="System.Configuration.SingleTagSectionHandler " />
</configSections>
<sampleSection setting1="Value1"
setting2="value two"
setting3="third value" />
....
</configuration>
but in the errorlist i get the message that the schemeinfo for the
element "sampleSection" is not found. so i'm wondering what mistake i
made???
does anyone have any suggestions??
thx in advance
wolfgang 5 2259
<configSections>
<section name="sqlFiles"
type="CT.DataServices.SqlRepositorySectionHandler, CTSqlRepository" />
<section name="dbConnections"
type="CT.DataServices.ConnectionInfoSectionHandler , CTDataServices" />
<section name="fileStore"
type="System.Configuration.NameValueSectionHandler ,System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
/>
<section name="currentStore"
type="System.Configuration.NameValueSectionHandler ,System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
/>
<section name="fedExConfig"
type="System.Configuration.NameValueSectionHandler ,System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
/>
<section name="jdeHosts"
type="CT.JDE.ThinNet.JDEHostConfigSectionHandler, CTThinnetAPI"/>
<section name="ctusopConfig"
type="System.Configuration.NameValueSectionHandler ,System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
/>
</configSections>
You are missing the sectionGroup name.
See a complete example at : http://msdn2.microsoft.com/en-us/lib...k3(VS.80).aspx
There's several samples for custom config sections,
both inline and in code-behind, for C# and VB.NET.
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"wolfgang wagner" <lo*****@gmx.de> wrote in message
news:%L****************@newsread.de.ignite.net... hi all!
i'm trying to define a custom config section like described in the online help of VS2005:
<configuration> <configSections> <section name="sampleSection" type="System.Configuration.SingleTagSectionHandler " /> </configSections>
<sampleSection setting1="Value1" setting2="value two" setting3="third value" /> ...
</configuration>
but in the errorlist i get the message that the schemeinfo for the element "sampleSection" is not found. so i'm wondering what mistake i made???
does anyone have any suggestions??
thx in advance
wolfgang
Sukkius schrieb: <configSections> <section name="sqlFiles" type="CT.DataServices.SqlRepositorySectionHandler, CTSqlRepository" /> <section name="dbConnections" type="CT.DataServices.ConnectionInfoSectionHandler , CTDataServices" /> <section name="fileStore" type="System.Configuration.NameValueSectionHandler ,System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="currentStore" type="System.Configuration.NameValueSectionHandler ,System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="fedExConfig" type="System.Configuration.NameValueSectionHandler ,System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="jdeHosts" type="CT.JDE.ThinNet.JDEHostConfigSectionHandler, CTThinnetAPI"/> <section name="ctusopConfig" type="System.Configuration.NameValueSectionHandler ,System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> </configSections>
i don't know what to do with this!?!?!?
I think he was trying to give you an example of a properly configured
section, and wasn't trying to get you to use those entries.
Did you miss my reply on 3/23 ?
---000---
You are missing the sectionGroup name.
See a complete example at : http://msdn2.microsoft.com/en-us/lib...k3(VS.80).aspx
There's several samples for custom config sections,
both inline and in code-behind, for C# and VB.NET, in that page.
---000---
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"wolfgang wagner" <lo*****@gmx.de> wrote in message
news:x%****************@newsread.de.ignite.net... Sukkius schrieb: <configSections> <section name="sqlFiles" type="CT.DataServices.SqlRepositorySectionHandler, CTSqlRepository" /> <section name="dbConnections" type="CT.DataServices.ConnectionInfoSectionHandler , CTDataServices" /> <section name="fileStore" type="System.Configuration.NameValueSectionHandler ,System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="currentStore" type="System.Configuration.NameValueSectionHandler ,System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="fedExConfig" type="System.Configuration.NameValueSectionHandler ,System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="jdeHosts" type="CT.JDE.ThinNet.JDEHostConfigSectionHandler, CTThinnetAPI"/> <section name="ctusopConfig" type="System.Configuration.NameValueSectionHandler ,System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> </configSections>
i don't know what to do with this!?!?!? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: helpful sql |
last post by:
Hi all,
I am getting an exception from asp.net application that says error
creating section handler.
Here is my configuration section from web.config file:
<configSections>
<section...
|
by: Søren Lund |
last post by:
Hello,
I have implemented a custom config section handler by implementing the
IConfigurationSectionHandler interface. I have registered this handler
in web.config and everything works fine ......
|
by: David Mediavilla |
last post by:
I am writing a client for an HTTPS web service using WSE 1.0 but I
always get an error like "The underlying connection was closed: An
unexpected error occurred on a send."
Sometimes the error...
|
by: Chris Ashley |
last post by:
I am trying to log all the messages sent to/from my web services and
read somewhere that WSE2 would let me do this. I have just installed
this and added the following to my code:
...
|
by: Abhi |
last post by:
I am using Cryptography application block and am trying to use
configSource attribute to keep the config file as separate file.
my Application configuration file has following entry
...
|
by: moondaddy |
last post by:
I'm running a wpf windows app and want to add the appSettings element to the
config file. when I do, the app wont start up and I get the following
error:
{"The type initializer for...
|
by: BrianKer |
last post by:
Hi! It's my first discussion on this forum.
First I have a exe like this below (the object can invoke by console)
public class DynamicLoad
{
public Type AssemblyType = null;
...
|
by: nish85 |
last post by:
Hi,
i have uploaded my sit to web server goddady.com
i have a button to download dyanmically generated excel file.This button is ajax enabled.....When i am click on this button it will popup a...
|
by: =?Utf-8?B?TWFuanJlZSBHYXJn?= |
last post by:
Hi
I am creating a web service PreprocessingService with IIS Hosting and
transport layer security with user name and password.
I created a self-signed certificate IISHost in IIS which is issued...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |