Atlas

M

Mark Rae

Hi,

Have just downloaded and installed the latest July CTP of Atlas, created a
test project, and have a question about web.config.

When a test project is created from the Atlas template, the web.config
contains the following lines:

<configSections>
<sectionGroup name="microsoft.web"
type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
<section name="converters"
type="Microsoft.Web.Configuration.ConvertersSection"
requirePermission="false" />
<section name="webServices"
type="Microsoft.Web.Configuration.WebServicesSection"
requirePermission="false" />
<section name="authenticationService"
type="Microsoft.Web.Configuration.AuthenticationServiceSection"
requirePermission="false" />
<section name="profileService"
type="Microsoft.Web.Configuration.ProfileServiceSection"
requirePermission="false" />
</sectionGroup>
</configSections>

This generates the warning "The requirePermission attribute is not
declared."

The web.config also contains the following section:

<microsoft.web>
<converters>
<add
type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter"/>
<add
type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter"/>
<add
type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter"/>
</converters>
<webServices enableBrowserAccess="true" />
</microsoft.web>

This generates an additional 10 messages, e.g.:

Could not find schema information for the element 'microsoft.web'
Could not find schema information for the element 'converters'

A Google search revealed a couple of posts about this. One specifically said
that these messages and warnings could be safely ingnored as they were a bug
in IntelliSense (http://forums.asp.net/thread/1314391.aspx), and another
suggest adding the following line to the web.config:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

However, all that did was turn the 10 messages into 63 messages!

Does anyone know of a way to elminate these warnings and messages when using
Atlas as they're very annoying or, at least, confirm that it's safe to
ignore them.

Any assistance gratefully received.

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top