Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Config Error

The configuration section 'rewriter' cannot be read because it is missing a section declaration
Posted
Updated 26-Feb-15 22:50pm
v2

Refer - URL rewrite - web.config error[^].
Quote:
Make sure your <rewrite> is enclosed in the <system.webServer></system.webServer> section.

Also - The configuration section 'rewrite' cannot be read because it is missing a section declaration[^].
Quote:
That means that URL Rewrite isn't installed on the web server. You can install it from www.iis.net, search for URL Rewrite and it should be at the top.
 
Share this answer
 
Comments
itsathere 27-Feb-15 8:38am    
both of the above comment i have checked already..not working
Quote:
because it is missing a section declaration

Well normally that means that you do not have a line in your configsections part declaring the section before it starts.

Look at the 'declaring custom configuration sections' part of this article Understanding Section Handlers - App.config File[^]
 
Share this answer
 
Install the rewrite module on the webserver and that error should go away:
http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900