Groups > Application developers > Community Server Setup and Installation > Re: Parser Error Message: Unrecognized configuration section system.serviceModel.




Parser Error Message: Unrecognized configuration section
system.serviceModel.

Parser Error Message: Unrecognized configuration section system.serviceModel.
Fri, 9 Nov 2007 23:17:32 +0000
I'm trying to get the Community Server SDK up and running. I've got IIS setup
and .NET installed. I can run the IIS sample scripts no problem(even when copied
into the directory i'm running trying to run the SDK files out of), but when I
try to hit the csdev virtual directory I set up within IIS, one of two things
happens.

 If I just hit localhost/csdev directly, it appears the file type is 
incorrectly recognized, and it gives me a download diaglog. If I download and
open the file, it is the contents of Default.aspx. 

 

If I try to hit localhost/csdev/Default.aspx directly, I get the following
error: 


Server Error in '/csdev' 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: Unrecognized configuration section system.serviceModel.

Source Error:



Line 134:    </roleManager>
Line 135:  </system.web>
Line 136:  <system.serviceModel>
Line 137:    <extensions>
Line 138:      <behaviorExtensions>
 Source File: 
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config    Line: 
136 

Version Information: Microsoft .NET Framework Version:2.0.50727.1378; ASP.NET
Version:2.0.50727.1378 

 

 

Normally I would think this was just a .NET configuration issue, perhaps paired
with an IIS configuration issue(I typically use apache, so i'm somewhat in the
dark on IIS). However, since I can run the sample .net scripts that come with
IIS, and only the communityserver file seem to be effected, i'm not sure where
this leaves me. Any information you can shed on this issue would be greatly
appreciated.

Thanks - Brad
Post Reply
Re: Parser Error Message: Unrecognized configuration section system.serviceModel.
Sun, 11 Nov 2007 17:24:04 +000
Community Server doesn't have a web.config file which has 



<system.serviceModel> in it.

Please remove that!   IIS doesn't know what to do with that element.

If you are using it in a virtual folder, .net will be pulling the data from the
parent configuration file
Post Reply
about | contact