ASP.NET 2.0 BasicsIf you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
i just uploaded my files to a server and i receive this message from the browser ( shown below) what coulkd have gone wrong?? Please advise... i just realise could it be framework version problem???
Server Error in '/' Application.
--------------------------------------------------------------------------------
Configuration Error
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: Child nodes are not allowed.
Source Error:
Line 24: <compilation strict="false" explicit="true" />
Line 25: <pages>
Line 26: <namespaces>
Line 27: <add namespace="System" />
Line 28: <add namespace="System.Collections" />
Do you have any subdirectories in your solution? Are there any web.config files in any of the subdirectories. That would do it. If there are, rename them or exclude them and see if it works then.
Well, maybe someone else has a better idea. Anyway, that's my experience. It's happenned to me a couple of times. Make sure you don't have a backup of the site in any subdirectory somewhere
(on a regular basis I always zip up my site and store it in a Backup folder which is a subfolder of my site. This is fine until I have to unzip one of the .zip files (to restore a file that I've messed up for example); if I leave the file unzipped it throws this error).
Double check. Try excluding all subdirectories just to be certain. Good luck.