Upgrading to .Net4 Release

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.
7/12/2011 2:46:04 PM
Gravatar
Total Posts 20

Re: Upgrading to .Net4 Release

Oh.  I am running the latest version of Mojoportal (mojoportal-2-3-6-7-mssql-net40-deploymentfiles.zip).

Paul

7/13/2011 5:54:13 AM
Gravatar
Total Posts 18439

Re: Upgrading to .Net4 Release

should not happen at all under .NET 4 hosting, if it does happen it is something weird about the machine. I would check with your host and verify that you really have .NET 4 and are using a .NET 4 integrated application pool.

The 9th and 10th items on our FAQ are relevant to this.

Hope that helps,

Joe

7/13/2011 11:20:23 PM
Gravatar
Total Posts 355

Re: Upgrading to .Net4 Release

I ran into this somewhat frequently with my previous hosting provider, until I was able to prove that it was a server issue; Joe is correct in that this is an issue with the .Net framework installation. If they re-install their framework installation on the server, it usually resolves the issue.

7/14/2011 9:26:11 AM
Gravatar
Total Posts 20

Re: Upgrading to .Net4 Release

Thanks for all your kind replies!

I got it resolved.  I asked and paid for .NET 4 hosting and got .NET 2.0.  I had to hammer the host to get it and prove I had something other than .NET 4.  Quite frustrating.

Paul

7/14/2011 1:51:30 PM
Gravatar
Total Posts 355

Re: Upgrading to .Net4 Release

The error message is pretty much truth right there; I haven't run into the issue at Arvixe, but I've gone through it enough with another hosting provider that the pain point is quite recognizable.  Glad you stuck to your guns, and got it resolved!

8/22/2011 4:55:20 PM
Gravatar
Total Posts 45

Re: Upgrading to .Net4 Release

IndigoTea,

I keep running into this error all the time with Arvixe when I install a new website to use .NET 4.0 hosting.  I can switch it over to .NET 4.0 Intergrated Pipeline mode, stop the server, upload mojoPortal (I downloaded the source from CodePlex and compiled myself), then start the website and I get the same error about "system.web.extensions".  The only way I can get it fixed is to contact support for them to set it to .NET 4.0 as the Website Panel software freaks out and won't let you change it.  This occurs on their flax server, for the site dallasmicro.net.

Hopefully they can make this more reliable by the time it comes for me to renew as it is very painful to get a new site up in a timely manor compared to other hosting companies I use.

Thanks,
Todd

8/22/2011 5:12:00 PM
Gravatar
Total Posts 355

Re: Upgrading to .Net4 Release

Todd,

I'll pass on your experience to the folks at Arvixe, and see if we can get the default for .Net sites set to 4.0 - that would save time and hassle for clients and support people. Thanks for your feedback!

8/25/2011 11:59:54 AM
Gravatar
Total Posts 167

Re: Upgrading to .Net4 Release

Hi, 

Similar issue here as well, however I manage my own server. 

I believe that I have .net 4 installed on the server as I have the folder C:\Windows\Microsoft.NET\Framework\v4.0.30319 as well as v3.0 and V3.5

I have a mojoportal installation running on 3.5 and have now set up (on a different drive on the same server) a 4.0 installation.

This new installation gets the 500 internals sever error and when I go into IIS to look at bits such as ".NET Profile" I get the 

Error: The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration

as mentioned previously. If I go to view the site in visual studio I get the message that the site is V2.0 and do I want to update to 3.5, which I quickly escape from.

Any suggestions on where to look to resolve this. I am a bit ignorant with regards to whether a server can run both .net 3.5 and 4.0 versions of mojoportal. Ideally I would like to run both and upgrade the 3.5 version later if possible.

 

 

8/25/2011 12:03:53 PM
Gravatar
Total Posts 18439

Re: Upgrading to .Net4 Release

You need to use a .NET 4 application pool in order to make a site run under .NET 4.

See also the 9th and 10th items in our FAQ which relate to the section error.

Hope that helps,

Joe

8/25/2011 1:10:23 PM
Gravatar
Total Posts 167

Re: Upgrading to .Net4 Release

Sometimes the answer is too easy. 

Not being a master of IIS, I was not too confident with what you meant by 

You need to use a .NET 4 application pool in order to make a site run under .NET 4.

But as with most things you have a look round and the answer is staring you in the face.

For those who are like me to and were a bit confused what to do, all you need to do is go to IIS

Select Application pools and find the application pool for the .NET 4.0 site. Select this and then edit basic settings. In there is a dropdown box for ".NET Framework version" which in my case was set to ".NET Framework 2.0", I changed this to ".NET Framework 4.0" and the site is fixed. So much more easier that I was expecting.

Many thanks Joe

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