Problem after install of 2-3-8-1

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/6/2012 3:09:36 PM
Gravatar
Total Posts 30

Problem after install of 2-3-8-1

Here's the process I took:

I installed mojoportal-2-3-8-1-mssql-net40-deploymentfiles.zip

I changed the server to .Net 4.0 (Discountasp.net)

This worked.

However, I realised that updating to this version of .Net caused me issues with my own custom web services which are compiled under .Net 3.5, and since I use Visual Studio 2008 I can't develop in .Net 4.0

So I attempted to downgrade to the same package version (as well as re-setting the server .Net version to a maximum of 3.5 SP1) .

I upgraded to .Net 3.5 using this file:

mojoportal-2-3-8-1-mssql-net35-deploymentfiles.zip

After this I get this error:

"Could not load file or assembly 'Microsoft.Web.DistributedCache' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."

I did a quick google search and turned up that it's about Azure cache.  This link (in another language - but the translation through google seems good).

http://vunvulearadu.blogspot.com/2011/10/could-not-load-file-or-assembly.html

This one too:

http://social.msdn.microsoft.com/Forums/en-IE/windowsazuredevelopment/thread/714ef362-e817-4eb3-ae76-4e9f3640cdec

 

In short it looks like it can be corrected by changing the reference however I don't have time for this so I'm going back to my old version for the moment.  I bet this works perfectly in 3.5 mode on a server that also has 4.0 running.

2/6/2012 3:20:27 PM
Gravatar
Total Posts 18439

Re: Problem after install of 2-3-8-1

Hi,

Just delete any dlls it complains about from the /bin folder

Some files are only included in the.NET 4 package, but downgrading did not remove them.

You can probably qualify to get VS 2010 free via the Microsoft Website Spark program. When .NET 4.5 ships later this year we will probably drop support for .NET 3.5, also there are medium trust problems under .NET 3.5 that affect design and skinning. .NET 4 works better.

Hope that helps,

Joe

2/6/2012 5:18:00 PM
Gravatar
Total Posts 30

Re: Problem after install of 2-3-8-1

Thanks.  I'll try that.  I'll let you know the outcome.

I'm in the process of getting VS 2010 installed shortly anyway.

2/7/2012 4:45:24 AM
Gravatar
Total Posts 30

Re: Problem after install of 2-3-8-1

Hi - as promised I followed the instructions and I'm up and running again.

Thanks again.

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