Welcome to Mediachase Community Sign in | Join | Help    
in Search   

problem in MetaClass,MetaFields

Last post Wed, Apr 28 2010, 10:29 AM by truthbrother. 1 replies.
Sort Posts: Previous Next
  •  Sun, Apr 25 2010, 1:50 AM 11301

    problem in MetaClass,MetaFields

    Hi,
    Eery time that I try to open some product in admin ,I get next error:

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    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:


    [NullReferenceException: Object reference not set to an instance of an object.]
    Mediachase.MetaDataPlus.Common.SqlHelper.PrepareCommand(SqlCommand command, SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters) +11
    Mediachase.MetaDataPlus.Common.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) +48
    Mediachase.MetaDataPlus.Common.SqlHelper.ExecuteReader(SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters) +35
    Mediachase.MetaDataPlus.Common.SqlHelper.ExecuteReader(MetaDataContext context, CommandType commandType, String commandText, SqlParameter[] commandParameters) +42
    Mediachase.MetaDataPlus.Configurator.MetaClass.Load(String Name) +137
    Mediachase.eCF.CommerceManager.Module.AdminProductOverview.GetMetaClassesCount() +14
    Mediachase.eCF.CommerceManager.Module.AdminProductOverview.Page_Load(Object sender, EventArgs e) +13
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    After 'refresh' it works out.
    But why do I get this error?

    Thanks,
    Ka
  •  Wed, Apr 28 2010, 10:29 AM 11303 in reply to 11301

    Re: problem in MetaClass,MetaFields

    Hi,

    Please give us the following info:

    ECF 4.x release/build number
    Full Source Code or Front End Source Code only?
    Windows Server - OS + SP level
    SQL Server - Version + SP level

    Are you on the latest code base?  Here is a link to our Release History -- http://www.mediachase.com/ecf/releasenotes.aspx

    There was a fix in our latest ECF 4.1.2 that addresses products not saving properly due to serialization not being set properly.

    As a potential workaround, please read this thread --
    http://www.mediachase.com/Community/forums/1/9824/ShowThread.aspx

    Try re-saving your product(s) to see if this resolves your issue. 

    Hope this helps.

    Mediachase Software

View as RSS news feed in XML
Site Terms | Privacy Policy | About Us | Contact Us
Running on Mediachase eCommerce Framework 4.0.
  Copyright © Mediachase, LTD. 1997-2006. All Rights Reserved

E-commerce, HelpDesk, Service Desk & Project Management Software, alternatives to Microsoft Project Server & Sharepoint Collaboration Server
project management software | microsoft project server | sharepoint collaboration server | issues management, helpdesk & service desk
Powered by Community Server, by Telligent Systems