Page 1 of 1

Node cannot be used in configuration file...error in ASP.net

PostPosted: January 23rd, 2014, 11:23 pm
by nexialist
Hi,
I really need help on this. I can't run the Phalanger samples for web asp.net integration. I see similar error in most samples. Please help. It's a configuration error. Please see error message below:

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: Node cannot be used in configuration file located on virtual path '/webroot/samples/simplescripts' because it defines application wide configuration.

Source Error:


Line 51: Recognized by the command line compiler (phpc).
Line 52: -->
Line 53: <classLibrary>
Line 54:
Line 55: <!-- Base Class Library -->

Re: Node cannot be used in configuration file...error in ASP

PostPosted: January 24th, 2014, 1:46 pm
by Jakub Misek
Parser Error Message: Node cannot be used in configuration file located on virtual path '/webroot/samples/simplescripts' because it defines application wide configuration.
it is .NET config exception; you have to move this configuration node into the root of your asp.net application, not a subfolder.

Re: Node cannot be used in configuration file...error in ASP

PostPosted: January 25th, 2014, 5:05 am
by nexialist
Perfect! That solved my problem! Thanks a lot and Keep up the great work !