Unrecognized configuration section system.web.extensions

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.
10/3/2011 10:35:12 AM
Gravatar
Total Posts 148

Unrecognized configuration section system.web.extensions

I downloaded the Mojo Portal source code. I opened the Solution File mojoportal.net35.sln file in Visual Studio 2010.

The solution builds fine but when I try to open the website I receive the following error:

 

Unrecognized configuration section system.web.extensions

 


I have .Net 2.0 installed. By the way, how do you check if you have .Net 3.5 SP1 installed?

Thanks.

10/3/2011 11:12:35 AM
Gravatar
Total Posts 115
mojoPortal Community Expert

Re: Unrecognized configuration section system.web.extensions

It could be the web.config for the source code version of mojoPortal is configured for the 4.0 framework. Compare the web.config in the \Web folder to the Web.net35.config file.

If you have Visual Studio 2010 your best bet is to work with the Dotnet Framework 4.0 code unless you really need support for 3.5. Support for the 3.5 framework will stop at some point in the future.

10/3/2011 11:34:05 AM
Gravatar
Total Posts 148

Re: Unrecognized configuration section system.web.extensions

So, the mojoportal.sln is for 4.0? 

I downloaded the source last week and opened the solution file mojoportal.sln, built the website and everything worked fine.  I could add pages, edit pages..etc. The site looked good.  However I accidentally forked the code so I needed to start from scratch. I deleted my original projects and unzipped the same source code file again, opened the same Solution File, mojoportal.sln, and built the solution again.  Now my website looks as if my computer is low on memory. The home page doesn't load the images and the fonts are replaced.  All I did was unzip the same file, rebuild and open the site...now it looks horrible.

 

I think I need to run the scripts again but I'm not sure how.  Before, they ran automatically.

Any tips?

10/3/2011 12:36:45 PM
Gravatar
Total Posts 18439

Re: Unrecognized configuration section system.web.extensions

Get the code using Tortoise HG, using those download links on codeplex does not produce a good result.

See The .NET 4 Transition Plan, use .NET 4 if at all possible ie use a .NET 4 application pool if using IIS.

See items 9 and 10 on the FAQ

You can always safely visit the /Setup/Default.aspx page but if you are using the same database then it will not run any scripts since they already ran.

See my answer about skin files on your duplicated question on this thread.

 

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