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

Integrating PHP and C# together. Using .NET libraries from PHP and vice versa.

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

Postby nexialist » January 23rd, 2014, 11:23 pm

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 -->
nexialist
 
Posts: 4
Joined: January 15th, 2014, 5:32 am

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

Postby Jakub Misek » January 24th, 2014, 1:46 pm

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.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2078
Joined: January 4th, 2012, 2:42 pm
Location: Prague

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

Postby nexialist » January 25th, 2014, 5:05 am

Perfect! That solved my problem! Thanks a lot and Keep up the great work !
nexialist
 
Posts: 4
Joined: January 15th, 2014, 5:32 am


Return to PHP/C# interoperability

Who is online

Users browsing this forum: No registered users and 2 guests

User Control Panel

Login

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 77 on September 4th, 2018, 9:46 pm

Users browsing this forum: No registered users and 2 guests
Phalanger