I had a look at this section of the docs, I am using the 'sa' login to eliminate user permission issues.
I put the "AddtoManager statement in a try/catch block for the purpose of getting the details of the exception
I also added the details of my newly created object as it is, just before the failing statement. I used the Immediate Window in VS (?aQ_Base)
Please have a look at the details of the exception
"System.NullReferenceException: Object reference not set to an instance of an object.
at IdeaBlade.Persistence.PersistenceManager.CheckForPkIdentityColumn(Entity pEntity)
at IdeaBlade.Persistence.Entity.AddToManager()
at Model.Q_Base.Create(PersistenceManager pPM) in D:\Clients\DPS\Windows Application\DPS_CAB\Model\Q_Base.vb:line 66"
Later, I was also unsuccessful using the standard bigint and NextId nechanism:
For the purpose of isolating the problem,I just changed the Identity columns to normal bigint and implemented the NextID mechanism
again it works great as client server but this time, when deployed on IIS, it generates a "Object reference not set to an instance of an object..." exception at the
'pManager.GenerateId(aQ_Base, Q_Base.IDxEntityColumn)' statement
Again I use sa login and run IIS on Administrator account to eliminate permission problems.
please let me know if there is any other information you need to resolve this