Configuration error using MSSQL

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/20/2008 5:35:30 AM
Gravatar
Total Posts 3

Configuration error using MSSQL

Hi,

I am trying to install mojoPortal. I have set up the db and added users etc, but when I go to my site I get the following error. Any ideas how I can resolve this?

Thanks

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: Unrecognized configuration section system.serviceModel.

Source Error:


Line 843: </system.web.extensions>
Line 844:
Line 845: <system.serviceModel>
Line 846: <services>
Line 847: <service name="System.Web.ApplicationServices.AuthenticationService" behaviorConfiguration="AuthenticationServiceTypeBehaviors">
 

Source File: C:\xweb_site\wwwroot\web.config Line: 845


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

12/20/2008 5:45:58 AM
Gravatar
Total Posts 18439

Re: Configuration error using MSSQL

We are now targeting the .NET 3.5 SP1 runtime. The ideal thing would be to install it, though it may be possible for you to get past this exception by commenting out the system.ServiceModel section of Web.config

Hope it helps,

Joe

12/20/2008 9:04:34 AM
Gravatar
Total Posts 3

Re: Configuration error using MSSQL

Thanks Joe,

Installed the right version and all is up and running.

Paul

2/16/2009 10:13:15 AM
Gravatar
Total Posts 1

Re: Configuration error using MSSQL

Hi guys, I got the same issue related here (System.ServiceModel), but right now I can't install the 3.5 Framework on my server, I'm stucked with the 2.0 Framework. There's another way to configure mojoPortal to run without the 3.5?

3/12/2009 10:49:48 AM
Gravatar
Total Posts 33

Re: Configuration error using MSSQL

I am now installing 3.5, but just to humor myself I tried Joe's suggestion.

Commenting out the system.web.extensions (correction, system.servicemodel) section brought up errors about how comments shouldn't have -- in them (from comments within the code). Removing the comments fixed that error, but then I got the following:

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 not allowed.

Source Error:


Line 1017: <compilers>
Line 1018: <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
Line 1019: <providerOption name="CompilerVersion" value="v3.5" />
Line 1020: <providerOption name="WarnAsError" value="false" /></compiler>
Line 1021: </compilers>

Source File: C:\Inetpub\wwwroot\web.config Line: 1019


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

It's probably easier just to install 3.5 at the moment :P

3/12/2009 10:58:47 AM
Gravatar
Total Posts 70

Re: Configuration error using MSSQL

For developers with VS 2008, its not too difficult to produce a 2.0 compatible build by changing the target back to 2.0 .NET and excluding any files that give trouble compiling. I'm sure it will become more difficult over time but right now actual code dependencies on 3.5 are minimal.

Steve

You must sign in to post in the forums. This thread is closed to new posts.