Error in web.config 3.5

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
12/12/2011 10:40:30 AM
Gravatar
Total Posts 148

Error in web.config 3.5

Hi:

Can anyone interpret this error I received from the 2.0 ASP.NET compiler?

Line 2: 

<configuration>

Line 3:  <configSections>

Line 4: <!-- Comment this out in Medium Trust -->

Line 5:  <section name="neatUpload" type="Brettle.Web.NeatUpload.ConfigSectionHandler, Brettle.Web.NeatUpload" allowLocation="true"/>

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

12/12/2011 10:42:34 AM
Gravatar
Total Posts 148

Re: Error in web.config 3.5

Continuing:

The compiler returns 'value' is a duplicate attribute name.  Line 4, position 66

12/12/2011 11:17:00 AM
Gravatar
Total Posts 18439

Re: Error in web.config 3.5

mojoPortal requires at minimum .NET 3.5 sp1 though that is really just 2.0 with some additional things.

If you are not using .NET 4 then you need to use one of the Web.config files for 3.5 ie Web.net35.config or Web.net35.mediumtrust.config

See also The .NET 4 Transition Plan and the 9th and 10th items in our FAQ.

My advice to anyone is to use .NET 4, it has been out for a long time and has many benefits over 3.5 and eventually we will drop support for .NET 3.5, so I would advise using .NET 4 especially for any new sites. For example if you use .NET 3.5 under medium trust you will not be able to use more than one skin because VirtualPathProvider don't work under .NET 3.5 medium trust and it means that all skins will use the theme.skin file from /App_Themes/default instead of the one in the skin folder, and therefore all skins will have the same settings and that causes problems where skins may not render correctly.

Hope that helps,

Joe

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