Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 365969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:35:17+00:00 2026-05-12T13:35:17+00:00

I’m trying to implement NHaml views on my application, and it’s all working well.

  • 0

I’m trying to implement NHaml views on my application, and it’s all working well.
But strangely I’m getting some warnings on web.config files when publishing the application.

My nhaml parameters are:

<configSections>
  ...
  <section name="nhaml" type="NHaml.Configuration.NHamlConfigurationSection, NHaml"/>
</configSections>
<nhaml autoRecompile="true" templateCompiler="CSharp3" encodeHtml="false" useTabs="false" indentSize="2">
  <assemblies>
    <add assembly="MyApp"/>
  </assemblies>
  <namespaces>
    <add namespace="MyApp" />
    <add namespace="MyApp.Controllers" />
  </namespaces>
</nhaml>

So, it’s weird because the haml views are being rendered without any problems, but every time I open the web.config file I get the following warnings:

Message 1   Could not find schema   information for the element   'nhaml'.            C:\inetpub\MyApp\Web.config 25  4   MyApp
Message 2   Could not find schema   information for the attribute 'autoRecompile'.    C:\inetpub\MyApp\Web.config 25  10  MyApp
Message 3   Could not find schema   information for the attribute 'templateCompiler'. C:\inetpub\MyApp\Web.config 25  31  MyApp
Message 4   Could not find schema   information for the attribute 'encodeHtml'.       C:\inetpub\MyApp\Web.config 25  58  MyApp
Message 5   Could not find schema   information for the attribute 'useTabs'.          C:\inetpub\MyApp\Web.config 25  77  MyApp
Message 6   Could not find schema   information for the attribute 'indentSize'.       C:\inetpub\MyApp\Web.config 25  93  MyApp
Message 7   Could not find schema   information for the element   'assemblies'.       C:\inetpub\MyApp\Web.config 26  6   MyApp
Message 8   Could not find schema   information for the element   'add'.              C:\inetpub\MyApp\Web.config 27  8   MyApp
Message 9   Could not find schema   information for the attribute 'assembly'.         C:\inetpub\MyApp\Web.config 27  12  MyApp
Message 10  Could not find schema   information for the element   'namespaces'.       C:\inetpub\MyApp\Web.config 29  6   MyApp
Message 11  Could not find schema   information for the element   'add'.              C:\inetpub\MyApp\Web.config 30  8   MyApp
Message 12  Could not find schema   information for the attribute 'namespace'.        C:\inetpub\MyApp\Web.config 30  12  MyApp
Message 13  Could not find schema   information for the element   'add'.              C:\inetpub\MyApp\Web.config 31  8   MyApp
Message 14  Could not find schema   information for the attribute 'namespace'.        C:\inetpub\MyApp\Web.config 31  12  MyApp

Am I doing something wrong?

Thank you for your attention. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:35:17+00:00Added an answer on May 12, 2026 at 1:35 pm

    Seems these are just VS telling you that the custom elements cannot be found inside the XSD for what it thinks configuration files should look like. The same happens with nhibernate.

    So you are not doing anything wrong and u can ignore the messages. They are just informational.

    Based on this blog post
    http://fgheysels.blogspot.com/2006/04/net-20-could-not-find-schema.html

    I could create an nhaml XSD for the config (the same way the nhibernate folks have) but it is not high on my list of priorities. Feel free to have a go at it if the messages really annoy you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.