duplicate config entry error

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.
11/11/2010 9:17:15 AM
Gravatar
Total Posts 22

duplicate config entry error

Hi,

Im new to mojoportal and fairly new to IIS so hopefully someone can help with the following problem

Mojoportal has installed with no problems but when i try to launch default.aspx I get an error telling me there are duplictae entries in web.config.

Exact error message is:

Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined Config File \\?\C:\inetpub\wwwroot\mojoportal\web.config

 

I have checked the web.config in the root folder and cannot see any entries that would cause this error. I have also tried commenting out the entry listed but I get the same error for the next entry <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions,

I dont want to comment out all these entries as they were generating during the install so if anyone can help it would be greatly appreciated

 

11/11/2010 9:35:38 AM
Gravatar
Total Posts 18439

Re: duplicate config entry error

It means you are hosted under .NET 4 but you installed the mojoPortal package for .NET 3.5. you should install the mojoPortal package for .NET 4.0.

Best,

Joe

11/12/2010 9:50:16 AM
Gravatar
Total Posts 22

Re: duplicate config entry error

Cheers Joe. worked a treat

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