473,406 Members | 2,345 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,406 software developers and data experts.

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@mydomain.com">
<network host="mail.mydomain.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 1304
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
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
and change it to this
<configuration>
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@mydomain.com">
<network host="mail.mydomain.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 <configuration> worked!

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

Thanks!

"DWS" <DW*@discussions.microsoft.com> wrote in message
news:23**********************************@microsof t.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
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
and change it to this
<configuration>
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@mydomain.com">
<network host="mail.mydomain.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
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...
687
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...
15
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...
22
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...
16
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...
3
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...
3
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...
0
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...
0
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
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
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...

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.