473,320 Members | 1,865 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,320 software developers and data experts.

NameSpace in Web.config

Hello

With FrameWork .net 1.1 i'm trying to add Namespace references as following
:

.....

<namespaces>
<add namespace="System.Web" />
<add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" />
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>

</system.web>
</configuration>

but i get an error. The configuration (section) is not recognized..
Ligne 121 : </compilation>
Ligne 122 :
Ligne 123 : <namespaces>
Ligne 124 : <add namespace="System.Web" />
Ligne 125 : <add namespace="System.Web.UI" />
But MSDN talk about this mehtod.

thanks for your help
fabrice
Nov 19 '05 #1
2 1442
My first guess would be that it should appear in another section. Try
perhaps to double check the doc to make sure it should appear directly under
system.web as you seems to have done...

I quickly checked the doc but can't find it for now...

--
Patrice

"fabrice" <em******@test.com> a écrit dans le message de
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hello

With FrameWork .net 1.1 i'm trying to add Namespace references as following :

....

<namespaces>
<add namespace="System.Web" />
<add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" />
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>

</system.web>
</configuration>

but i get an error. The configuration (section) is not recognized..
Ligne 121 : </compilation>
Ligne 122 :
Ligne 123 : <namespaces>
Ligne 124 : <add namespace="System.Web" />
Ligne 125 : <add namespace="System.Web.UI" />
But MSDN talk about this mehtod.

thanks for your help
fabrice

Nov 19 '05 #2
This is a new feature in 2.0

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"fabrice" <em******@test.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hello

With FrameWork .net 1.1 i'm trying to add Namespace references as
following :

....

<namespaces>
<add namespace="System.Web" />
<add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" />
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>

</system.web>
</configuration>

but i get an error. The configuration (section) is not recognized..
Ligne 121 : </compilation>
Ligne 122 :
Ligne 123 : <namespaces>
Ligne 124 : <add namespace="System.Web" />
Ligne 125 : <add namespace="System.Web.UI" />
But MSDN talk about this mehtod.

thanks for your help
fabrice

Nov 19 '05 #3

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

Similar topics

7
by: Doug Rosser | last post by:
I'm writing a fairly complicated test framework and keeping configuration data inside ini files that are parsed at runtime by the ConfigParser module. For example, there would be a section...
0
by: Keith Jakobs, MCP | last post by:
Greetings: Ok, I know the .NET framework is supposed to make things easier, but at this point, I am rapidly getting the impression that .NET stinks compared to ADSI when it comes to interfacing...
0
by: Michael | last post by:
Hi, Using the classes from the Xml namespace I would like to generate XML that has the namespace name prefixed to each of the child elements simliar to this: <ns:config...
29
by: Natan | last post by:
When you create and aspx page, this is generated by default: using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using...
4
by: dhnriverside | last post by:
HI guys I've just written my first independent namespace for my library (yay me!). However, on trying to add it to my website project, it causes an error when I look at the website. It compiles...
0
by: Charles Leonard | last post by:
I need opinions regarding Web Service Namespace usage and/or suggestions regarding how to handle deployment. Our web service application will exist in two different domains and is likely to...
9
by: Brett Romero | last post by:
I have two projects in one solution - a library and executable. Each have a namespace such as: ROOT.myapp.Functional ROOT.myapp.UI However, each cannot reference the other. myapp.UI is...
2
by: Jéjé | last post by:
Hi, I'm using the ADOMD.Net 9 in my web site + a third party web control which used the ADOMD.Net 8.0. Everytime I compile my web site in VS 2005, a referecne to the 8.0 library is added this...
1
by: Paul | last post by:
Hello: I want to nlude this statement into everyone of my application's .aspx pages. <%@ Import Namespace="System.Data.SQLClient" %> What is the best practice to do this? Can I do this...
1
by: WebCM | last post by:
There are lots of problems with XHTML parsing in PHP by XML functions. I've just solved most of them. However, how to get value of attribute with namespace? <input type="checkbox" id="something"...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
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 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.