EffiProz.Core.CF Version=1.4.3928.10602 missing

Oct 12, 2010 at 10:02 AM
Edited Oct 12, 2010 at 10:02 AM

Hello,

  I've migrated my application to v1.4 of EffiProz.CF and I receive the following error

File or asembly EffiProz.Core.CF Version=1.4.3928.10602, Culture=neutral, PublicKeyToken=null or one of its dependencies, was not found

I have also created a simple project that uses only connects and disconnects from the database and still the same error.

Here is the source code I use

 

using System;
using System.Collections.Generic;
using System.Data;
using System.Data.EffiProz;

namespace Evergreen.OrderManagement.Framework
{
  public static class DB
  {
        /// <summary>
        /// Database connection object
        /// </summary>
        private static EfzConnection conn = null;

        /// <summary>
        /// Storage path of the database
        /// </summary>
        private static string filePath = "storage.dat";

       /// <summary>
        /// Connect to database
        /// </summary>
        public static void Connect()
        {
            try
            {
                conn = new EfzConnection("Connection Type=File; Initial Catalog=" + filePath + "; User=sa; Password=;Auto Commit=true;");
                //conn.AutoCommit = true;                
                conn.Open();                
                //Log.Info(string.Format("DB conntected"));
            }
            catch (Exception ex)
            {               
//                Log.Error(ex);
            }
        }

        /// <summary>
        /// Close connection to dabase
        /// </summary>
        public static void Close()
        {
            if (IsConnected())
            {
                conn.Close();
//                Log.Info(string.Format("DB connection closed"));
            }
        }  
    
        /// <summary>
        /// Checks if the application is connected to the database
        /// </summary>
        /// <returns>true if it's connected, false otherwise</returns>
        public static bool IsConnected()
        {            
            if (conn != null && conn.State != System.Data.ConnectionState.Closed)
                return true;
            else
                return false;
        } 
  }
}

 

Coordinator
Oct 12, 2010 at 2:42 PM

Hi,

Thanks for informing about this. There was an issue with signing. Try  http://www.effiproz.com/downloads/effiproz_cf_1_4_3937_33976.zip 

-thanks

 

Oct 16, 2010 at 8:13 AM
Edited Oct 16, 2010 at 8:17 AM

Thanks for the response, but the same error still occurs

File or assembly name 'EffiProz.Core.CF, Version=1.4.3937.33976, Culture=neutral, PublicKeyToken=9C147F7358EEA142' or one of its dependencies, was not found

Renaming the file EffiProz.CF.dll into EffiProz.Core.CF.dll solved the problem. 

Coordinator
Oct 16, 2010 at 2:11 PM

Thanks. We'll fix that.