Set Up error Config File

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.
8/30/2009 11:24:58 PM
Gravatar
Total Posts 2

Set Up error Config File

Hi,

I am totally new at developing websites, but have done extensive research on the CSM systems available on the web and I believe I have found the most flexible and best supported in mojoPortal. I am very interested on trying out its features on a couple of my projects.

I successfuly instaled on Windows XP, SQL Express using Microsoft's Web Platform Intaller, which BTW is a wonderful tool, (I did not have to wory about seting up a database or dilling with ISS), but when runing set up I receive the follwing error:

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 attribute 'type'.

Source Error:

Line 8: <!-- 3.5 .NET -->

Line 9: <sectionGroup name="system.web"></sectionGroup>

Line 10: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

Line 11: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

Line 12: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

 

Source File: c:\inetpub\wwwroot\mojoportal\web.config Line: 10

Can you help?

8/31/2009 9:49:48 AM
Gravatar
Total Posts 2205

Re: Set Up error Config File

Check the web site configuration in IIS. Make sure it is set to use ASP.NET 2.0.

  1. Open IIS Manager
  2. Located website and right-click on it and select properties
  3. Select the ASP.NET tab
  4. Change default .net version to 2.0

HTH,
Joe Davis

8/31/2009 11:23:44 AM
Gravatar
Total Posts 18439

Re: Set Up error Config File

I think you do not have .NET 3.5 SP1 installed. 

Hope it helps,

Joe

8/31/2009 12:04:54 PM
Gravatar
Total Posts 2

Re: Set Up error Config File

Thank you for your help. I tried Joe Davis idea and the set up run OK, but when I click "Site Home Page" I get the following error on a new browser page:

The website declined to show this webpage

HTTP 403

Most likely causes:

•This website requires you to log in.

What you can try:

Go back to the previous page.

More information

This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage.

For more information about HTTP errors, see Help.

Any ideas? I checked and I have ASP.NET 3.5 SP1 installed.

Thank you both for your help.

 

8/31/2009 12:24:53 PM
Gravatar
Total Posts 18439

Re: Set Up error Config File

Make sure that IIS is configured for both windows and anonymous authentication. Make sure the NetWork Service user has read permissions on the web file system and write permissiosn on the /Data folder.

Hope it helps,

Joe

8/31/2009 12:25:43 PM
Gravatar
Total Posts 18439

Re: Set Up error Config File

Or I mean the aspnet user in XP not Network Service.

9/1/2009 1:38:06 AM
Gravatar
Total Posts 11

Re: Set Up error Config File

I had the same error message after configuring a new system. I found a link after doing a Google search but can't find it now. Somewhere in the xp install / asp.net setup sometimes it doesn't configure properly.

If you go into Admin Tools, select IIS, select local computer, select Web Sites and right click for properties. Select documents and add default.aspx. You have to move default.aspx to the top. If default.aspx is there, it's another issue.

Anyway, the instructions were somewhere along this line and it worked for me. This was for installation of mojo on a localhost.

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