Saturday, March 24, 2012

Configuration Error! The element buildProviders cannot be defined below the application le

What's the problem. I will go crazy. Please help me. I'e searched fot lots of forums, there are other people too asking that question, facing that problem but nobody gave them proper solution. Please help .Thank you all .

Server Error in '/' Application.

Configuration Error

Description:Anerror occurred during the processing of a configuration file requiredto service this request. Please review the specific error details belowand modify your configuration file appropriately.

Parser Error Message:The element 'buildProviders' cannot be defined below the application level.

Source Error:

Line 60: -->
Line 61: <compilation debug="true">
Line 62: <buildProviders>
Line 63: <add extension=".asbx" type="Microsoft.Web.Services.BridgeBuildProvider"/>
Line 64: </buildProviders>

hello.

make sure your web app is configured to use asp.net 2.0 (in IIS).


Even i am facing the same problem. its is running with .net2.0 only. but still same error is coming. what else could be the reason for this?
Are you attempting to add this element in a web.config that is in a folder of your web application? If your app starts at a root, say /theweb, then the web.config with these entries needs to be at that root level.

Hello, I have the same problem but here is my question...

I already have a website running 1.1 extensions on a server host. I wanted to play with 2.0 so I created a "virtual directory" and gave it 2.0 extensions (using a control panel provided by the host). Everything worked fine inside that folder. Until I added AJAX website to that folder I started getting the error. Can i enable this folder as an app? Since this folder is a subfolder of another app in the root, will this hurt the root app?

I hope I am making sense as all this is new to me.

Thanks
Skimo

1 comment:

Unknown said...

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The element 'buildProviders' cannot be defined below the application level.

what that error says is that element can only be present on the web.config placed on the top level folder of an application dir. in this case, i think that you have a sub directory with your site and this sub directory isn't configured in IIS as a web application. so, copying that line to the web.config file placed at the top folder or configuring IIS so that the sub directory is configure as an app should solve this.

Post a Comment