error getting loaded and running on GoDaddy

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.
4/12/2009 2:33:58 AM
Gravatar
Total Posts 5

error getting loaded and running on GoDaddy

After much ado with getting HTTP 500's to show up so I can find out what's going wrong, I am getting an error after a fresh install on GoDaddy's servers.  The version of mojoPortal is the current one, I just downloaded it yesterday I believe.  I do not know what operating system but it is running IIS 7.0 and SQL Server 2005.  I have momentarily set up the entire path from root folder on down to be read/write because of the way GoDaddy's system is, I cannot segment the child folders from the root en masse. I have to do them individually.  Anyway, that's not the problem.  The problem is something else, which is permissions oriented but not read/write related.  Here's the error showing up in browser window.


[SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.Web.HttpContext.System.IServiceProvider.GetService(Type service) +54
Brettle.Web.NeatUpload.UploadHttpModule.GetCurrentWorkerRequest() +194
Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) +243
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Anyone have any clues at all?  I'm stumped!
 

4/12/2009 3:37:15 AM
Gravatar
Total Posts 5

Re: error getting loaded and running on GoDaddy

I did quite a bit of reading since the post above.  I found thread 2513 particularly useful up to a point.  I am experiencing an interesting error that I have no clue about.  It happens when I try to write any content on any page.  No matter what kind of content no matter what page.  The currentlog.config file contains these entries:

2009-04-12 01:31:19,070 ERROR mojoPortal.Web.mojoBasePage - 66.215.49.10-en-US - /Admin/PageLayout.aspx?pageid=1
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.PageLayout.btnCreateNewContent_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


2009-04-12 01:31:19,086 ERROR mojoPortal.Web.Global - 66.215.49.10-en-US - /Admin/PageLayout.aspx?pageid=1
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.PageLayout.btnCreateNewContent_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

4/12/2009 6:19:12 AM
Gravatar
Total Posts 18439

Re: error getting loaded and running on GoDaddy

Hi Perry,

I'm guessing from one of your other posts that you built the source code and produced your own package for deployment. Most likely you produced your package with the Visual Studio Publish feature but that does not work correctly. It does not package all the needed files and thus you can get strange errors.

I use the free UnleashIt tool to package builds for release/deployment. You need to make sure you add all the file masks as indicated in the linked article.

Hope it helps,

Joe

4/12/2009 6:37:10 AM
Gravatar
Total Posts 5

Re: error getting loaded and running on GoDaddy

Hey Joe,

hmm.. that sounds like the begining of a song by Jimmi Hendrix.  Anyway, Joe, you ROCK man!  This is a great tool.  I hope to enhance this project with a fist full of additions, soon as I can get my feet wet and acclimated to both your code set and Studio 2008. 

Anyhow, on to this issue.  Okay, I was able to track down the error on adding content.  This is unusual to be sure.  When adding a new page, I have to go to the new page after it is created and set the permissions or access rights to allow administrators the ability to edit it.  That is what the null reference error was all about. If I was already acclimated then I'm sure I could figure out how to fix that in the database or wherever the setting is, but for now what I have to do is after adding pages add the right for the administrator to edit the content.

So far everythign else works like a charm.  Oh wait, there is one thing that does not work. It is the Google Maps feature.  I don't recall the exact error but maybe this is a settings issue alone.

By the way Joe, I plan to write a feature for News articles.  Not just feeds or pingers or whatnot, but actual articles like for an online eZine.  Not a blog, a news system.  Hard to describe in few words.  Also I plan to add a feature to the Blog system and for the Forums and the News that I will be makign and everything else on the system actually, the means for remote editors to "rate" all content and rank it into categories.  This way if someone doesn't want to read trash talking they don't have to but it will still allow the trash talker to talk trash.  The non-registered user would come to the site, and would be able to set settings for that visit and it would exist in their cookies.  The registered user would have settings stored in database, of what content they would want to see or not see.

Also I plan to write a feature for advertisers.  A geo-centric system.  Not a news feed system either.  I am all for responsible sites engaged in ads taht are for worthy businesses, like mom and pop shops all across the country.  This obviously is not to maximize profits but to shape the tone of the site in all manners.

Peace bro... thanks for sharing this great software with us.

Perry

4/12/2009 6:52:33 AM
Gravatar
Total Posts 18439

Re: error getting loaded and running on GoDaddy

Hi Perry,

That is strange because Admins can edit anything regardless of whether the Admins role is selected as an edit role. I'm not sure how that problem is happening, I have never seen it and cannot reproduce it. It still sounds like possibly mismatched versions of files got deployed or something. My packages don't exhibit that error.

Regarding your development plans, I would encourage you to do all your custom development in external projects and NOT change mojoPortal code unle4ss there is no other way. Once you start changing mojoPortal code you are creating a fork and that will make it difficult for you to upgrade without losing your changes.

Its possible to submit changes to be included in the project but I have limited capacity to coordinate the efforts of others and only accept changes if they are aligned with where I'm heading for a given feature and depending on how easy it is to include the changes. For example nothing that uses the database in the core of mojoPortal can be included unless its implemented for all supported databases, I can't let the build get broken for any data layers. So, I'm open to contributions but its a case by case basis driven by many factors including how busy I am. Smaller changes are easier to accept if I agree with them. It also easier to consider new features as opposed to modifications to existing ones because this can be dne without any impact on other things going on in the project.

One approach that is safe (but not trivial) is to clone a feature before you start customizing it. That is the safest way to ensure you can always upgrade.

Best,

Joe

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