472,354 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

How do I properly add a custom section to my Web.Config?

If I add my own section to my Web.Config file of my (2.0) web service
project (and refer to it by adding a "section" sub-element to a
"configSections" element, I then get information messages ("Could not
find schema information for the element"...) for every custom element
and attribute in my custom section when I build my project.
What should I do to properly dispose of these messages? Surely I
shouldn't have to create a schema?
Feb 8 '06 #1
3 5425
These are just info messages. You can filter them out by clicking on the
"Messages" button in the Error List.

--
Stan Kitsis
Program Manager, XML Technologies
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Brad Wood" <bradley|.wood|@ndsu|.edu> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
If I add my own section to my Web.Config file of my (2.0) web service
project (and refer to it by adding a "section" sub-element to a
"configSections" element, I then get information messages ("Could not find
schema information for the element"...) for every custom element and
attribute in my custom section when I build my project.
What should I do to properly dispose of these messages? Surely I
shouldn't have to create a schema?

Feb 9 '06 #2
I have the same problem with my custom config sections resulting in
around 200 info messages. Is it possible to stop these info messages
being emitted as they just provide a lot of noise which obscures other
messages?

Actually what I would really like to do is provide a schema for my
config sections and then be able to use intellisense for these
sections. Is this possible and if so is there any guidance available on
how to it?
Stan Kitsis [MSFT] wrote:
These are just info messages. You can filter them out by clicking on the
"Messages" button in the Error List.

--
Stan Kitsis
Program Manager, XML Technologies
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Brad Wood" <bradley|.wood|@ndsu|.edu> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
If I add my own section to my Web.Config file of my (2.0) web service
project (and refer to it by adding a "section" sub-element to a
"configSections" element, I then get information messages ("Could not find
schema information for the element"...) for every custom element and
attribute in my custom section when I build my project.
What should I do to properly dispose of these messages? Surely I
shouldn't have to create a schema?


Feb 10 '06 #3

I couldn't stand having Messages show up even if it did still compile.
Here's the fix:
http://www.ovationmarketing.com/XSD.asp
Brad Wood wrote:
*If I add my own section to my Web.Config file of my (2.0) web
service
project (and refer to it by adding a "section" sub-element to a
"configSections" element, I then get information messages ("Could
not
find schema information for the element"...) for every custom
element
and attribute in my custom section when I build my project.
What should I do to properly dispose of these messages? Surely I
shouldn't have to create a schema? *


--
chris haas
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Mar 1 '06 #4

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

Similar topics

1
by: Hazzard | last post by:
I am trying to create a custom section and section handler in my config file. The custom section should be something like; <appSecurity> <method name = "Protect the Ice Cream"> <allow group =...
1
by: Hazzard | last post by:
I am trying to create a custom section and section handler in my config file. The custom section should be something like; <appSecurity> <method name = "Protect the Ice Cream"> <allow group =...
1
by: Andy Emmerson via .NET 247 | last post by:
Hi I am looking to write a custom section handler so that I can populate the MobileCapabilities object from my our custom data rather than the browserCaps section in machine.config. From my...
0
by: GOE | last post by:
I wrote the C++ project which impersonate Duwamish sample,when I wrote some code about custom section,it don't work and show the exception: "System.TypeLoadException: accemble SystemFramework,...
6
by: Tabi | last post by:
Hi, I want to create a custom section in my web.config that can hold my custom values. I created a section in web.config as written below. <configSections> <section name="myCustomSection"...
1
by: kevininstructor | last post by:
I added a custom section from code found on the Internet and can not get it to work in DotNet 1.1 In the configuration file below my focus is on the "TestGroup" section, all other parts work...
0
by: mnowosad | last post by:
This problem has become a "show-stopper" for us. I have defined a custom section for my web application that contains sensitive data. Because of that, I want to have it encrypted in the same way I...
3
by: sreemathy2000 | last post by:
My requirement is to read a store the value of values in the custome section of app.config. in the form load i need to read the custom section and populate the values in the combobox. section can...
0
by: valdas | last post by:
Hi, I have a problem in accessing "sqlServerCatalogNameOverwrites" section in app.config file. <configuration> <configSections> <section name="sqlServerCatalogNameOverwrites" ...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
1
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

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.