Can't use admin page since 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.
6/3/2012 12:58:40 PM
Gravatar
Total Posts 66

Can't use admin page since upgrade

I have just upgraded my site form 2.3.6.7 to the latest (2.3.8.5) and now cannot get into the site administration menu.  It's running on Windows, SQL Server 2008 R2

The upgrade seemed to work fine, I reapplied my changes to web.config, and the site is up and running, but when I try to get into the administration menu I get an error page:

 

We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.

 

Any ideas?  Other site design pages seem to be working

6/3/2012 1:14:35 PM
Gravatar
Total Posts 18439

Re: Can't use admin page since upgrade

You'll need to start with basic troubleshooting to find out the error details.

Hope that helps,

Joe

6/3/2012 1:40:53 PM
Gravatar
Total Posts 66

Re: Can't use admin page since upgrade

I can see the following error in the log:

'mojoPortal.Web.Commerce.PaymentGatewayManager' threw an exception---> System.IO.FileNotFoundException: 

The full asp.net error is:

 

   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +9718543
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +1142
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +81
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +77
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +69
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +75
   System.Threading.CompressedStack.runTryCode(Object userData) +70
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +92
   System.Xml.XmlTextReaderImpl.OpenUrl() +191
   System.Xml.XmlTextReaderImpl.Read() +207
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +114
   System.Xml.XmlDocument.Load(XmlReader reader) +114
   System.Xml.XmlDocument.Load(String filename) +128
   mojoPortal.Web.Commerce.PaymentGatewayConfiguration.GetConfig() +376
   mojoPortal.Web.Commerce.PaymentGatewayManager.Initialize() +26
   mojoPortal.Web.Commerce.PaymentGatewayManager..cctor() +40

[TypeInitializationException: The type initializer for 'mojoPortal.Web.Commerce.PaymentGatewayManager' threw an exception.]
   mojoPortal.Web.Commerce.PaymentGatewayManager.get_Providers() +0
   mojoPortal.Web.CommerceConfiguration..ctor(SiteSettings siteSettings) +334
   mojoPortal.Web.SiteUtils.GetCommerceConfig() +383
   mojoPortal.Web.AdminUI.AdminMenuPage.LoadSettings() +92
   mojoPortal.Web.AdminUI.AdminMenuPage.Page_Load(Object sender, EventArgs e) +13
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +14
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

6/3/2012 1:48:44 PM
Gravatar
Total Posts 66

Re: Can't use admin page since upgrade

I may have found the problem - I don't think I copied all of the files from the wwwroot directory of the installation source! Doh!

6/3/2012 1:50:15 PM
Gravatar
Total Posts 18439

Re: Can't use admin page since upgrade

Sounds like you are either missing the mojoPaymentGateway.config file in the root of the site or else you have a web.config/user.config setting pointing it to a custom file that is missing

Hope that helps,

Joe

6/3/2012 2:03:31 PM
Gravatar
Total Posts 66

Re: Can't use admin page since upgrade

It's up and running now - my first upgrade, so I'm surprised it went so well!

Thanks for the prompt attention

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