on 07-20-2015 5:04 AM
Hello experts
I am having an error whose behavior is not consistent. I get a pop-up stating "Object reference set to an instance of object" when trying to save data. Now the problem is that error is not appearing every time but at random. I have checked on different machines for different users and the behavior is random.
Could you please help?
Regards
Nish
Thanks Nishu.
Kindly let me know if your report usage is like this.
Your EPM input form is used online when connected to the system. The input form is saved, say locally on the machine. Now, the user makes some changes offline and saves the file back. User connects to the system and try to submit data and the error pops-up.
If the user stays online, changes data and submit, the save is successful. Is this the behavior?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok.
Here is my understanding.
You have macro in your input form to save data which is like this:
Sheets(Your Sheet).Unprotect Password:="your password"
EPM API to save data
Sheets(Your Sheet).Protect Password:="your password"
It will work when online. However, once you take file offline and connect to system to submit changes made offline, you will get that error.
Even though you have unprotect and protect in your macro, you should supply the same password under sheet options --> Protection tab.
Once EPM has the password, it will unlock the sheet and save the data. For some reason, it reads password from sheet options even though you are supplying from the macro when connecting an offline form.
Do you have a custom macro developed? The error sounds like macro error to me
BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishu,
I had also faced the same error sometimes. I could not find a solution for the same.
The only thing was to close the excel and open it again and most of the times it worked.
Would be great if someone can suggest a solution here.
Regards,
Ankur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishu
Please provide following details:
- BPC version?
- Is it an Excel EPM Add-in report or web report?
- If Excel based, your excel version.
- Machine details
Kindly take some time to put these details when posting a question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.