Upgrade Help

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.
10/30/2015 9:25:48 AM
Gravatar
Total Posts 6

Upgrade Help

Trying to go from 2.3.3.5 (pretty sure) to the most recent version.

Server: Windows 2008

DB: MS SQL 2008

.net V4-4.5

Saved my user.config, updated my webconfig to use the machine key. Uploaded everything in the recommended order.

500 error

log shows nothing useful, just the standard medium trust startup error.

Changing custom error in web config to "off" yeilded nothing... still just getting a 500 error.

Trying to get some assistance from the webhost, they have prooved to be somewhat helpful in the past, but I don't have a lot of hope there.

10/30/2015 9:33:35 AM
Gravatar
Total Posts 18439

Re: Upgrade Help

if you are hosted in medium trust you need to use our medium trust configuration you could start with our medium trust package, which is pre-configured for medium trust.

The only difference with our medium trust package is the web.config file has some differences and the AjaxControlToolkit.StaticResources.dll is deleted from the bin folder

So if you used the non-medium trust package you should update to use that web.config file and delete the dll mentioned.

Hope that helps,

Joe

10/30/2015 9:40:08 AM
Gravatar
Total Posts 6

Re: Upgrade Help

Joe,

 

about 99% sure that is the download I used.  That's at home, and I am not, however.

I'll look for that .dll in the bin, though.

 

//edit... yeah, no such file in the bin. Frustrating. I don't want to have to fall back to the previous version.

10/30/2015 9:44:58 AM
Gravatar
Total Posts 18439

Re: Upgrade Help

you have not posted any error detail. I have no idea what you mean by standard medium trust error

10/30/2015 9:50:37 AM
Gravatar
Total Posts 6

Re: Upgrade Help

Sorry...this

2013-10-30 04:40:12,552 INFO mojoPortal.Web.Global - Application Started. 
2013-10-30 04:40:12,599 ERROR mojoPortal.Web.Global - Application_Start Could not register VirtualPathProvider, this error is expected when running in Medium trust or lower 
System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
   at mojoPortal.Web.Global.RegisterVirtualPathProvider()
   at mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e)
The action that failed was:
InheritanceDemand
The type of the first permission that failed was:
System.Web.AspNetHostingPermission
The Zone of the assembly that failed was:
MyComputer
2013-10-30 09:45:18,797 INFO mojoPortal.Web.Global - Global.asax.cs Application_End

Not frustrated with you! My webhost was a bear trying to get Mojo setup the first time, which is part of why I haven't tried to update for many years.  But..  I just need to at this point.

 

hhmm... just noted there is no "application started" at the end, where there usually is.

10/30/2015 10:04:40 AM
Gravatar
Total Posts 18439

Re: Upgrade Help

That error that is logged is not preventing the app from working, it just affects skins/theme settings.

Some other error must be happening and without knowing the error details I don't have any suggestions.

10/30/2015 10:04:50 AM
Gravatar
Total Posts 6

Re: Upgrade Help

webhost told me I had a corrupt web.config.  So downloaded the package again, replaced the machine key (which it looks like was the problem... I didn't paste it well), and re-uploaded.

 

Still no love :(

10/30/2015 10:05:16 AM
Gravatar
Total Posts 6

Re: Upgrade Help

Thanks, Joe, I appreciate it.

10/30/2015 1:24:47 PM
Gravatar
Total Posts 6

Re: Upgrade Help

I am happy to say that I am up and running thanks to the webhost support.  Shocking, I know... but I guess I got an agent who was knowledgable about mojo and once he got the errors turned on he knew right where to go in the web.config to resolve the issue.

 

turns out I am running in full trust, so I guess I need to re-upload some stuff.

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