|
Subject:
|
runtime error???
|
|
Posted By:
|
jeffreyJS
|
Post Date:
|
9/13/2006 2:48:28 AM
|
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" />
Source File: C:\Inetpub\vhosts\megapro.sg\subdomains\dniv-sg\httpdocs\web.config Line: 26
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
Regards, Jeffrey Ngo Student Singapore
|
|
Reply By:
|
Aaron Edwards
|
Reply Date:
|
9/13/2006 7:24:35 PM
|
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.
Good luck.
Aaron
|
|
Reply By:
|
jeffreyJS
|
Reply Date:
|
9/13/2006 8:52:33 PM
|
Aaron, i doesn't have any other web.config file in other directories.... what can be the cause of the error? thanks, appreciate it....
Regards, Jeffrey Ngo Student Singapore
|
|
Reply By:
|
Aaron Edwards
|
Reply Date:
|
9/13/2006 8:58:50 PM
|
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.
Aaron
|
|
Reply By:
|
jeffreyJS
|
Reply Date:
|
9/14/2006 4:07:43 AM
|
Aaron,
Thanks for so much advises, i will try to take note of this, hopefully it can works well for me as well, thanks once again.. Good luck too!!!!!
Regards, Jeffrey Ngo Student Singapore
|