Configuration error - line 955

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.
3/20/2009 2:54:28 AM
jlc
Gravatar
Total Posts 6

Configuration error - line 955

Hiya guys

As alot of other guys, I've seen MojoPortal and think it looks great, however it seems im not smart enough to install it :(

OS = windows 2003 R2 (without R2 options installed)
DB=MSSQL 2005 (installing SP3 now, it was without SP at the time of Mojo Installation)
Mojo=2.2.9.5 mssqlrelease
.NET=2.0 SP1

My setting in User.config file (password have been altered) :)
<add key="MSSQLConnectionString" value="server=(local);UID=mojo;PWD=Password;database=cms_mojo" />

If made similar change in the web.config file (which i assume is the fulltrust on, since i havent changed anything around from the unpacked package.
I am aware that it should take my user.config settings, however i tried the web.config too, in case it would do the trick
<!-- MS SQL Database Settings *************************************** -->
<add key="MSSQLConnectionString" value="server=(local);UID=mojo;PWD=Password;database=cms_mojo" />
<!--

On the website i've allowed Scripts and excuteables, ive also got at host header JLCMOJO which is in my local DNS. (im planning on forwarding from y firewall, when im ready to publish the web)

Ive given both ASPNet, Network Service and IIS_WPG accounts full rights in the Datafolder beneath my website
Ive tried to install Mojo as a site, not a service (but willing to try that instead) :)
Ive created an SQL account, that I've tested i can log on with through SQL Management studio console.

 

So when i go to my website/setup/default.aspx i get the following error (what have i missed) :) ??


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 953: </system.web.extensions>
Line 954:
Line 955: <system.serviceModel>
Line 956: <services>
Line 957: <service name="System.Web.ApplicationServices.AuthenticationService" behaviorConfiguration="AuthenticationServiceTypeBehaviors">
 

Source File: D:\inetpub\wwwroot\CMSmojo\web.config Line: 955


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

3/20/2009 6:13:32 AM
Gravatar
Total Posts 18439

Re: Configuration error - line 955

Hi,

mojoPortal requires .NET 3.5 SP1 and you are running .NET 2.0.

You can either upgrade to .NET 3.5 SP1 or use an older version of mojoPortal, 2.2.7.8 is the last version to target 2.0 .NET.

Hope it helps,

Joe 

3/20/2009 6:23:02 AM
jlc
Gravatar
Total Posts 6

Re: Configuration error - line 955

Hiya Joe

Tnx... well, yesterday i upgraded to .net 3.5 - but on a server that have had other stuff installed, which was the reason i tried on another computer today - however forgetting the .net version... Ill try that.

Tnx again

Jørgen

3/20/2009 7:25:28 AM
jlc
Gravatar
Total Posts 6

Re: Configuration error - line 955

 

It now works great, cant wait to look into it :)

Tnx again

/jørgen

4/7/2009 2:49:11 PM
Gravatar
Total Posts 1

Re: Configuration error - line 955

Hey guys,

 

I'm having a similar problem.

Line 961: </system.web.extensions>
Line 962:
Line 963: <system.serviceModel>
Line 964: <services>
Line 965: <service name="System.Web.ApplicationServices.AuthenticationService" behaviorConfiguration="AuthenticationServiceTypeBehaviors">

Running on: Microsoft SQL Server 2005 - 9.00.3073.00 (X64)
Aug 5 2008 14:31:47
Copyright (c) 1988-2005 Microsoft Corporation
Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2)

MSSQL

I've followed the previous advise, dropped down to 2.2.7.8 and I'm still having this problem.  Any ideas?  Thanks

 

4/7/2009 2:53:30 PM
Gravatar
Total Posts 18439

Re: Configuration error - line 955

Hi,

If you are running mojoPortal 2.2.7.8 on 2.0 .NET, you can safely chop out the <system.serviceModel... section from the Web.config file and it may help you get past this error. 

Though if possible I encourage you to upgrade to .NET 3.5 SP1 and the newest version of mojoPortal.

Hope it helps,

Joe

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