473,508 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Could not find schema messages won't display aspx pages

Hi,

When compiling a page in VS2005 this morning I received 101 messages
regarding schema problems in my web.config file.

When I go to view an aspx page in my IIS, IE just displays a blank
page.

I have the June Atlas CTP installed.

I'd not encountered any such problems just the day before & hadn't
altered the web.config file.

This is extremely irritating, as I am unable to test or create any new
pages - I would appreciate if you could assist in some way.

Example description of message:

Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration'

removing this reference in <configuration xmlns, produces different
warnings, including: 'The 'requirePermission' attribute is not
declared'

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

my config file below:

<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="microsoft.web"
type="Microsoft.Web.Configuration.MicrosoftWebSect ionGroup">
<section name="converters"
type="Microsoft.Web.Configuration.ConvertersSectio n"
requirePermission="false"/>
<section name="webServices"
type="Microsoft.Web.Configuration.WebServicesSecti on"
requirePermission="false"/>
<section name="authenticationService"
type="Microsoft.Web.Configuration.AuthenticationSe rviceSection"
requirePermission="false"/>
<section name="profileService"
type="Microsoft.Web.Configuration.ProfileServiceSe ction"
requirePermission="false"/>
</sectionGroup>
</configSections>
<!--
The microsoft.web section defines items required for the Atlas
framework.
-->
<microsoft.web>
<converters>
<add
type="Microsoft.Web.Script.Serialization.Converter s.DataSetConverter"/>
<add
type="Microsoft.Web.Script.Serialization.Converter s.DataRowConverter"/>
<add
type="Microsoft.Web.Script.Serialization.Converter s.DataTableConverter"/>
</converters>
<webServices enableBrowserAccess="true"/>
<!--
Uncomment this line to enable the authentication service. -->
<authenticationService enabled="true"/>
<!-- Uncomment these lines to enable the profile service. To allow
profile properties to be retrieved
and modified in Atlas applications, you need to add each
property name to the setProperties and
getProperties attributes. If you intend for all properties to
be available, you can use "*"
as a shorthand rather than enumerating each property -->
<!--
<profileService enabled="true"
setProperties="propertyname1;propertyname2"
getProperties="propertyname1;propertyname2" />
-->
</microsoft.web>

<system.net>
<mailSettings>
<smtp from="no****@mail.com">
<network defaultCredentials="true" host="195.195.195.195"
password="" userName=""/>
</smtp>
</mailSettings>
</system.net>
<connectionStrings>
<add name="xx" connectionString="mystring;Initial Catalog=xx;User
ID=xxPWD=xx;Connect Timeout=9999"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<customErrors mode="Off"/>
<authentication mode="Forms">
<forms name="xx" loginUrl="index.aspx"/>
</authentication>
<authorization>
<allow users="?"/>
</authorization>
<roleManager enabled="true" defaultProvider="xx">
<providers>
<add name="ITPRoleProvider"
type="System.Web.Security.SqlRoleProvider"
connectionStringName="mystring" applicationName="/myapp"/>
</providers>
</roleManager>
<membership defaultProvider="x">
<providers>
<add name="x" type="System.Web.Security.SqlMembershipProvider"
connectionStringName="mystring" requiresUniqueEmail="true"
minRequiredPasswordLength="x" minRequiredNonalphanumericCharacters="0"
requiresQuestionAndAnswer="true" applicationName="/myapp"/>
</providers>
</membership>
<compilation debug="true" strict="false" explicit="true">
<buildProviders>
<add extension=".asbx"
type="Microsoft.Web.Services.BridgeBuildProvider"/>
</buildProviders>
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=xx"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=xx"/></assemblies></compilation>
<pages theme="defaultTheme" buffer="true"
enableSessionState="true">
<namespaces>
<clear/>
<add namespace="System"/>
<add namespace="System.Collections"/>
<add namespace="System.Collections.Specialized"/>
<add namespace="System.Configuration"/>
<add namespace="System.Text"/>
<add namespace="System.Text.RegularExpressions"/>
<add namespace="System.Web"/>
<add namespace="System.Web.Caching"/>
<add namespace="System.Web.SessionState"/>
<add namespace="System.Web.Security"/>
<add namespace="System.Web.Profile"/>
<add namespace="System.Web.UI"/>
<add namespace="System.Web.UI.WebControls"/>
<add namespace="System.Web.UI.WebControls.WebParts"/>
<add namespace="System.Web.UI.HtmlControls"/>
</namespaces>
<controls>
<add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas"
tagPrefix="atlas"/>
<add namespace="Microsoft.Web.UI.Controls"
assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
</controls>
</pages>
<httpModules>
<add type="System.Web.SessionState.SessionStateModule"
name="Session"/>
<add name="ScriptModule"
type="Microsoft.Web.Services.ScriptModule"/>
<add name="BridgeModule"
type="Microsoft.Web.Services.BridgeModule"/>
<add name="WebResourceCompression"
type="Microsoft.Web.Services.WebResourceCompressio nModule"/>
</httpModules>
<sessionState mode="InProc" sqlConnectionString="mystring
Catalog=mycatalog;User ID=xx;PWD=xx;Connect Timeout=xxxx"
cookieless="false"/>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx"
type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
<add verb="*" path="atlasbatchcall.axd"
type="Microsoft.Web.Services.MultiRequestHandler" validate="false"/>
<add verb="*" path="atlasglob.axd"
type="Microsoft.Web.Globalization.GlobalizationHan dler"
validate="false"/>
<add verb="*" path="*.asbx"
type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
</httpHandlers>
</system.web>
</configuration>

Jul 31 '06 #1
1 1956
Nevermind.
VS2005 had created an app_offline.htm in the root of my site, which
caused the problem.

Bit dodgy though, when I opened this file it launched VS repeatedly - I
had to kill the program from Task Manager

Jul 31 '06 #2

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

Similar topics

1
15909
by: Shawn McNiven | last post by:
Hello, I have a problem with an application i'm working on (Asp.net using vb.net for developing). I'm normally used to doing middle tier development, so my javascript skills are not up to par. ...
3
5612
by: MR | last post by:
Is there a way to load an XML schema into a dataset from a resource or other object? I am using ReadXmlSchema(filename) and that works fine. However, I have many XSD files that I would rather not...
0
1023
by: Kensei | last post by:
I have a small ASP.NET page that has a web form (.aspx) page, an xslt transformation page, and an xml page. Everything works great until I add a schema (.xsd) page to validate the xml data. After...
0
11251
by: Derek | last post by:
I am creating an intranet using Visual Web Developer Express Edition. Everything has been working OK until yesterday when I started getting 62 messages all beginning "Could not find schema...
3
1559
by: Neilg | last post by:
Does any know what the messsage "could not find schema information... happens with Visual Studio 2005 and how to fix it? Thanks -- Neil Gott
0
7789
by: jhansen | last post by:
I am getting informational warnings about the following app.config and indicate the following. I am using C# visual studio 2005 and used the Settings.settings to set up my values scoped as...
5
3633
by: markus.meier | last post by:
Hi, I'm searching a tool to generate XML files based on an existing XML schema file. Does somebody know a free tool that supports this feature? Thanks Markus
5
9856
by: Arch Stanton | last post by:
I have a set of ASPX pages that work fine on my home computer (Vista), and on a server at work (XP). I just got a new laptop at work (XP) and these same files don't work on it. I installed IIS and...
3
5999
by: Larry Leonard | last post by:
Running MSDE 2000 SP2 on Windows XP SP3. I have a T-SQL script that is relatively simple (adding constraints, inserting rows, etc.) and short (maybe 300 lines, heavily commented). It's an...
0
7226
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
7125
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
7328
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
7388
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...
1
7049
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5631
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
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
422
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...

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.