Knowledgebase: EC Enterprise - v6
EC Enterprise: Assertion Failed:p!=Null, error
Posted by Joel Brickell, Last modified by Joel Brickell on 10 July 2015 01:35 PM

Issue: I keep getting this error when I login to EnergyCAP - Assertion failed:p!=Null,file..\dataobjects\OCObjectPtr.cpp, line63 error

Solution:

You are getting this error because you are pointing to the wrong datasource and you need to change it within the client.ini file. So you will need to locate the client.ini file to fix this error. 

In Windows XP the file will be located in C:\Program Files\EnergyCAP Enterprise folder.

Windows Vista/7, the file will be located in the above as well as in the following: 

C:\Users\%username%\AppData\Local\EnergyCAP Enterprise folder. 

This location is the mostly like place. If you do not locate the client.in file here, than look in the same location as Windows XP.

The change that you need to make to this file is as follows:

 [Install]

 [Login]

CatalogServerURL=https://web.energycap.com/catalogservice/catalog.aspx?Key=DatasourceName

HttpProviderURL=https://web.energycap.com/sqlxml_provider2.aspx

The paths need to look exactly like the above. Once you have made the change(s), save this file and then try to re-connect to EnergyCAP again.

 

Created by Joel Brickell  02/01/2011  EnergyCAP Enterprise version 6.1 

 

(203 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: