mojoPortal Error After Server HDD Upgrade

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.
12/7/2011 11:11:31 PM
Gravatar
Total Posts 2

mojoPortal Error After Server HDD Upgrade

I had my very first mojoPortal Web site up and running, and was just starting to get things "tweaked" just the way I wanted them.  Then our system administrator added some new HDD's to our Web server to expand our storage capacity.  After that, my site stopped working and started displaying a server error message instead of my home page.

Once I figured out where to look to find the details of the error in the currentlog.config, I found the following errors:

2011-12-07 21:48:56,109 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2011-12-07 21:48:59,093 ERROR XXX.XXX.15.78 - en-US - /Default.aspx - mojoPortal.Web.mojoBasePage - XXX.XXX.15.78-en-US - /Default.aspx
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at System.Reflection.Assembly._GetResource(String resourceName, UInt64& length, StackCrawlMark& stackMark, Boolean skipSecurityCheck)
   at System.Reflection.Assembly.GetResource(String resourceName, UInt64& length, StackCrawlMark& stackMark, Boolean skipSecurityCheck)
   at System.Reflection.Assembly.GetManifestResourceStream(String name, StackCrawlMark& stackMark, Boolean skipSecurityCheck)
   at System.Reflection.Assembly.GetManifestResourceStream(Type type, String name, Boolean skipSecurityCheck, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.GetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Web.Handlers.ScriptResourceHandler.DetermineNearestAvailableCulture(Assembly assembly, String scriptResourceName, CultureInfo culture)
   at System.Web.UI.ScriptReference.DetermineCulture()
   at System.Web.UI.ScriptReference.GetUrlFromName(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip)
   at System.Web.UI.ScriptReference.GetUrl(ScriptManager scriptManager, Boolean zip)
   at AjaxControlToolkit.ToolkitScriptManager.ApplyAssembly(ScriptReference script, Boolean isComposite)
   at AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e)
   at System.Web.UI.ScriptManager.RegisterScripts()
   at System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e)
   at System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I've rechecked all of the permissions on the files and folders.  The Data folder is writable, while the rest of the site's folders are not.  There did appear to be an issue with all of the the files in the Web site directory showing as coming "from another computer" and possibly being "blocked to help protect this computer".  I was able to resolve that situation, but it still didn't help.

I've been Googling and banging my head against walls for a few days now, so I figured I'd go ahead and try asking for some assistance.  I've got mojoPortal v2.3.7.0 (.NET 3.5) installed on a Windows 2003 server using PostgreSQL.  I verified the PostgreSQL database server is running normally, and all of the database information appears to be in place (as far as I can tell).  If there's any other information that might help to figure this out, please let me know.

12/8/2011 5:27:16 AM
Gravatar
Total Posts 18439

Re: mojoPortal Error After Server HDD Upgrade

Hi,

It sounds like possible file corruption of the ajaxtoolkit dll. I would redeploy the files from the mojoPortal 2.3.7.0 package except for Web.config 

Hope that helps,

Joe

12/10/2011 4:30:51 PM
Gravatar
Total Posts 2

Re: mojoPortal Error After Server HDD Upgrade

Sorry for taking so long to reply.  Looks like that fixed it.  Everything is back to normal now.  I uploaded the ZIP file, made sure that it was "unblocked", extracted the files and moved them into the Web site's directory structure, overwriting the existing files.  Looks like it worked out just fine.  Thank you so much for your help.  I was hesitant to do that and perhaps lose some of the work I had already done, but nothing was lost and my Web site is back to looking great.

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