MemberList.aspx error

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.
5/14/2011 4:25:48 PM
Gravatar
Total Posts 63
Jerry McCreary
SureFire Studios, Inc.

MemberList.aspx error

mojoPortal Version:   2.3.6.5 MSSQL
Operating System: Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Info: Running in Partial Trust

-----------------------------------------------------

I am receiving the following error when going to MemberList.aspx from the Admin. This is a standard installation. I'm not sure how to reproduce the error. I just noticed it today when going to assign permissions for a user.  

Any help is greatly appreciated.


The error in system log is:

2011-05-14 17:13:47,989 ERROR mojoPortal.Web.mojoBasePage - xx.xx.xx.xxx-en-US - /MemberList.aspx
System.NullReferenceException: Object reference not set to an instance of an object.
   at mojoPortal.Web.UI.Pages.MemberList.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2011-05-14 17:13:48,052 ERROR mojoPortal.Web.Global - xx.xx.xx.xxx-en-US - /MemberList.aspx
System.NullReferenceException: Object reference not set to an instance of an object.
   at mojoPortal.Web.UI.Pages.MemberList.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

5/17/2011 6:58:50 AM
Gravatar
Total Posts 18439

Re: MemberList.aspx error

Is this one of my pre-compiled release packages or did you make your own from source code?

Are you using a custom skin? Does using a different skin cause the same error or does it go away?

5/17/2011 10:32:17 AM
Gravatar
Total Posts 63
Jerry McCreary
SureFire Studios, Inc.

Re: MemberList.aspx error

Yes, this is a pre-compiled release installation.
Yes, it is a custom skin.
No, the error does not go away with a mojoportal skin.

The site is running in partial trust. Could it be a permissions issue?

I re-installed the bin folder, but no change. I can try re-installing the whole site.
Any other suggestions for troubleshooting?

 

I received this error after re-installing the bin folder and running /Setup/Default.aspx. But it doesn't appear again after I cleared the System Log. Not sure if helpful.

2011-05-17 11:05:13,216 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2011-05-17 11:20:53,278 INFO mojoPortal.Web.Global - Application Started.
2011-05-17 11:20:53,310 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

5/17/2011 11:41:21 AM
Gravatar
Total Posts 18439

Re: MemberList.aspx error

Well a null reference exception usually indicates something is missing like a control it expects or depends on. I cannot replicate the problem, so my advice would be to try redeploying all of the files and watch carefully for failed transfers.

It is not a medium trust error and the error you posted for medium trust is always expected to be logged when the application start event fires if using medium trust and .NET 3.5.

Hope that helps,

Joe

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