473,796 Members | 2,520 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wierd Warnings: mailSettings modification results in many web.config messages

When I change my "from" and "host" I get a slew of web.config messages...

Here's the mailsettings...
<system.net>
<mailSettings >
<smtp from="me@mydoma in.com">
<network host="mail.mydo main.com" />
</smtp>
</mailSettings>
</system.net>

The 101 web.config messages are: "Could not find schema information for the
element...."

I even changed the settings back and these warnings persist.

Any ideas why????
Feb 10 '06 #1
2 1323
DWS
Programmer,

Looks exactly like mine without the password and userName in the network
element. Here's my tip works on my vs2005 standard and enables intellisence
in the web.config file.
Find the following in your config file
<configuratio n xmlns="http://schemas.microso ft.com/.NetConfigurati on/v2.0">
and change it to this
<configuratio n>
Remember to change it back when your done.

Good Luck
DWS

"VB Programmer" wrote:
When I change my "from" and "host" I get a slew of web.config messages...

Here's the mailsettings...
<system.net>
<mailSettings >
<smtp from="me@mydoma in.com">
<network host="mail.mydo main.com" />
</smtp>
</mailSettings>
</system.net>

The 101 web.config messages are: "Could not find schema information for the
element...."

I even changed the settings back and these warnings persist.

Any ideas why????

Feb 10 '06 #2
Changing it simply to <configuratio n> worked!

Is it necessary to have the xmlns link? What is it used for? Necssary?

Thanks!

"DWS" <DW*@discussion s.microsoft.com > wrote in message
news:23******** *************** ***********@mic rosoft.com...
Programmer,

Looks exactly like mine without the password and userName in the network
element. Here's my tip works on my vs2005 standard and enables
intellisence
in the web.config file.
Find the following in your config file
<configuratio n
xmlns="http://schemas.microso ft.com/.NetConfigurati on/v2.0">
and change it to this
<configuratio n>
Remember to change it back when your done.

Good Luck
DWS

"VB Programmer" wrote:
When I change my "from" and "host" I get a slew of web.config messages...

Here's the mailsettings...
<system.net>
<mailSettings >
<smtp from="me@mydoma in.com">
<network host="mail.mydo main.com" />
</smtp>
</mailSettings>
</system.net>

The 101 web.config messages are: "Could not find schema information for
the
element...."

I even changed the settings back and these warnings persist.

Any ideas why????

Feb 10 '06 #3

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

Similar topics

12
11035
by: Gary | last post by:
Hi! guys, I have a SQL agent job fails because it gets 10 warnings when it runs a stored procedure. These warnings are trivial and can be ignored. Can I make it ignore these warnings and proceed? I think there is some setting I can do to change the default behavour of an agent job regarding warnings but I just don't know how to do it. Any idea?
687
23766
by: cody | last post by:
no this is no trollposting and please don't get it wrong but iam very curious why people still use C instead of other languages especially C++. i heard people say C++ is slower than C but i can't believe that. in pieces of the application where speed really matters you can still use "normal" functions or even static methods which is basically the same. in C there arent the simplest things present like constants, each struct and enum...
15
2630
by: Walter Dnes (delete the 'z' to get my real address | last post by:
I'm trying to initialize an array of error messages, so that I can print out an error message by using the 'nth string in an array, e.g. printf("%s\n", messages); I'm still hazy on arrays of pointers to strings, so you may want to finish your drinks before examining my code. Here's a small sample program. #include <stdio.h>
22
8325
by: John Fisher | last post by:
void f(int p) { } Many (most?) compilers will report that p is unreferenced here. This may not be a problem as f may have to match some common prototype. Typically pointers to functions are involved. For a long time I have used
16
2981
by: RichardP | last post by:
Hi there everyone - I'm new to this forum. I am having an issue when running an application from an instance of Access which has been started through automation (early or late bound, makes no difference). No warning / confirmation messages are issued (eg. when running action queries, deleting records from a datasheet, deleting database objects such as tables).
3
6753
by: John Kotuby | last post by:
Hi all, Here's a good one. I'm just trying to set up simple email configuration in web.config so that I can move my site from my development machine to the production server. I didn't need to pass an ID and Password to the smtp server at my office, but the Web server I'm using requires it. So I look into the online help and find no samples of how to set up that type of configuration. All examples assume default network credentials. I...
3
2074
by: =?Utf-8?B?RGFu?= | last post by:
I am new to VB.NET and Visual Studio 2005. I have several VB 6.0 programs to convert. When I convert one of them, I get a lot of warning messages. One of them is the following: Variable 'xyz' is passed by reference before it has been assigned a value. A null reference exception could result at runtime. I'm getting lots of instances of this message. It seems obvious and I don't need to be warned about it. Is there any way to turn off...
0
1054
by: Michael Bray | last post by:
I've found a change in SP1 that doesn't seem to make sense to me, but seems to be there nonetheless. The situation is this... I have an application that stores it's configuration in a file in the Application directory. If the application is called "MyApp.exe", the configuration file is "MyApp.config". Note that this is not the same as "MyApp.exe.config" which is where the .NET-based XML-format configuration normally goes. This...
0
2473
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi all I have an app.config file for my App, and use MailSettings Section. I can modify AppSettings and ConnectionsStrings , and then save app.config.
0
9683
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9529
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10457
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10013
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9054
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7550
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6792
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2927
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.