2.3.1.5 upgrade and clean install fails

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.
8/24/2009 7:37:45 PM
Gravatar
Total Posts 218

2.3.1.5 upgrade and clean install fails

It's probably me but my upgrade to 2.3.1.5 failed to load a site after the upgrade (upgrade script appeared to run fine). Then I tried a fresh install and am having the same problem. It installs fine but will not load the start page....have tried a lot of different things here. This is the error I get each time (again, clean install even). My upgrade is version is also hosed, so hopefully afix to one will fix the other.

 

Method not found: 'Void System.Web.UI.HtmlControls.HtmlForm.set_Action(System.String)'.

Exception Details: System.MissingMethodException: Method not found: 'Void System.Web.UI.HtmlControls.HtmlForm.set_Action(System.String)'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[MissingMethodException: Method not found: 'Void System.Web.UI.HtmlControls.HtmlForm.set_Action(System.String)'.]
   mojoPortal.Web.UI.mojoRating.Page_Load(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint

8/24/2009 7:42:44 PM
Gravatar
Total Posts 2239

Re: 2.3.1.5 upgrade and clean install fails

What database platform? I ask this because it may point to an incomplete release package. I am using MSSQL and it worked fine. You may try downloading the release package again.

-Joe

8/24/2009 7:46:40 PM
Gravatar
Total Posts 218

Re: 2.3.1.5 upgrade and clean install fails

MSSQL 2005. It's probably something small I'm not thinking of... I'll try downloading again as well.

8/24/2009 8:28:12 PM
Gravatar
Total Posts 218

Re: 2.3.1.5 upgrade and clean install fails

I've been trying everything. Even on clean install get this:

Trace Information

CategoryMessageFrom First(s)From Last(s)
aspx.page Begin PreInit    
aspx.page End PreInit 7.0894588558043 7.089459
aspx.page Begin Init 7.08968150980083 0.000223
aspx.page End Init 7.16407308750134 0.074392
aspx.page Begin InitComplete 7.16426110022363 0.000188
aspx.page End InitComplete 7.16435217325107 0.000091
aspx.page Begin PreLoad 7.164429836753 0.000078
aspx.page End PreLoad 7.16453767168732 0.000108
aspx.page Begin Load 7.16461701137994 0.000079
Unhandled Execution Error
Method not found: 'Void System.Web.UI.HtmlControls.HtmlForm.set_Action(System.String)'.
  at mojoPortal.Web.UI.mojoRating.Page_Load(Object sender, EventArgs e)
  at System.Web.UI.Control.OnLoad(EventArgs e)
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
8/24/2009 8:47:41 PM
Gravatar
Total Posts 2239

Re: 2.3.1.5 upgrade and clean install fails

Check the properties on any of the files in your site (right-click, properties). At the bottom of the properties window, do you see an Unblock button? If so, you need to download Streams from SysInternals (http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx). There are instructions on how to use Streams and why the files are blocked and causing your problems. I think you'll run "streams -r -d <path to your website files>".

Basically, the file system is blocking the file from being executed because it doesn't trust it for one reason or another. I encounter this quite a bit and it causes all sorts of weird problems.

-Joe

 

8/24/2009 8:52:52 PM
Gravatar
Total Posts 218

Re: 2.3.1.5 upgrade and clean install fails

On this particular server (for work) I don't have access to the server itself. I'll have to get the server admin involved tomorrow I guess.

It was working before the upgrade though. Are you thinking maybe the permissions got out of wack? Or maybe something new with this release of mojo?

Thanks for your help!

8/25/2009 5:47:57 AM
Gravatar
Total Posts 18439

Re: 2.3.1.5 upgrade and clean install fails

Hi Eric,

The problem is it requires .NET 3.5 SP1, your server seems to not have the SP1.

In this release I fixed an issue where pages using UpdatePanels in folder based child sites were posting back incorrectly because the form action was changing after the first ajax postback. I fixed this by adding code to ensure the correct form action like this:

Page.Form.Action = Request.RawUrl;

but this method is new as of  3.5 SP1, it was not previously possible to do this.

Hope it helps,

Joe

8/25/2009 8:18:10 AM
Gravatar
Total Posts 218

Re: 2.3.1.5 upgrade and clean install fails

Great!!! That helps, I'll get on the server admin ASAP.

8/25/2009 8:22:45 AM
Gravatar
Total Posts 218

Re: 2.3.1.5 upgrade and clean install fails

Just to add a note: It would be really helpful if there were more detailed release notes regarding each release. Maybe you didn't realize .NET 3.5 SP1 was required, but as you find out these items could ideally be listed with the release notes to give people a heads up. I spent a LOT of hours trying to figure out why this one server simple would not upgrade.

As with everything time is limited I can imagine, just some feedback. Love the new features though, good stuff!!

8/25/2009 8:42:20 AM
Gravatar
Total Posts 18439

Re: 2.3.1.5 upgrade and clean install fails

We have targeted .NET 3.5 SP1 since version 2.2.8.0 released in December 2008 so I did not think this change would impact anyone as I assumed that everone was already running on 3.5 SP1. I did not know it could run without the SP1 before.

But I did find it was not listed correctly in our documentation here so I corrected it, but its been listed on our codeplex homepage for a long time.

Sorry for the difficulty though.

Best,

Joe

8/25/2009 9:22:35 AM
Gravatar
Total Posts 2239

Re: 2.3.1.5 upgrade and clean install fails

Thanks Joe for setting this one straight.

Eric, What I was referring to has to do with alternate data streams in NTFS. Occasionally, NTFS will block a file that has been downloaded using Internet Explorer (or unzipped using Windows Explorer...sometimes) because IE or Windows will automatically attach a Zone.Identifier=3 stream to the file. This Zone.Identifier tells NTFS that it doesn't know where the file came from. This is supposed to be one of those last ditch effort security features that usually just causes admins a bunch of heart-ache. I have seen it save a couple people from using/running very dangerous stuff on their computers.

You probably will not run into this issue if you are copying your files to your server via FTP because the FTP protocol doesn't recognize Streams and thus removes them. I have this issue on occassion but I not as much since I quit using the built-in Windows ZIP utility.

Sorry to get you running in the wrong direction.

-Joe D.

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