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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
You may also want to review the installation or upgrading documentation.
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
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
Thanks Joe,
Installed the right version and all is up and running.
Paul
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?
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
Parser Error Message: Child nodes not allowed.
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
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