Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

the element 'buildProviders' cannot be defined below the application level

Tags:

asp.net

I have created an asp.net C# application developed in visual studio 2010, which is running without any error on my PC, but when i tried to run the same application on another computer with visual studio 2010, it gives following error,

The element 'buildProviders' cannot be defined below the application level.

like image 902
abhid89 Avatar asked May 16 '13 12:05

abhid89


3 Answers

Following article at http://forums.iis.net/t/1160248.aspx?The+element+buildProviders+cannot+be+defined+below+the+application+level+

You probably need to convert the virtual directory to application. I encountered this when deploying my app (using NancyFX).

You can open IIS Manager->Right-click the diretory of your web application->Click Convert to Application.

like image 139
Niko Gunadi Avatar answered Oct 17 '22 02:10

Niko Gunadi


I faced this problem and i found out that somehow i had another version of my website within the subfolders of my webstie.

Meaning that my website is in a folder called "FrontEnd". Withing this folder there is a subforlder called backup that contains a backup of my website.

when i removed the backup folder, everything went ok.

like image 37
user3272288 Avatar answered Oct 17 '22 04:10

user3272288


If you recently upgraded your solution, check for the backup directory for crystal report within your solution. The backup directory can get created when you upgrade visual studio. To resolve this error, closed the solution. Went to the solution directory and delete or move the backup directory to a different location outside of the solution directory. This solved the problem for me

like image 2
Santosh Avatar answered Oct 17 '22 03:10

Santosh